I’ve done more yak shaving this past week than I’ve probably done in my entire life trying to set up the Flowmeter+Arduino+RaspberryPi+Debian(wheezy) project @flatironschool. success came after much trial and error.
So if you are following along and want to catch up, you’ll need the following:
- Raspberry Pi
- Arduino Uno
- 4 or 8 Gb Sd card
- HDMI cable
- Male-to-Male USB 2.0 A/B Cable
- Connecting wires
- Swissflow SF800 – Low Pressure Flow Meter
- The ability to SSH into your little Pi or a HDMI enabled monitor with keyboard and mouse
- wireless card
- USB hub
You can find the wiring schematic here.
Setting up your SD card with Raspbian(Wheezy) for Mac
click Download (roughly 500MB in size)
Username: pi Password: raspberry
(remember this stuff^)
It’s a good idea to take note of the locally mounted disks before inserting your sd card.
Go to your terminal
type: df -h
Now insert your card into your reader.
type: df -h
now you should be able to compare and see that you have an additional drive. Double check the attribute of the drive and make sure it coincides with what you know about your SD card.
pay attention to the /dev/disk and the numbers that follow. Mine is “disk1” Yours could be “disk2” or even “disk3”.
Once your file is done downloading, unzip it. the Unzipped Files will be in your Downloads folder. For a file called, “2013-02-09-wheezy-raspbian.img” in the Downloads folder, I would type:
type: sudo dd bs=1m if=~/Downloads/2013-02-09-wheezy-raspbian.img of=/dev/rdisk1
Input your password if you are asked to do so.
This could take awhile depending on the size and quality of your SD card. when the DD is complete, type:
type: diskutil eject /dev/disk1
You are now ready to plug in your Raspberry Pi!
Make yourself useful.