I start to write two nodes for pca9685 pwm chip.
One node is for normal pwm output.
And other one is special for robot and model making hobbist.
My question is how control the servos on pca9685 output.
I read on internet, that servos works with pwm frquency 50Hz and pulse between 1 and 2 ms.
Is this valid for all servos or is there difference between servos ?
There are Continuous Rotation Servos. How control this servos ?
Thanks for answers.
Certainly most servos have a centre point at 1.5mS - (but can usually be trimmed (ie moved slightly) so you don't have to adjust manually.). Some servos have hard end stops - and so the max and min must also be adjustable so as not to wreck the gears. Typically they are around 1mS and 2mS for +- 90 degrees... but they all vary - most normally they are within that - but I have seen some go beyond.
I'm not sure re continuous rotation ones - never used them. It may be just the speed is proportional to the "distance" from 1.5.. but again the centre point may need to be adjustable so that the servo is fully stopped at that point.
Thanks for answer. Its best case to order servos and test it real.
I think these work from the same pwm signal, but it controls the speed rather than position.
Yes I look in manual:
1.5ms stops servo.
0.7ms-1.5ms reverse speed
1.5ms-2.3ms forward speed.
Its more for robot application (vacuum cleaner robot).
I ordered 2 of them for test.