View on GitHub

phil05

Sample nodejs code to pilot a simple raspberrypi robot

Phil05

This is a demo project aimed to give life to an old toy, implanting a raspberrypi inside.

front

Demo Video

Hardware

The hardware I used for this project is:

Software

The software runs on a Raspbian 8 (jessie). The code is developed in nodejs, a promising, popular and fast serverside version of javascript. It just contains two sub-project:

Installation

git clone https://github.com/dynamick/phil05
cd phil05
sudo npm install

Make sure to have motion up and running so you could see what raspicam is viewing in real-time.

Running

You could choose the manual driving mode launching:

sudo npm run manual

… or you could try the autopilot using:

sudo npm run autopilot

… or you could lauch both on two console to ibrid command your robot.