This is Raspberry Pi Car! Basically it's a remote controlled (over Wi-Fi) toy car with a Raspberry Pi on-board. There is a webcam on the car too, that permits to stream everything in real-time from the car to the computer.
Basically it's based on Node.js and Javascript that allow the user to control the car direction directly fron keyboard. (Simply by pressing W S A D on the computer).
Raspberry Pi model is V 2.0 and the OS is Raspbian (an old version specifically modified for this purpose),everything works in real-time over Wi-Fi and with a little delay over the Internet.(The car can access the internet through a forwarded router or 3G too).
If you are in New York and the car is in Italy you can control it and make it move around.
Here you are our official tutorial, have fun!

CONTENTS

For more information watch this video

NECESSARY

  • Raspberry Pi 1 Model A or B (There have been reported incompatibility by the software with the other models and versions)
  • Webcam
  • SD 8 GB
  • Two motors
  • A car's frame
  • WiFi adapter
  • Motor-controller
  • Eight AA batteries
  • A lot of Wires

PREPARATION

Download the iso from here and extract it.

BURN THE IMAGE ON THE SD

LINUX (USING DD)
Extract the image with
$ unrar e car.rar
Umount the device
$ umount /dev/sdX
Then write the image
# dd bs=4M if=~/car.img of=/dev/sdX
Where X is the letter of your device.
Finally type
$ sudo sync
$ sync
OSX
For Osx I refer you here.
WINDOWS
For Windows, I refer you here. I reccomend you to use Win32DiskImager.

WIFI CONFIGURATION

MODEL A

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

USE HDMI

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

USE SERIAL - TTL CONNECTION 3.3V

If you have a serial adapter maybe this is the best way to go.

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

MODEL B

The procedure is like the Serial one

  1. Connect your Raspberry Pi thought ethernet cable.
  2. Log in thought SSH (default username and password is pi:raspberry)
  3. Run a terminal and type
    $ wifi
  4. 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 motor-controller. 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!

Raspberry Pi Cars

Our Raspberry Pi Car

image

Your Raspberry Pi Cars

image image image image image

Send us a pic of your Pi car and we will post it here in the article!