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/

Adafruit 16 Channel Servo Driver Problem

by Slavi on Tue Oct 16, 2012 4: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 534 times
Last edited by Slavi on Wed Oct 17, 2012 10:27 am, edited 1 time in total.
Slavi
 
Posts: 4
Joined: Tue Oct 16, 2012 4:12 pm

Re: Adafruit 16 Channel Servo Driver Problem

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

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

Re: Adafruit 16 Channel Servo Driver Problem

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

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

Re: Adafruit 16 Channel Servo Driver Problem

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

Try "sudo i2cdetect -y 1"

adafruit_support_rick
 
Posts: 13070
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Adafruit 16 Channel Servo Driver Problem

by Slavi on Wed Oct 17, 2012 11: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 4:12 pm

Re: Adafruit 16 Channel Servo Driver Problem

by Slavi on Wed Oct 17, 2012 11: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 4:12 pm

Re: Adafruit 16 Channel Servo Driver Problem

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

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

adafruit_support_rick
 
Posts: 13070
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY