Hi everyone.
I am designing a project that involves controlling a hobby servo with a pot, and have been reading about servos and 555 timers.
I found this circuit shown in the picture below, replicated it and works fine .
(http://www.instructables.com/id/Drive-Servos-with-a-555-timer-IC/)
Problem is, I have a hard time understanding the waveform that makes the servo work. Searching the internet about servos, all sites repeat the same info: servos read a PWM square signal that has about 20ms period (anything 5-25ms will do), 1.5ms high time correspotnd to 90 degrees (neutral) and 1-2ms (or 0.5-2.5ms ) correspond to full left and full right.
The 555 datasheet gives the formulas for the square signal as
Period (in sec)= 0.693 * C1*(R1+2*R2)
High Time (in sec)= 0.693*C1*(R1+R2)
If I put the R and C values in the formula, I get 12 / 7ms (Period / high time) for full left and 4 / 3ms for full right. Looking at other similar 555 circuits I get all different kind of values for Period & ht, both changing between full left and full right.
What do I miss here?
I am designing a project that involves controlling a hobby servo with a pot, and have been reading about servos and 555 timers.
I found this circuit shown in the picture below, replicated it and works fine .
(http://www.instructables.com/id/Drive-Servos-with-a-555-timer-IC/)
Problem is, I have a hard time understanding the waveform that makes the servo work. Searching the internet about servos, all sites repeat the same info: servos read a PWM square signal that has about 20ms period (anything 5-25ms will do), 1.5ms high time correspotnd to 90 degrees (neutral) and 1-2ms (or 0.5-2.5ms ) correspond to full left and full right.
The 555 datasheet gives the formulas for the square signal as
Period (in sec)= 0.693 * C1*(R1+2*R2)
High Time (in sec)= 0.693*C1*(R1+R2)
If I put the R and C values in the formula, I get 12 / 7ms (Period / high time) for full left and 4 / 3ms for full right. Looking at other similar 555 circuits I get all different kind of values for Period & ht, both changing between full left and full right.
What do I miss here?