HOW TO - Servo as input device

Matt Mets made this neat video about using a servo motor as an input device for keyframing a robot animation. He writes:

By reading the voltage from the center pin of the the servo's potentiometer, it can be used as an input as well as an output device. Basically, you get a bunch of extra positional sensors 'for free'. Some things that I could see this being useful for are:

1. Collision detection on unpowered arms (or even poor man's torque detection by measuring the difference between what you requested and the actual position, assuming the servo doesn't break).

2. Physical keyframing; you move the arms of the thing you are animating manually, then press a button to record that position, repeat a number of times and then have the computer play it back (see video)

3. Haptic feedback, if you can control the servo fast enough (doubtful, but worth a try).

Servo as input device for programing robot movements - Link.


Recent Entries

Comments

Oldest comments listed first.

Posted by: John Ballinger on February 11, 2008 at 8:20 PM

Awesome. That is actually cool. Thanks for sharing. I am now starting to think what I could make with this? Anyway thanks for the video.
John.


Posted by: Russ Nelson on February 11, 2008 at 10:37 PM

Don't you want to measure the error output from the comparator in the servo, instead? That tells you how hard the servo is working. So if you push on it, then the software can move it in the direction of the push. Plus, you're not reverse-driving the servomotor, which can be hard on the gearing.


Posted by: broos on February 12, 2008 at 12:16 AM

I can see some potential using this for a cnc machine.
You could try to make some sort of an on the budget touch probe and use those saved data to make replica's of excisting objects!


Posted by: Hackius on February 12, 2008 at 3:03 AM

All HiTec digital servos have position reporting built in. Why would you not use that?


Posted by: worf on February 12, 2008 at 3:17 AM

great nerd.
i remember that technique once was called "teach in".
for robots.


Posted by: jean-baptiste on February 12, 2008 at 11:18 AM

maybe you can do something like Topobo http://www.youtube.com/watch?v=50JdK_K2NWk


Posted by: Matt Mets on February 12, 2008 at 11:54 PM

That Topobo toy looks awesome!


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
Holiday Gift Guides from MAKE
Gifts for Dads
Science and Chemistry
Gifts Under $20
More guides: Santa Claus Machines, Geek Toys for Grown Up Girls & Boys


Check out all of the episodes of Make: television

Alex Rider Dream Gadget Contest
Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Beetlebot Simple robot from your parts bin that avoids obstacles. Thanks go to Jerome Demers for the original article in MAKE, Volume 12. To download the Beetlebot video, click here or subscribe in iTunes. Check out the complete Beetlebot article... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en EspaƱol MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog