Anonymous

RaspberryPi/prepare: Difference between revisions

From OER in Education
no edit summary
No edit summary
No edit summary
Line 32: Line 32:


The serial connection is easy to set up, but allows text-based access only, and requires a special cable (which is cheap, but takes time to order). It just requires the installation of a driver, and downloading putty (on the laptop). You use  You can then easily connect to the Raspberry Pi. However, this is text-based only. This is sufficient e.g. to explore sensors and some programming, but it doesn't allow you to use any graphical applications, or to see the "Desktop".
The serial connection is easy to set up, but allows text-based access only, and requires a special cable (which is cheap, but takes time to order). It just requires the installation of a driver, and downloading putty (on the laptop). You use  You can then easily connect to the Raspberry Pi. However, this is text-based only. This is sufficient e.g. to explore sensors and some programming, but it doesn't allow you to use any graphical applications, or to see the "Desktop".
Note that the serial connector cable also allows you to power the Raspberry Pi from your USB port.
* However, you should only over use one source of power: Don't connect both serial power and the micro-usb power (from a mains socket)
* See [[Raspberry Pi/UART|here]] for how the serial cable needs to be connected when you power the Raspberry Pi from micro-usb power (from a mains socket)
* When you are not using micro-usb power (from a mains socket), also connect the [[Raspberry Pi/UART|red wire shown here]], and this will power the Raspberry Pi. Even if you use the serial/UART connection to power the Raspberry Pi, you can still connect the ethernet cable (see next section).t


== Ethernet (ssh / VNC) ==
== Ethernet (ssh / VNC) ==
Line 39: Line 44:
If you can, please explore “Internet Connection Sharing” on your laptop before the workshop, and enable it. You can then just connect to the Raspberry Pi using an ethernet cable (which we will provide).  
If you can, please explore “Internet Connection Sharing” on your laptop before the workshop, and enable it. You can then just connect to the Raspberry Pi using an ethernet cable (which we will provide).  


Also, install putty, as well as a VNC client.
Also, install a  serial terminal app and a VNC client.
* On Windows, install putty, as well as the (to follow) VNC client.
* On Mac OS X, install zterm, and ChickenOfTheVNC. (Note that you can use e.g. Screen within the OS X Terminal app also, but I've found zterm better.
* If you have a linux laptop, install (to follow)