element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Robotics
  • Technologies
  • More
Robotics
Blog LA Hack Finalists Armateur: Robotic Arm + Leap Motion + Bluetooth
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Robotics to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 1 May 2014 8:27 PM Date Created
  • Views 401 views
  • Likes 0 likes
  • Comments 0 comments
  • python
  • robots
  • hackathon
  • code
  • arduino
Related
Recommended

LA Hack Finalists Armateur: Robotic Arm + Leap Motion + Bluetooth

Former Member
Former Member
1 May 2014

LA Hack Finalists Armateur: Robotic Arm + Leap Motion + Bluetooth

 

In case you haven’t noticed, we’re big fans of hackathons at Leap Motion, and when it comes to the left coast, there’s no hackathon bigger than LA Hacks. Recently, we caught up with a couple of teams from last month’s epic code battle, including finalists Team Armateur.

When Gagik Movsisyan and his team stepped into UCLA’s Pauley Pavilion, they weren’t sure what they were going to build. Taking their inspiration from a broken robotic arm, they decided to bring it to life with Leap Motion, Bluetooth, and an Arduino board.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Working with technology that only existed in science fiction just a decade ago is pretty amazing. We had both electrical engineers and software engineers on our team so developing a hardware hack was a good way of utilizing our various skills.

We were all really excited when we heard our team name called into the finals, although we were too sleepy to celebrate at that moment. Overall, the hackathon was a great experience and I think we surprised even ourselves with what we were able to do in only 36 hours.


image

Mapping Hand Motions to Robotic Joints

The robotic arm we used had five different motors, which controlled the different joints of the arm. We used the velocity of the palm, which wasgiven by the API, to determine which direction the hand was moving. Palm velocity is a three-dimensional vector with X, Y, and Z components.

Our program interpreted a positive Z coordinate as vertical upward motion and a negative Z as vertical downward motion. The program would then send a string (with the LightBlue library) which consisted of two values: the number of the motor to activate, and the speed. The same was done for x and y which controlled left, right, forward, and backward movements.

We also had to take into account the pitch of the user’s wrist to determine the up and down motion of the robot’s wrist. The microcontroller on the robot received the string and translated the data into commands that moved the robot.

Narrowing Down the Lag

Part of the lag you see in the video was due to the amount of code being run repeatedly. During trials, the robot was much slower because we had a lot of code from the API that we weren’t using. After removing unnecessary code, the robot was much more responsive.

The distance between the Leap Motion device and the robot also affected the responsiveness, because we used Bluetooth. This can be improved if a strong wireless connection is used instead. More powerful motors, an upgraded Bluetooth receiver, and more powerful battery would also improve the responsiveness.

Armateur’s Python code is open-source and can be found on GitHub. Check it out!

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube