Shop OBEX P1 Docs P2 Docs Learn Events
Help with controling 32 servos??? — Parallax Forums

Help with controling 32 servos???

myk1323myk1323 Posts: 7
edited 2010-05-19 20:17 in Robotics
Hi, I'm trying to control the movement and position of 32 servos and need help on how to go about doing it, hardware ect. I think I will use two
Propeller Servo Controller USB's connected to a basic stamp or a propeller chip to control the servos, but i am not sure on how to individually monitor each servos rotations (continuous) Each servo will have a feedback mechanism like what is in the picture attatched, but how can i count and track all 32 pulses. the servos need to work in unison and not one at a time. Thanks!
641 x 532 - 49K

Comments

  • myk1323myk1323 Posts: 7
    edited 2010-05-18 22:11
    or maybe 32 stepper motors would be easier? any way to do that?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-05-19 00:36
    Let's back up a step or two. First, what is your application? That will help us to answer your questions more intelligently.

    -Phil
  • myk1323myk1323 Posts: 7
    edited 2010-05-19 03:46
    im doing an art project where i need to control a grid of hanging strings that have balls (pixels) on the ends. I need to be able to control the length of string for each ball hanging from the art piece. im thinking about a grid 8x4 which will require 32 independently controlled strings or balls. A big problem seems to be the limited number of pins on a stamp, even if i use the 40 model. Is it possible to link stamps? im trying to do this as cheap as possible too.
  • al1970al1970 Posts: 64
    edited 2010-05-19 07:26
    Hi:

    "or maybe 32 stepper motors would be easier? any way to do that?"
    That would be harder to do than the servo.

    You don't say how you want to control them? Are you looking for a computer to run a program to move them in a pattern or are you looking for a human to move them?

    There is no way it is going to be cheap! What are you looking to spend? What is your time frame?

    Al
    ·
  • W9GFOW9GFO Posts: 4,010
    edited 2010-05-19 07:59
    myk1323 said...
    I need to be able to control the length of string for each ball hanging from the art piece.

    Unless you need to reel out/in the string a long ways I think you would be better off without encoders.

    This servo could move your string 16" and you wouldn't need anything to monitor its position; $40 x 32 = $ 1,280!

    HS-785HB.jpg

    A cheaper solution would be to use standard servos with long arms. A six inch arm would move the string almost ten inches. $9 x 32 = $288

    Neither of these would need to be monitored. The Propeller Servo Controllers will continuously update the servos - moving and keeping them at the proper position.

    Rich H

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The Simple Servo Tester, a kit from Gadget Gangster.

    Post Edited (W9GFO) : 5/19/2010 8:16:17 AM GMT
  • ercoerco Posts: 20,256
    edited 2010-05-19 18:00
    If you can live with 24 servos,··Pololu has a nice servo controller for $50: http://www.pololu.com/catalog/product/1356

    To control 32-36 servos, you can chain two of their 18-servo units together ($40 each)http://www.pololu.com/catalog/product/1354


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
  • John R.John R. Posts: 1,376
    edited 2010-05-19 20:17
    How far do the balls have to move? How many different positions does each ball have to come at rest at?

    Potentially you could use just plain old DC moters with a "whinch drum), with a bead or split shot attached to the string. This bead(s) could trip a small switch. You could also use magnets and a hall effect sensor. If you only need two positions (up and down), you could also set the motors up to stall out at each end of travel. This is what "slow motion" model railroad swtich machines (e.g. tortise and others) do.

    While this still will take a fair number of pins, you don't have to deal with pulse widths, etc.

    If the balls don't have to move very far, you might also be able to use solenoids.

    More detailed info might help with other ideas. My experience is that if you get "locked in" to an idea of how to do something too soon, you end up with a sub optimum solution.

    For things that are on public display, simple is almost always better. Less to go wrong, and if it does, easier to fix.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John R.
    Click here to see my Nomad Build Log
Sign In or Register to comment.