Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

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!

Coming soon!

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:

Leds demoMove demo

What's working so far?

  • 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!

Installation

git clone https://github.com/tralves/j5-pi2go.gitnpm installsudo node index.js

Web UI

git clone https://github.com/tralves/j5-pi2go.gitcd j5-pi2go-uinpm installnpm run dev

About

Johnny-five interface for pi2go (http://www.pi2go.co.uk/)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp