I started with hooking up the PCA9685 board to my Pi4B and then installing the adafruit PCA9685 library.
I followed this guide https://medium.com/@poojakose5/control-servos-using-16-channel-servo-driver-and-raspberry-pi-8b9318ce7762 except that I installed the latest adafruit library
I tried different examples I found but the servos don't move.
I get no errors but there's no movement.
When going through a loop
for i in range(180):
servo.angle = i
print(servo.angle)
it prints the angle from 0 to 180, but....no moving servos.
What could be wrong? It's the az-delivery PCA9685 board (https://www.az-delivery.com/products/pca9685-servotreiber), could there be a problem with that.
I'm using the AZDelivery SG90 Micro Servo Motor 9G
Also when I execute sudo i2cdetect -y 1
I get
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: 40 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: 70 -- -- -- -- -- -- --
That's ok I guess.
Below are the images showing the connections.