GithubHelp home page GithubHelp logo

1boch1 / leap-motion-robot-arm Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.34 MB

Drive a [CNC-shield, Steppers, Arduino] based Robot Arm with Hand Gestures using Leap Motion Controller

JavaScript 100.00%
arduino cnc-controller grbl leap-motion

leap-motion-robot-arm's Introduction

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

Preview

I made a brief YouTube video to show the project:

YouTube video

Diagram

Diagramma senza titolo-3

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

leap-motion-robot-arm's People

Contributors

1boch1 avatar

Stargazers

Leonardo Crociani avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.