P. 1
Adafruits Raspberry Pi Lesson 5 Using a Console Cable

Adafruits Raspberry Pi Lesson 5 Using a Console Cable

|Views: 28|Likes:
Published by Samir Tabib

More info:

Published by: Samir Tabib on Mar 18, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/30/2013

pdf

text

original

Adafruit's Raspberry Pi Lesson 5.

Using a Console Cable
Created by Simon Monk

com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable Page 2 of 14 .Guide Contents Guide Contents Overview You Will Need Part 2 3 4 4 Software Installation (Mac) Software Installation (Windows) Connect the Lead Test & Configure 5 7 10 12 © Adafruit Industries http://learn.adafruit.

© Adafruit Industries http://learn. The Raspberry Pi uses its built-in serial port to allow devices to connect to its console and issue commands just as if you were logged in. In the next lesson. we will look at another way of doing much the same thing but over a local network using something called SSH.Overview In this lesson you will learn how to remote control your Raspberry Pi with a console cable. ZOC is available for Mac and Windows and allows you to communicate through a serial port from your Mac or PC to another computer – in this case the Raspberry Pi.com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable Page 3 of 14 . You will need to install terminal emulation software (ZOC) and also USB drivers for the Console Lead.adafruit. The great advantage of connecting this way is that it can even supply the power for your Pi and you do not need keyboard. mouse or display attached to the Pi to log into it.

adafruit.com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable Page 4 of 14 .You Will Need To follow this lesson. you will need: Part Raspberry Pi Adafruit Console Lead https://www.com/products/954 © Adafruit Industries http://learn.adafruit.

co/osx-installer-to-pl2303-serial-usb-on-osxlio (http://adafru.net/projects/osx-pl2303.it/aTT) Now fetch the installer package for the USB drivers from here: http://sourceforge.adafruit.com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable Page 5 of 14 .it/aWR) Both downloads are standard Mac installers.com/zoc/index.emtec. (http://adafru. © Adafruit Industries http://learn.it/aWQ) If using Lion. try this driver here http://changux. Accept all defaults when prompted.Software Installation (Mac) Install ZOC for Mac. you can download it from here: http://www.html (http://adafru.

com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable Page 6 of 14 .© Adafruit Industries http://learn.adafruit.

the ZOC installer will ask you a number of questions.it/aTT) The download is an installer program that you can save to the Desktop or some other convenient location and run to install ZOC.zip”.tw/US/ShowProduct. During installation.adafruit.7. Unzip this onto the desktop and within the folder run the installer called “PL2303_Prolific_DriverInstaller_v1.aspx? p_id=225&pcid=41 (http://adafru. including the question below.com. Install PL2303 Drivers from here: http://www.emtec.com/zoc/index.0. © Adafruit Industries http://learn.com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable Page 7 of 14 .exe”.it/aTV) This will save a zip file called “PL2303_Prolific_DriverInstaller_v1_7_0.prolific.Software Installation (Windows) Download and install ZOC from here: http://www. Accept all the defaults.html (http://adafru.

© Adafruit Industries http://learn. If you allow the Wizard to search the Internet and install it should work.adafruit.com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable Page 8 of 14 . it will still launch the “Found New Hardware” wizard.The driver is installed in such a way that when you later plug in the USB console lead.

you should get this message: © Adafruit Industries http://learn.When it has finished installing the driver.com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable Page 9 of 14 .adafruit.

DO NOT attach the Pi's USB power adapter.it/aTW) © Adafruit Industries http://learn. See Lesson 4. So. Attach the leads as shown below: The connections are to the outside pin connections of the GPIO header. for more information about the header: http://learn. the serial lead is going to power the Raspberry Pi. If you would rather power the Pi from your USB power adapter then leave the Red lead from the Serial lead un attached.adafruit.Connect the Lead The Console lead has four female connections that can be plugged directly onto the GPIO header of the Raspberry Pi.com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable Page 10 of 14 . the USB power adaptor or the Console Lead BUT NOT BOTH.adafruit. For this experiment.com/adafruits-raspberry-pi-lesson-4-gpiosetup/the-gpio-connector (http://adafru. The important thing here is to only power it from one source.

adafruit. Check the diagram below if you are not sure about the connections. so rotate the diagram by 180 degrees to compare it with the photograph. white lead to TXD.com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable Page 11 of 14 . © Adafruit Industries http://learn. Now plug in the USB lead and you will see the Pi's power LED should light. But note that the connect is being viewed upside down.The The The The red lead should be connected to 5V. green lead to RXD. black lead to GND.

adafruit. Also change both RTS and DTR to be off. The instructions below are for Mac. On a Mac. on Windows it may just be called “COM7” but it will probably be the only serial port in the list.com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable Page 12 of 14 . When its all changed. this will have a name something like “/dev/cu. Change the baud rate to 115200 and click the scan button to find the serial port for the USB Console adapter. select the option 'Edit Session Profile'. but its just the same as using ZOC on Windows.Test & Configure Start ZOC. except the icons look a bit different. it should look like this: © Adafruit Industries http://learn. When ZOC starts it will open the quick connection profile below: Cancel this and from the Options menu.PL2303-00401124”. Click on 'Devices' on the left and then 'Serial/Direct'.

com/adafruits-raspberry-pi-lesson-5-using-aconsole-cable © Adafruit Industries Page 13 of 14 .Now click “Save” and then click the Quick Connection icon and select “Serial/Direct” from the connection type. it will look more like this: http://learn. For a new installation of Occidentalis or Wheezy. If you are using Windows.adafruit. the default username is “pi” and the default password is “raspberry”. Press Connect and the communication should start with a prompt from the Raspberry Pi for you to log on.

Thats it! You are connected and can use the command line to navigate around your Pi. © Adafruit Industries Last Updated: 2013-01-25 03:00:21 PM EST Page 14 of 14 . In the next session we will look at using SSH as another means of connecting to your Pi over your local network.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->