Skip to content

barackd222/s2v-iia-nodejs-sphero-apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Speed to Value Workshop - Sphero In Action

  1. Create a folder where you want to download the NPM nodules, for example:

mkdir robot && cd robot

  1. Download the required modules:

npm install sphero serialport

  1. Connect your Bluetooth to your Sphero

  2. Run app.js as root, e.g. sudo node app.js

  3. From POSTMAN, SOAPUI, etc. send a POST request to port 3001 to the following APIs:

Supported shapes and colors:

  • Colors: blue, pink, yellow, green, red, surprise (this is a random one every time)
  • Shapes: Square, Triangle, Line (it goes north and comes back)

That's it! Enjoying seeing your Sphero in Action via NodeJS...

Any question or comment drop an email to: barack.dorman@gmail.com

Thanks for watching...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published