Skip to content

Leo7676/raspi-car

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the software portion of my project to make a browser controlled remote car.
Read this for more details: http://tech.shantanugoel.com/2014/08/03/browser-controlled-raspberry-pi-camera-car.html

HW Used:
Dagu Chassis (Includes motors/tires and the plates)
Dagu Pan/Tilt kit (Servos and brackets to mount the camera)
Dagu Mini Driver (Arduino clone + Motor driver)
Raspberry Pi
A netgear ethernet to wifi adapter (Since I didn't have the raspi cam so had to save a USB port and use this instead of USB wifi adapter)
A cheap old USB webcam
6 AA Cells
A sony portable charger to power the raspberry pi and wifi adapter
Wires/Screws/Spacers/Tools (lots of them)

Features:
- Control the car from any browser
- Can control motion as well as camera pan/tilt from browser using virtual joysticks (Requires multitouch to do pan/tilt as second joystick is needed for this)
- Streams back video from car camera to the browser
- Can have multiple connections to the car (not recommended for controlling)
- Uses websockets for control and response is almost instantaneous like regular toy cars.

How to:
- Setup the HW and SW (detailed in the blog)
- Start mjpg-streamer using mjpg-streamer.sh
- Start controller.py (python controller.py)
- Open browser to http://rpi:8090 (or http://<RaspberryPiIPAddress>:8090) from any device
- Touch anywhere to start controlling the car. Left half of screen corresponds to car movement joystick. Right half of screen corresponds to camera pan/tilt joystick. You can use either one of them or both simultaneously.

About

Raspberry Pi + Dagu Mini Driver based smartphone/browser remote controlled car

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 90.7%
  • HTML 3.2%
  • JavaScript 1.6%
  • Python 1.2%
  • Makefile 0.9%
  • Shell 0.9%
  • Other 1.5%