http://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi
from Kevin Townsend.
I assembled en connected the servo breakout to my Raspberry Pi as described.
Everything looks OK, "sudo i2cdetect -y 0" returns output as expected and described in the tutorial.
Output i2cdetect after boot Pi:
- Code: Select all
$ sudo i2cdetect -y 0
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 -- -- -- -- -- -- --
But running the Servo_Example.py python script results in errors:
- Error accessing 0x40: Check your I2C address
Output i2cdetect after running Servo_Example.py
- Code: Select all
$ sudo i2cdetect -y 0
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 71 72 -- 74 -- -- --
I double checked the board for shortages but it looks OK.
Does anyone have an idea what could be wrong?
Thanks

