Skip to content

ajfisher/ajnodebot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ajnodebot

4WD RPI + Arduino based nodebot.

This is the robot used for my MelbJS presentation on nodebots and my WDC13 presentation on using the device API.

You can see a short vid of the robot working

Acknowledgements

This has really been built upon the excellent work produced by (Rick Waldron - Johny-Five)[https://github.com/rwldrn/johnny-five], (Julian Gaultier - Firmata for node and arduino)[https://github.com/jgautier/firmata] and (Chris Williams - Node serialport)[https://github.com/voodootikigod/node-serialport]. Without these libraries I'd be still building robots in C and Python.

Install

Clone the repository, cd into it and then run npm install to get the dependencies.

Running

Two versions are available the full web control version and a more basic CLI version that allows you to command the robot over command line from a repl. Use:

robot.<tab>

to see the various options.

To run the command line version:

node app-cli.js

Mods required

Make sure you use advanced firmata on the arduino so you get pulseIn as an option.

Also make a mod to the ping library at line 47 to set maxListeners much higher.

About

4WD RPI + Arduino based node bot .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published