Using Maya and an Arduino to control a servo


Maya + Python + Arduino + Servo (Part 1) from Dan Thompson on Vimeo.


Maya + Python + Arduino + Servo (Part 2) from Dan Thompson on Vimeo.

I spend my days using a 3D animation package called Maya, and my nights building projects with Arduinos. Daniel Thompson is a visual effects artist who has combined Maya and an Arduino to drive a servomotor. My worlds just collided!

This post covers the scripts he used to do it. He has since built a Maya Python plug-in that is more accurate and can be keyframed. This is the really useful part, as it goes from being a very expensive 3D virtual knob to being a fully animateable animatronic system.
I'd love to see if he can get it working bi-directionally, so that the servo can act as a go-motion controller for Maya.


Recent Entries

Comments

Oldest comments listed first.

Posted by: Riley on December 9, 2008 at 11:29 PM

arm

If you build an arm with servos at joint points, you could theoretically build an arm that you could position and have the servo positions read then translated into kinetics in maya. And then vice versa. Sort of combining stop motion characters with 3d characters.


Posted by: John Park on December 10, 2008 at 12:08 AM

Yes, that would be pretty darn awesome, Riley. Using inverse kinematics in Maya, you could get some very cool animatronic posing and animation going on your servo arm, too.


Posted by: DanThompson on December 10, 2008 at 4:23 PM

Hey Guys, Yep, IK, constraints and spline IK. There's nothing to say that you couldn't apply any rigging technique in Maya to create a robot puppet with a very sophisticated range of movements.

My first real milestone with this is to rig up a pair of legs and hips with all the bells an whistles that maya offers (like foot roll, knee twist and IK). Then who knows, it would be great to do a whole biped!

BTW. Thanks for posting this John!


Posted by: John Park on December 10, 2008 at 5:04 PM

You bet, Dan, just be sure to let me know when you release the plug-in! Maybe we can start building real-world character companions in our offices here at Disney!


Posted by: DanThompson on December 10, 2008 at 11:10 PM

Sounds awesome, I'll keep you posted!


Posted by: moncef on January 9, 2010 at 5:57 AM

it's really a great project
BTW are you a graphic designer :p i can see the intuos3 grip pen :P


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




Check out more videos from MAKE.

Maker SHED

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



    MAKE Archives

    Make: Money

    Make: Science Room
    Subscribe to MAKE Magazine!

    Make: Online editors and authors!

    Gareth BranwynGareth Branwyn
    Editor-in-Chief


    Phillip TorronePhillip Torrone
    Senior Editor
    | Web | 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


    John BaichtalJohn Baichtal
    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!

    Advertise here with FM.

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

    Click here to advertise on MAKE!



    Current Podcast

    itunesdl.gif Behind the Scenes at MAKE and CRAFT In January, many of the remote MAKE/CRAFT team members (myself included) convened at the Maker Media headquarters at O'Reilly Media in Sebastopol, California. Take a look behind the scenes of your favorite DIY publications as Goli Mohammadi gives us... More...

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



    Sign up for the Make: Newsletter

    Our Make: Newsletter covers news from maker Media, has original columns, Shed deals, and more! You can also read the archives of past issues.


     



    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