Shop OBEX P1 Docs P2 Docs Learn Events
Penguin Servo Twitch — Parallax Forums

Penguin Servo Twitch

HumanoidoHumanoido Posts: 5,770
edited 2011-03-18 15:03 in Robotics
Penguin Servo Twitch
Penguin Robot Startup

Upon power up, Penguin has two servos that do not remember where they were when turned off. The servos therefore initialize to a known position and this is what causes the rapid movement (twitch) at power on.

The twitch will happen no matter what position the servos are in at startup. It's purely a servo thing, and not related to Penguins mother board. The safest thing to do is move the servos in the opposite direction before startup so as to prevent any out of range or over extension servo positions.

For programming Penguin, it is good to put an initialization of servos at the beginning of the code to center both servos. That way, if an out of range condition does happen, it will be only momentary as the servos will immediately center. If no centering program is in effect, the twitch will happen and that's where the servos will stay.

Attached instructional tutorial for Penguin Robot Startup Procedures. After programming the delay for the twitch (i.e. PAUSE 500), it may be beneficial to code in centering the servos.
Sign In or Register to comment.