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.

11 Responses to Using Maya and an Arduino to control a servo

  1. 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.

    • steve merkel on said:

      this exists in the engineering world. There is a device known as a faro arm used for reverse engineering. It has 7 axes of control. and can be used to create 3d models from scans. It costs like 20000 for the arm and another 20000 for the software, so it would be really cool to creatw a homebrew version for like 100 bucks.

      • hockey14822 on said:

        I’m so glad we have open source, I’m going to have to get an Arduino. Apparently you can save a lot of money with this thing.

  2. John Park on said:

    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.

  3. DanThompson on said:

    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!

  4. John Park on said:

    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!

  5. DanThompson on said:

    Sounds awesome, I’ll keep you posted!

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

  7. James Pollack on said:

    i’m a graduate student in digital arts and new media at uc santa cruz and also a teaching assistant for a class this winter called “muppet magic: jim henson’s puppetry” — what a cool project. i’m totally going to use this to connect some puppets to the digital world, or rather the digital world to the puppets. please send me those apis whenever they’re operable! thanks!

    jbpollac
    @ t
    ucsc
    d 0 t
    edu

  8. Amazing to see someone doing something fun to use, Maybe this could be used with a Bluetooth Transmitter and maybe control something Aerial ;) *Wink* UAV? *Wink* :) Good job though.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

%d bloggers like this: