Tuesday, 11 March 2014

Interfacing Leap Motion with Arduino


Using the WebSocket server in leapmotion SDK we can analyse the tracking data.
Its super easy! Just connect the port to ws://127.0.0.1:6437

I have used 'ws' library from node.js. To install the 'ws' library the following command is used.
npm install ws --save

We communicate with Arduino using the 'johnny-five' library. It's installed using this 
npm install johnny-five --save

Yeah! Thanks to node.js :)




You can find the code on github: arduinoleapcar

Have FUN! :)

No comments:

Post a Comment