Skip to content
Allows you to control DC motors over the air (wifi).
JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Intended for raspberry pi's.

Get Pi's IP with ifconfig. You will need it later.

To run, use sftp to transfer to Pi then cd into the directory, type npm install. When it finishes run the script by sudo node app.js (it requires sudo privileges because GPIO requires them. Feel free to mess around with the pin numbers).

When it is running, go to your desktop/mobile/any(device connected to the same wifi) and open the browser (Firefox/Chrome, IE will not work). enter the IP address of the Pi like so: The server runs on port 3000. Then you can press keys j, k, l, and i to move. To stop press o.

You can’t perform that action at this time.