Tutorials/Arduino Projects/Mobile Robotics/BoeBot/Zeroing A Continuous Servo

< Tutorials‎ | Arduino Projects/Mobile Robotics/BoeBot
Revision as of 20:01, 19 June 2012 by Pgp90 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:DISPLAYTITL:How to zero a parallax continuous rotation servo

ArduinoArduino Tutorials and Guided Projects → How to zero a parallax continuous rotation servo

What is zeroing?

Zeroing a continuous rotation servo is where you adjust the servo such that the servo does not turn when a 1.5ms pulse is revived by the servo. Not all servos can be zeroed. Even among the ones that can be zeroed, it is not always necessary.

Zeroing the servo

First we need to make a program to send a 1.5 ms pulse to the servos. To speed this up, we are going to provide you with the code, and you can learn about how it is setup in the next section.

First we need to create a new source code file, and copy the following code into the file and save it as "Zeroing servos.c"