Good news - the parts are here!!!! (well most of them... Amazon went out of stock on my mic and couldn't deliver it, so will have to make a trip out to best buy tonight to pick up the microphone).
SO here goes part 1 of this tutorial - Setting up the pi without an externally connected display, keyboard and mouse.
Parts needed:
1. Raspberry pi
2. SD card with your OS of choice (several guidelines on how to mount an OS in case you don't buy a card with an OS on it already)
3. USB - TTL breakout cable.
SO here goes part 1 of this tutorial - Setting up the pi without an externally connected display, keyboard and mouse.
Parts needed:
1. Raspberry pi
2. SD card with your OS of choice (several guidelines on how to mount an OS in case you don't buy a card with an OS on it already)
3. USB - TTL breakout cable.
- Download the drivers for the USB breakout cable - http://www.adafruit.com/products/954
Follow the page to get to the downloads, and then download the driver for your OS.
To make life easier, IF you're on OS X Mavericks, use this link - http://sourceforge.net/projects/osx-pl2303/ - Insert your SD card in to the pi (duh)
- Now, without plugging in the USB cable, open up terminal (yes, I'm a mac user) and type in the following and note the output:
ls /dev/tty.*
Now, plug in the USB cable and type it again and note the change in the output. That new "device" you see is your USB cable. If you'd like to learn more about /dev/tty, please refer to this link - http://stackoverflow.com/questions/8514735/what-is-special-about-dev-tty - Connect to the cable at 115200 baud using "screen". Here's the command for that
screen -L /dev/tty.NoZAP-PL2303-00001014 115200
Please note, the /dev/tty.<something goes here> 115200 varies for every machine, that is jus the example from my machine and will NOT work for you. The -L flag starts logging to the local directory. - Time to connect the pi. PLEASE DONT MESS THIS UP. YOU WILL FRY YOUR BOARD IF YOU ARENT CAREFUL NOW. Sorry for the all caps, but wanted to make sure you read all that. Refer to http://forums.adafruit.com/viewtopic.php?f=50&t=32019 for the wiring of the TTL cable. So here goes. First, the pin connections:
Cable pin-out is as follows:
Red = +5V
Black = gnd
White = RX
Green = TX
To connect to Raspberry Pi:
Red to pin 2 (+5V)
Black to pin 6 (GND)
White to pin 8 (GPIO14, TXD)
Green to pin 10 (GPIO15, RXD)
Now, the pin diagram - http://www.hobbytronics.co.uk/raspberry-pi-gpio-pinout
If you notice, there is a "P1" drawn on your board to indicate the first pin. Take it from there. Also, connect Rx, Tx and Ground first :) -
As soon as you plugin the Red cable, you should start seeing output on your screen. If you've followed along so far, it should've worked till here. Here's what it looks like now:
- Eventually, you should be prompted for a recovery login and password (if you are using NOOBS). Dont do anything. See that flashing green light on your pi? Its starting its installation magic now. Sit back and enjoy! (takes about ~30 minutes).
If you're not using Noobs and just installed Raspbian on the SD card, then just login with pi/raspberry and you're good to go!
Part II coming soon :)
No comments:
Post a Comment