How to control a servo with BS2p-24?!?
pcrobot
Posts: 103
I want to control a servo motor with my BS2p-24 & BS2p-24 Demo Board. I do not see any servo plugs I don't know how to wire it, like the BOE or maybe the homework board? My demo board doesn't specifically match anything from "What's A MiCon?" book. Please help!
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
Comments
·· If you have a 3-pin header, you can connect the Servo through the breadboard.· Just connect the black wire to Vss, the Red wire to Vdd and the White wire to a Stamp pin.· Then, you can use the code from the "What's A Microcontroller?" text, but you must change the pulsout values for the BS2p, as they are different timing from the BS2.· If you don't have the 3-pin header, you may still be able to do it using wires carefully from the Servo plug to the appropriate connections on the Demo Board.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I can wire it like the Homework board...but that means I need to purchase a 3-pin header...oh well.
Thanks for your help!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
For the BS2p, the pulsout values for the "standard" servo positions would be:
1.0 ms = 1250 (left)
1.5 ms = 1875 (center)
2.0 ms = 2500 (right)
The values are calculated by taking the servo position (in microseconds) and dividing by 0.8 (the PULSOUT unit for the BS2p).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Thanks again!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
························ Hacking the Trailing Edge!
················http://www.nmpproducts.com/intro.htm
················---Decks a-wash in a sea of words---