I'm trying to follow an adafruit servos tutorial to control servo motor from my raspberrypi.
My PCA9685 seems on (the green led is power up) and i attached two servos to it. I cabled as in the tutorial, so the VCC is attached to the arduino with the ground (I think i so other possibilities). I made the alimentation myself from a 5V 0.4A.
The pins have connected are:
_______________
|..X..........
|XXX..........
|
When i use i2cdetect i got empty adresses:
pi@raspberrypi:~/Adafruit_Python_PCA9685 $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
So i'm not sure if it's
- my welding that are bad (i didn't weld every pin)
- my alimentation that isn't strong enough
- or if i'm missing something else.
Thanks alot.
EDIT:
I tried running:
echo -n 1 > /sys/module/i2c_bcm2708/parameters/combined
and in /etc/modprobe.d/i2c.conf :
options i2c-bcm2708 combined=1
and doing a reboot, but it didn't work and i still have no adresses showing up.
Result after installing :
pi@raspberrypi:~ $ sudo apt-get install pigpio python-pigpio python3-pigpio
pi@raspberrypi:~ $ pigs mg 2 mg 3
4
4