0x90 / the-bus-pirate

Automatically exported from code.google.com/p/the-bus-pirate
Other
5 stars 7 forks source link

Add servo control #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For the servomotors, a frequency of 300Hz could be sufficiently low (the
period should be between 3 and 20milliseconds). And then, the time at the
high state will determine the output angle of the servomotor (between 0.5
and 2.5ms approximately, depending on the type of servomotor).

So either you can set a frequency between 400Hz (=2.5ms at the high state)
and 2KHz (=0.5ms at the high state) to drive the servomotor. Or you can set
a fixed frequency of 300Hz for example and change the duty cycle to change
the output angle of the servomotor.

Original issue reported on code.google.com by ianles...@gmail.com on 2 Nov 2009 at 7:39

GoogleCodeExporter commented 9 years ago

Original comment by ianles...@gmail.com on 15 Aug 2010 at 8:09