Communication between two servos?
willthiswork89
Posts: 359
is it possible to communicate between two servos? i have a homework board and a boe bot and wanted to make a wired remote control or somthing.... im getting incredibly board and running out of ideas to do with my new toy boe-bot(a.k.a Harold) how is this possible and is there any other ideas some people might have to make some contraptions... i thought about taking apart an old model airplane and seeing if i can use the RF receiver from it or possible a zipzap?
Comments
1. Put a dowel on top of the Boe-Bot in freely rotating mount. Now see if you write the code to make the Bot move back and forth to balance the dowel. Like balancing a broom handle in your hand. One favorite way is to mount the dowel on a potentiometer with a horizontal shaft (parallel to the axle of the Bot). Then you can read out the position of the dowel with as a function of the pot reading. That isn't the only way though. Not by a long shot. Estimated time: one week to one decade. Depending on how good you insist on getting at the basic challenge.
2. Hide and seek. Code the homework board to create a ruction of some sort in Bot detectable ways. Now put the homework board in one room, or even the corner of a room to start and let it begin calling. Program the Bot to find it, or at least get close enough to call "You're it!" If you have two Bots, they can take turns being it. This challenge has amazing complexities, even if the 'ruction' is a UHF transmission. Maybe especially then because it's not easily localized without a larger antenna than a Bot wants to haul around. Try using the two halves of a sonic rangefinder. Put the emitter on the homework board and try to find it using the sensor mounted on the Bot. IR sensors and emitters offer similar methods.
3. Figure out how to make one servo slave itself to the movements of another servo. The basic answer to your question about their communicating is no. Not if you mean out of the box. But you can find ways to establish communication of sorts between two servos. It would take the fun out of it to tell you how of course...<g>
[noparse][[/noparse]Uh... on consideration, let me be more careful of my wording. If you actually try to move a servo-controlled dowel, you may end up damaging the servo. For that version of the challenge, attach that dowel to a potentiometer. We have servos that will allow an outside force to move them and then report their position, but those aren't hobby-class servos. At least, I don't think they're available at hobby prices. This business keeps surprising me.<g>]
·
Here is a link that might be of interest to you. It uses the Propeller, but in practice
the concept could be accomplished with any of the Parallax micro controllers.
Parallax Forums > Public Forums > Propeller chip > Propeller Application: Proportional feedback from a Standard Hobby Servo (Updated video clip)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.