PCA9685 with Millis

are you planning on using a continuous servo to move something < 1 revolution?

seems like you encoder wheel should make it easier to recognize endpoints as well as several intermediate points

Yes the 360 degree servo is driving a reduction gear and can sweep various degrees depending on position eg base 320 degree.first joint 150 degree second joint 320 degee etc.
In the turrent it is using two joints and being controlled by a esp32 cam to track movement and fire a noise making gelblaster at target ( intruder,eg pigeon).
Encoder is house keeping calibration, home , current position and angle limit awitches.
I will try and set limit switches in loop thanks.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.