Skip to content
POPULAR SEARCHES:
  • Arduino
  • CNC
  • Raspberry Pi
  • Woodworking
  • 3D Printing
  • IOT
  • Robot
  • Maker Faire

Make: Logo

Subscribe
  • Explore
    • Make: Magazine
      • The premier publication of maker projects, skill-building tutorials, in-depth reviews, and inspirational stories, accessible by all ages and skill ranges.
    • Maker Faire
      • A celebration of the Maker Movement, a family-friendly showcase of invention and creativity that gathers together tech enthusiasts, crafters, educators across the globe.
    • Maker Shed
      • A smart collection of books, magazines, electronics kits, robots, microcontrollers, tools, supplies, and more curated by us, the people behind Make: and the Maker Faire.
    • Make: Books
      • Maker-written books designed to inform and delight! Topics such as microcontrollers including Arduino and Raspberry Pi, Drones and 3D Printing, and more.
    • Maker Camp
      • A free program that lights children’s creative fires and allows them to explore projects in areas such as arts & crafts, science & engineering, design, and technology.
    • Make: Community
      • Membership connects and supports the people and projects that shape our future and supports the learning initiatives for the next generation of makers.
    • Make: Projects
      • A project collaboration and documentation platform.
  • Learn
    • Books & Kits

      Get hands-on with kits, books, and more from the Maker Shed

    • Transformational Learning

      Make: Learning Labs for young adults

    • Young Maker Projects

      Find projects for young makers

    • Watch and Learn

      Skill builder, project tutorials, and more

  • Experience
    • Magazine

      Subscribers' Digital Portal

    • Membership

      Access Make: Community

    • Faires

      Find a Maker Faire near you

    • Makerspaces

      Find a Makerspace near you

  • Participate
    • Organize

      Start a local Maker Faire

    • Write

      Share a book or article proposal

    • Engage

      Become a Make: Community member

    • Teach

      Host a class or workshop

    • Share

      Post a project

  • Shop
    • Kits, Books, & More

      Maker Shed, the official store of Make:

    • Make: Magazine

      Subscribe to the premier DIY magazine today

    • Make: Membership

      Community access, print, and digital Magazine, and more

  • Awards
    • 2022 Project Collection

      Browse and Vote on Your Favorite Projects

    • About

      Learn More About the Amazing Maker Awards

    • Promote

      Graphics and More to Help Spread the Word

Log In
avatar Join Now
avatar
Log Out
Subscribe
Get Make: Magazine Issue 79
Subscribe Today to Make: Magazine
  • All Stories
  • Magazine Projects
  • Board Guide
  • Maker Spotlights

Projects from Make: Magazine

Mimicking Robotic Arm

This project is for two robotic arms. One has potentiometers on the joints, and the other has servos. When you manipulate the potentiometer arm, the servo arm mimicks it using the arduino.

  • By Andrew Kaye
  • Time Required: 1 - 2 hrs
  • Print this Project
Share via
  • Facebook
  • Like
  • Twitter
  • Pinterest
  • LinkedIn
  • Digg
  • Del
  • Tumblr
  • VKontakte
  • Print
  • Email
  • Flattr
  • Reddit
  • Buffer
  • Love This
  • Weibo
  • Pocket
  • Xing
  • Odnoklassniki
  • WhatsApp
  • Meneame
  • Blogger
  • Amazon
  • Yahoo Mail
  • Gmail
  • AOL
  • Newsvine
  • HackerNews
  • Evernote
  • MySpace
  • Mail.ru
  • Viadeo
  • Line
  • Flipboard
  • Comments
  • Yummly
  • SMS
  • Viber
  • Telegram
  • Subscribe
  • Skype
  • Facebook Messenger
  • Kakao
  • LiveJournal
  • Yammer
  • Edgar
  • Fintel
  • Mix
  • Instapaper
  • Copy Link
Mimicking Robotic Arm
December 18, 2012, 11:06 pm PST
  • Parts
  • Tools

Parts

  • Wire (1)
  • Jumper wires (1)
  • 12'x12'x1/8' Acrylic (2)
  • Screws (1) Various sizes and types
  • Very thin plastic sheet (1)
  • Servo (generic) (4) 2 large and 2 small
  • Potentiometer (4)
  • Breadboard kit (1)
  • 9 volt battery and clip (1)
  • Batteries, AA (4)
  • Battery holder (1) For 4 AA batteries
  • Arduino Uno (1)

Tools

  • Acrylic cement
  • Digital Calipers
  • Hot Glue gun & hot glue
  • Laser cutter or jigsaw, router, or coping saw
  • Screwdrivers
  • Soldering iron

Advertisement

Hot Topics

  • Learn Electronics with Make: Kits and Books
  • Fix Our Planet

Advertisement

Steps

  • Project Steps View All
  • 1. Gathering parts and potentiometers
  • 2. Designing and cutting the arms.
  • 3. Assembly
  • 4. Wiring
  • 5. The code

Advertisement

Step #1:

NextPrev
Mimicking Robotic ArmMimicking Robotic ArmMimicking Robotic ArmMimicking Robotic Arm
  • Gathering parts and potentiometers
  • Find four matching potentiometers. I recommend ones that have a large flat surface so you can easily glue them to the arm pieces.
  • Most potentiometers should output values of 0 to 1023. If you find your arms to be not very responsive to your movements check what the potentiometers values are using the serial monitor. I found that the range of the potentiometers I used was from 21 to 589 so I had to map my values differently.
  • Wire your potentiometers to the breadboard. I had all the positive and negative leads going to one power rails. The signal wires should go to the analog inputs. Write down or remember which is which if you want to save time when doing the code.
  • If you find the servo moves the wrong way, try reversing the polarity of the potentiometer

Step #2:

NextPrev
Mimicking Robotic ArmMimicking Robotic ArmMimicking Robotic Arm
  • Designing and cutting the arms.
  • Using calipers, measure out where the mounting holes should be for your servos. I also rastered in circles for potentiometer placement and a line for gluing on the bracket for the claw.
  • The bracket for the claw is precisely positioned so the edges of the claw line up due to the thickness of the servo mount or the potentiometer mount
  • I also put in cut outs to reduce weight. I would be very considerate of the weight of the arm because I found that the servo that lifts the large arm segment barely had enough torque to lift the arm
  • After the arms are designed cut them using whatever methods are avaliable to you. I have access to a laser cutter so that is what I used.

Step #3:

NextPrev
Mimicking Robotic ArmMimicking Robotic ArmMimicking Robotic ArmMimicking Robotic Arm
  • Assembly
  • Now that you have all your pieces, it is time to assemble the arms. Keep track of which pieces are for which arm and assemble the arms like the pictures. I recommend doing any gluing first and then mounting servos and potentiometers.
  • I used a combination of hot glue and acrylic cement to assemble my arms. For lower joint that need a lot of strength I would use the acrylic cement.
  • When mounting the potentiometers keep in mind their orientation. They need to be "facing" the same side or the servos will move opposite to your movements of the potentiometer arms
  • After I had the claw halves glued I cut out a piece of the very thin plastic to make the bottom. I found it easier to glue one end and cut to fit rather than measuring the curve for a dimension.

Step #4:

NextPrev
Mimicking Robotic ArmMimicking Robotic ArmMimicking Robotic ArmMimicking Robotic Arm
  • Wiring
  • The wiring for this is not that complicated. Most of it is just distributing power and running signal wire
  • The positive and negative of the servos should go the power rail with the external battery pack
  • The positive and negative from the potentiometers should go to the other power rail on the breadboard
  • The +5 and Ground pins from the arduino should go to the power rail of the breadboard with the potentiometers
  • The signal wire from the servos should go to their corresponding digital output pin on the arduino (needs to be a pwm output)
  • The signal from the potentiometers should go to their corresponding analog input
  • I jumpered the ground of the power rail together to eliminate noise. I'm not sure if this is necessary for it to work, but it doesn't hurt

Step #5:

NextPrev
Mimicking Robotic Arm
  • The code
  • The code that I used to control the arms is very similar to the "servo knob" example that comes with all installations of arduino
  • Variables are made for each servo and potentiometer
  • The code reads the value of the potentiometer, maps it to the range of the servo and writes it to the servo in a loop.
  • See the attachments to this project for a pdf of the code where you can copy and paste it.

Conclusion

Other parts about this project that I would've liked to include but didn't have time to are adding code to make the servo arm move smoothly without twitching and using servos that have the ability to move a full rotation

Andrew Kaye

Andrew Kaye

When you buy through links on our site, we may earn an affiliate commission.

Subscribe & Save

  • Get dozens of projects in every issue covering DIY electronics, 3D printing, craft, and more
  • Learn tips and skill-building tutorials from experts in the maker community
  • Save over 40% off the annual cover price for a full year (4 issues) of Make:
SUBSCRIBE TO MAKE: MAGAZINE
Make: Community brand logo Publishers of Make:Magazine Producers of Maker Faire Logo
  • About us
  • Our team
  • Advertise with us
  • Help Center
  • Contact us
  • Support Make:
  • Find a Maker Faire
  • Manage Magazine Subscription

Make:
Maker Faire:
Privacy Policy
Terms of Use
©2022 Make Community LLC. All rights reserved
Special Pinterest-only offer!
One year of Make: Magazine for just $19.99
Cookie Settings
We use cookies to continuously improve our websites for you and optimize its design and customization.
We'll assume you're ok with this, but you can opt-out if you wish.

Our websites use cookies to improve your browsing experience. Some of these are essential for the basic functionalities of our websites. In addition, we use third-party cookies to help us analyze and understand usage. These will be stored in your browser only with your consent and you have the option to opt-out. Your choice here will be recorded for all Make.co Websites.

Allow Non-Necessary Cookies
Send this to a friend
FEEDBACK