https://github.com/bryanlimy/leapmotion2arduino
Simple connection between Leap Motion Controller with Arduino
https://github.com/bryanlimy/leapmotion2arduino
arduino cylon gesture leap-motion leap-motion-controller
Last synced: about 1 month ago
JSON representation
Simple connection between Leap Motion Controller with Arduino
- Host: GitHub
- URL: https://github.com/bryanlimy/leapmotion2arduino
- Owner: bryanlimy
- License: mit
- Created: 2016-10-22T16:50:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-14T16:59:59.000Z (over 9 years ago)
- Last Synced: 2025-02-09T23:19:26.801Z (over 1 year ago)
- Topics: arduino, cylon, gesture, leap-motion, leap-motion-controller
- Language: JavaScript
- Size: 620 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Leap Motion to Arduino communication
### Simple communication between the Leap Motion Controller and Arduino via Cylon
4 LEDs represents 4 directions, forward, backward, left and right. LEDs light up depends on your palm gesture.
[](https://www.youtube.com/watch?v=vXvvcjSzRsA "Leap Motion & Arduino gesture")
### Required Hardware
- [Leap Motion Controller](https://www.leapmotion.com/)
- [Arduino](https://www.arduino.cc/)
### Required Packages
- [Node](https://nodejs.org/en/):
`brew install npm`
- [Cylon.js](https://cylonjs.com/):
`npm install cylon cylon-leapmotion cylon-firmata`
- [Gort](http://gort.io/):
`brew install hybridgroup/tools/gort`
### How-to Run
- Plug-in the Leap Motion Controller and Arduino with LED at pin 3
- (Optional) Scan Arduino port path, execute `gort scan serial`
- (Optional) Upload Firmata to Arduino, execute `gort arduino upload firmata `
- In terminal, execute `node leap2arduino.js`