I recently bought a Raspberry pi model B to use in my newest robot. However I have decided to use the Nvidia Jetson instead. Though I have been learning a incredible amount with the Raspberry pi. So much so I suggest picking one up anyways as its to cheap not too. Below I have jotted a few items that I have done when I first started up the pi. A few of you may find helpful if you ever purchase a Raspberry pi.
First things first, we need to get a micro SD card formatted and then loaded with NOOBS. This helps new users load Linux. I would recommend starters use RASPBIAN Debian Wheezy. The following link will help you set up you new embedded computer. This guide recommends a 8GB SD card however if you can afford a larger one I would grab a 16GB or 32GB card.
After you have the card formatted and the Linux loaded, pop it in a SD card adapter then plug it into the slot on the bottom of the Raspberry pi.
Next, plug in a USB keyboard, mouse, and an HDMI compatible monitor or TV to the pi.
Now you are ready to apply power to the Raspberry pi. You need 1 to 1.5 amps at 5 volts. I happen to have a 2 amp android phone charger with a micro USB that works perfectly.
After pluging into power the pi should start up. Just follow the NOOBS on screen instructions to install Linux.
After it has rebooted it should start booting the operating system. It will ask you to login from here type the default commands below:
When you hit the command prompt enter the following to launch the graphical user interface (GUI):
Things to do:
The next Item I would suggest is to change the screen resolution. “note that the following steps are only needed if the raspberry pi cannot see the correct resolution of your screen” Changing the resolution via the config.txt
The next few things I did was try a webcam I had laying around on the Raspberry. A guide to do just that is here. Setting up a webcam
I also loaded a we browser that I could copy/paste code from to speed things along I choose Chromium. Chromium is an open-source version of the Goggle Chrome browser. The command to enter to install this browser is below.
sudo apt-get install chromium
Install MC core fonts for the browser enter.
sudo apt-get install ttf-mscorefonts-installer
Below is a picture of where to find Chromium once its installed.
More information about the pi:
For a wiki with far more information and guides to use the Raspberry pi I would head on over to RPi Hub.
After this guide I suggest exploring the PI and all it has to offer. Try lighting some LED’s with the general purpose I/O, Learn some Python, Attach the pi camera and experiment with opencv, Build a gameboy, and above all else enjoy your new 40 dollar embedded computer.
TURBO mode activated:
I have found a great article on overclocking the Raspberry pi without voiding the warranty. This would help considerably on a robot that uses the processor for vision and control of a robot base. Link
Quick look commands:
Making sure the package index files are up-to-date run the below commands:
sudo apt-get update
sudo apt-get upgrade
If you would like to safely shutdown your pi type the command below:
sudo shutdown -h now
If you would like to just restart your pi type the command below:
sudo shutdown -r now