Adafruit 16 Channel Servo Driver Problem

Moderators: adafruit_support_bill, adafruit

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/
Locked
Slavi
 
Posts: 4
Joined: Tue Oct 16, 2012 4:12 pm

Adafruit 16 Channel Servo Driver Problem

Post by Slavi »

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 1214 times
Last edited by Slavi on Wed Oct 17, 2012 10:27 am, edited 1 time in total.

Twiggy
 
Posts: 2
Joined: Sat Sep 22, 2012 4:07 am

Re: Adafruit 16 Channel Servo Driver Problem

Post by Twiggy »

Is your raspberry pi revision 2 or revision 1?

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

Re: Adafruit 16 Channel Servo Driver Problem

Post by Slavi »

Revision 2

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Adafruit 16 Channel Servo Driver Problem

Post by adafruit_support_rick »

Try "sudo i2cdetect -y 1"

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

Re: Adafruit 16 Channel Servo Driver Problem

Post by Slavi »

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 4:12 pm

Re: Adafruit 16 Channel Servo Driver Problem

Post by Slavi »

Ok problem solved.

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

thanks for your help

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Adafruit 16 Channel Servo Driver Problem

Post by adafruit_support_rick »

You beat me to it! I was just about to suggest that. :)

Locked
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/

Return to “Adafruit Raspberry Pi® accessories”