NodeJS Robot

A robot built with a Raspberry PI, Arduino, and NodeJS.

Socket.io is used to send input from a plugged in Xbox controller to the NodeJS server running on the Raspberry PI. The Johnny-Five library is then used to send the converted input to the Arduino motor controller to control the wheels.

A small Python script (started and stopped by NodeJS) is used to take input from the webcam and write it to a folder. To avoid having the front-end load a partially written image, a symlink is created that always points to the last completely written image. The front-end then only has to concern itself with displaying the symlink.

Gallery
Image 0
Image 1

Links