Raspberry Pi Car

CONTENTS

What to you need
Preparation
Burn the image on the sd
> Linux
Wifi Configuration
> Model A
> Model B
Log in thought Secure Shell (SSH)


WHAT DO YOU NEED

Raspberry Pi
Webcam
SD 8 GB
A car’s frame
Two motors
WiFi adapter
Eight AA batteries
Motorcontroller
Wires


DOWNLOAD

Download the iso from here and extract it.


BURN THE IMAGE ON THE SD CARD

LINUX (USING DD)

Extract the image, with:
$ unrar car.rar
Then write the image:
# dd bs=4M if=~/car.img of=/dev/sdX
Where X is the letter of your sd card! 

WIFI CONFIGURATION

MODEL A

Unfortunatly Raspberry Pi Model A doesn’t have an ethernet adapter like the B one, so we can’t connect it throught ethernet to setup our WiFi. There are two options available:

HDMI WAY

Connect your Raspberry to a monitor thought HDMI and run Wpa Gui (it’s on the desktop)
Select your WiFi Adapter (should be plugged in) and then Scan
Click on your network and insert your password, then click Save
Wpa-Gui should attempt to connect to your network automatically.
Now you can unplug HDMI and reboot your Pi.

SERIAL WAY – TTL CONNECTION 3.3V

If you have a serial adapter maybe this is the best way to go:
Connect your Raspberry Pi thought Serial Port on GPIO and connect the other side to your adapter.
Install and setup minicom on your computer using this configuration 115200 8 N 1.
Log in thought SSH (default username and password is pi:raspberry)
Run a terminal and type: wifi
It will start a simple script that will configure your wifi network.

MODEL B

Connect your Raspberry Pi thought ethernet cable.
Log in thought SSH (default username and password is pi:raspberry)
Run a terminal and type: wifi
It will start a simple script that will configure your wifi network.

LOG IN THOUGHT SECURE SHELL (SSH)

How to login through SSH:
$ ssh -l username -p X 192.168.X.X

Change username with pi and insert your ssh port (if you are using the default port there is no need to use -p), finally change the ip with your raspberry pi one. There is an example below:

$ ssh -l pi 192.168.1.163


Now you are ready to use your Car! Once you have configured Wifi, connect your Pi to the motorcontroller. We have created a video that shows how to do that:


Apache will start automatically, then open a browser and go to the ip you assigned to the Raspberry Pi! You will find a simple interface, that includes the controller in Node.Js and a real time image through motion!

Have fun!