Giter Club home page Giter Club logo

raspi-car's Introduction

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.

raspi-car's People

Contributors

shantanugoel avatar

Stargazers

 avatar  avatar SCNBT90 avatar Nick Read avatar  avatar  avatar Huskynarr avatar sej avatar SundaraPandyan avatar  avatar  avatar J. avatar

Watchers

 avatar James Cloos avatar Leo avatar J. avatar Huskynarr avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.