go_away

### Author Topic: zero degree in servos...  (Read 1696 times)

0 Members and 1 Guest are viewing this topic.

#### harisankarsa

• Jr. Member
• Posts: 23
• Helpful? 0
##### zero degree in servos...
« on: November 30, 2007, 10:59:55 AM »
do we hav to turn the pot head so tht its zero rotation perfectly??
I had glued it.then found tht it was not turning due to a small loose connection.
and now it turns at a small rate when connected to the chip with zero degree rotation code...
pls help me fast...

#### airman00

• Contest Winner
• Supreme Robot
• Posts: 3,653
• Helpful? 21
• narobo.com
##### Re: zero degree in servos...
« Reply #1 on: November 30, 2007, 12:24:49 PM »
its fine the way you did it

now you'll have to experiment to find how much off you are from the pulse

For example : its supposed to be 150 ( lets say) and now on your servo its 156. Play around to find the pulses for forward , backward , stop ( brake - which is the 0 degree thing you speak of)

Also, may I ask what you are using the servos for?
Check out the Roboduino, Arduino-compatible board!

Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

#### bukowski

• Robot Overlord
• Posts: 219
• Helpful? 0
##### Re: zero degree in servos...
« Reply #2 on: November 30, 2007, 12:29:41 PM »
Think of it as zeroing a scale. If the scale has a wrong reference point for zero, the reading will be that far off. If the servo has a speed of x when it thinks it's zero, whatever input you give it will be input + x. See if you can carefully chisle out the glue, or disconnect the pot entirely and
Quote
take the pot out, and replace the pot with a resistor. 2.2k ohm IIRC

http://www.instructables.com/id/modify-the-hitec-hs-325-servo-for-continuous-rotat/

#### bukowski

• Robot Overlord
• Posts: 219
• Helpful? 0
##### Re: zero degree in servos...
« Reply #3 on: November 30, 2007, 12:31:31 PM »
or you can do it with software, like airman said.
Im not exactly a great programmer, so I always look for a different solution.

Get Your Ad Here