- Notifications
You must be signed in to change notification settings - Fork0
Johnny-five interface for pi2go (http://www.pi2go.co.uk/)
NotificationsYou must be signed in to change notification settings
tralves/j5-pi2go
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is ajohnny-five interface for the awesome robot kitPi2Go (not Pi2Go-Lite!). With this, you will be able access most of the sensors, motors and leds in the Pi2Go.
I went with all the trouble of figuring out the right pins and johnny-five modules (even had toimplement one) to make your Pi2Go a nodebot ready to go!
This lib is becoming more independent and ready to drop on your node.js project. The following features are in the testing phase:
- Store the state of the robot. Ex:
a = pi2go.centerObstacle; // a = false;
- Improved API;
- Listeners. Ex:
pi2go.on('center obstacle', function(val){ // new obstacle!})
Video demos:
- RGB Leds (front, back, left, right);
- Obstacle sensors (right, left, center);
- Line sensors (left, right);
- Button;
- Light sensors (front/right, front/left, back/right, back/left);
- Motors!
- Front proximity sensor!
git clone https://github.com/tralves/j5-pi2go.gitnpm installsudo node index.js
git clone https://github.com/tralves/j5-pi2go.gitcd j5-pi2go-uinpm installnpm run dev
Releases
No releases published
Packages0
No packages published