I want to control a "Servo motor analoog Micro Servo 9g SG90 360°/continous rotation" with a python script. I do understand the control of a 180° servo but somehow the 360° is not reacting the same.
I want to use the servo to turn like a dial of a clockwork, in this case the dial will show the current moonphase.
So I need the Servo to turn to a specific angle or turn a specific angle. I save the angle in a file after it has turned so I can calculate the difference in current and desired angle is and use that difference to calculate the duty.
But i really dont understand how I can calculate the duty to turn 1°. I got my PWM set on 50Hz.
Can anyone explain me how I can achieve my goal?
*edit: Servo information:
No-load speed: 0.12 seconds / 60 degrees (4,8V)
Stall torque: 1,2 - 1,4 kg / cm (4,8V)
Dead-set: 7 microseconds
PWM-value 185 causes motor to stop.
PWM-value 175 causes motor to turn CW
PWM-value 195 causes motor to turn CCW
PWM-value 62 causes motor to stop because of to low input.