Feb 13, 2007 Comments Off on Interfacing servo motor with Arduino
Interfacing servo motor with Arduino
The Arduino (build 0007) analogue output pins (PWM 9-11) have a frequency of approximately 30769 Hz. According to the Parallax documentation (http://www.parallax.com/dl/docs/books/edu/roboticsservomod.pdf) the low time for a pulse train can be between 20-40ms which means that the Arduino pulse is in the range. However, to be consistent with the BS board the frequency can be lowered by the following code =>