Getting started with Raspberry Pi

From ICO wiki
Revision as of 19:14, 5 September 2015 by Lvosandi (talk | contribs) (Created page with "Raspberry Pi is a credit-card sized single-board computer which can be used for variety of purposes. Before you continue make sure you're comfortable with basic command-line u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Raspberry Pi is a credit-card sized single-board computer which can be used for variety of purposes. Before you continue make sure you're comfortable with basic command-line usage, if that's not the case take a look at CodeAcademy track for learning command line.

Preparing SD card

Before you continue make sure you have backed up any important data on the SD-card

Download and uncompress Raspbian:

wget https://downloads.raspberrypi.org/raspbian/images/raspbian-2015-05-07/2015-05-05-raspbian-wheezy.zip
unzip 2015-05-05-raspbian-wheezy.zip

For Linux there is no need to fetch extra tools to write the image to a SD card, simply use dd:

 sudo dd if=ubuntu-14.04.3-desktop-amd64.iso of=/dev/mmcblk0

If you're running on Windows, you can use Win32 Disk Imager to write the image to the SD card.


Powering up

Use USB-UART bridge to power up Raspberry Pi and gain access to the command-line.


Accessing command-line

For Linux there are variety of programs for connecting to serial port:

screen /dev/ttyUSB0 115200
picocom /dev/ttyUSB0 -b 115200
minicom -b 115200 -o -D /dev/ttyUSB0

For Windows you need to install driver for your USB-UART bridge first [1]. Then you can use built-in HyperTerminal, PuTTY or KiTTY for connecting to the virtual serial port.