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.
- Like
- Digg
- Del
- Tumblr
- VKontakte
- Flattr
- Buffer
- Love This
- Odnoklassniki
- Meneame
- Blogger
- Amazon
- Yahoo Mail
- Gmail
- AOL
- Newsvine
- HackerNews
- Evernote
- MySpace
- Mail.ru
- Viadeo
- Line
- Comments
- Yummly
- SMS
- Viber
- Telegram
- Subscribe
- Skype
- Facebook Messenger
- Kakao
- LiveJournal
- Yammer
- Edgar
- Fintel
- Mix
- Instapaper
- Copy Link
Steps
Advertisement
Step #1:
- 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
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