Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

by Slavi on Tue Oct 16, 2012 3:25 pm

Hi Guys!

I have a big problem with my 16-channel servo driver.
I want to do this tutorial: http://learn.adafruit.com/adafruit-16-c ... king-it-up

All is hooked up and installed.
After a "sudo i2cdetect -y 0" command, I can not see the device.

Is my servo Driver damaged? The green Power LED on the device lights up.

pls help me
Attachments
1.JPG
1.JPG (20.22 KiB) Viewed 498 times
Last edited by Slavi on Wed Oct 17, 2012 9:27 am, edited 1 time in total.
Slavi
 
Posts: 4
Joined: Tue Oct 16, 2012 3:12 pm

by Twiggy on Wed Oct 17, 2012 6:13 am

Is your raspberry pi revision 2 or revision 1?
Twiggy
 
Posts: 2
Joined: Sat Sep 22, 2012 3:07 am

by Slavi on Wed Oct 17, 2012 9:17 am

Revision 2
Slavi
 
Posts: 4
Joined: Tue Oct 16, 2012 3:12 pm

by adafruit_support_rick on Wed Oct 17, 2012 10:00 am

Try "sudo i2cdetect -y 1"
User avatar
adafruit_support_rick
 
Posts: 8431
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

by Slavi on Wed Oct 17, 2012 10:05 am

yes there it is <.<

but how can I change the libary, so that the servo_example.py is working?
Slavi
 
Posts: 4
Joined: Tue Oct 16, 2012 3:12 pm

by Slavi on Wed Oct 17, 2012 10:13 am

Ok problem solved.

I have to set bus=smbus.SMBus(1) in Adafruit_I2C.py to 1 instead of (0)

thanks for your help
Slavi
 
Posts: 4
Joined: Tue Oct 16, 2012 3:12 pm

by adafruit_support_rick on Wed Oct 17, 2012 10:17 am

You beat me to it! I was just about to suggest that. :)
User avatar
adafruit_support_rick
 
Posts: 8431
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY