https://github.com/1boch1/leap-motion-robot-arm
Drive a [CNC-shield, steppers, Arduino] based robot arm with hand gestures using Leap Motion controller
https://github.com/1boch1/leap-motion-robot-arm
arduino cnc-controller grbl leap-motion
Last synced: 6 months ago
JSON representation
Drive a [CNC-shield, steppers, Arduino] based robot arm with hand gestures using Leap Motion controller
- Host: GitHub
- URL: https://github.com/1boch1/leap-motion-robot-arm
- Owner: 1boch1
- License: mit
- Created: 2024-03-27T22:11:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-24T11:52:44.000Z (10 months ago)
- Last Synced: 2024-07-24T13:37:41.424Z (10 months ago)
- Topics: arduino, cnc-controller, grbl, leap-motion
- Language: JavaScript
- Homepage:
- Size: 1.31 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Robot arm controller
I made this code to control a 3D printed robot arm I built using:
- Arduino
- Nema 17 - stepper motors
- CNC-Shield
- A4988 stepper motor driver
- Leap Motion Controller v1 (first version)## Libraries
- [leapjs](https://github.com/leapmotion/leapjs)
- [serialport](https://www.npmjs.com/package/serialport)## Preview
I made a brief YouTube video to show the project:
[](https://www.youtube.com/watch?v=iXWfNFAuq_E)
## Diagram

## How to use
- Install the Leap Motion software (use v2.3.1 you find under "Legacy Downloads" on the Leap Motion offcial website)
- Open the software and check the "Allow Web Apps" checkbox to turn on the WebSocket server that provides tracking data to web applications
- Use leapjs to connect to Leap Motion with JavaScript
- Setup your Arduino with GRBL
- Connect to Arduino using Serial Communication (serialport.js library)
- Now you can send GCODE to Arduino based on the data you receive from the Leap Motion⚠ IF YOU ARE USING WINDOWS 10:
There is a bug in the Leap Motion software on Windows 10, here is how I fixed it:
https://forums.leapmotion.com/t/resolved-windows-10-fall-creators-update-bugfix/6585
## Project setup
- #### Install the dependencies running this command
### `npm install`
- #### Start the app running this command### `npm start`