The Futaba S3003 RC servo has these pulses to control it:
PWmax = 2.1 ms (180 °)
PWcentre = 1.2 ms( 90°)
PWmin = 0.3 ms (0 °)
The pulse width to move the servo output 90° is 1.2 ms, but i don't need that position. I know how to find any position but the problem is that, if i need to move the servo to CCW 45°, the pulse width for that position is less that the minimum pulse width (0.3ms) and it's negative.
This is how i find every position of the servo, knowing that the Servo position has a linear proportion to the pulse width used, i can use the equation of the straight line.
For example, if i want to move the servo CW 45°:
t = m*theta + pwmin
where m = pwmax - pwmin /180° = 2.1ms - 0.3 ms / 180° = 0.01ms/°
substituting :
t = 0.01 ms/ ° *45° + 0.3 ms = 0.75 ms
But my doubt is for CCW 45°, because
t = 0.01 ms/ ° *(- 45°) + 0.3 ms = - 0.15 ms
it's negative and it's less than the minimun pulse width (0.3ms), so how can i get the pulse width for CCW 45°?