Servo Driver Interface PCA9685 Not showing on PI

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/
pinkstond
 
Posts: 15
Joined: Thu Sep 27, 2012 4:53 pm

Servo Driver Interface PCA9685 Not showing on PI

Post by pinkstond »

I have followed the tutorial for this product and the Raspi to no avail. The problems seems to be that the Pi is not picking up board. Whenever I run

Code: Select all

i2cdetect -y 0
I don't see any devices, same is true for "1", but I'm running the first revision of the pi.

The servo board as the Green LED lit on it, and the SDA and SCL are hooked up to the corresponding labeled headers on the Adafruit prototyping board for the Pi. I am running Raspbian.

Code: Select all

root@MaxxAir:~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_PWM_Servo_Driver# 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: -- -- -- -- -- -- -- --
root@MaxxAir:~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_PWM_Servo_Driver# i2cdetect -y 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Any help would be mucho appreciated. Thanks!

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by adafruit_support_bill »

Can you post a photo showing your soldering & connections?

pinkstond
 
Posts: 15
Joined: Thu Sep 27, 2012 4:53 pm

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by pinkstond »

Image
Image
Image

None of the contacts are touching. The solder job was pretty straight forward and I didn't have any snags.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by adafruit_support_bill »

The solder looks great. But where do all those wires go? Post a photo that shows both ends of the connections.

pinkstond
 
Posts: 15
Joined: Thu Sep 27, 2012 4:53 pm

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by pinkstond »

Well, I brought the servo board into work with me today so I could work on it / check it out with a different pi (doesn't have proto shield) On that note the wires are going directly to the GPIO header on my company's pi. Once I find the results of testing it on the pi at work I will post my findings.

Thanks

pinkstond
 
Posts: 15
Joined: Thu Sep 27, 2012 4:53 pm

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by pinkstond »

Ok, I did get it to work properly on the Pi at work. So that eliminates the Servo board and wiring. I'll do some more research when I get home and try to eliminate more factors...

pinkstond
 
Posts: 15
Joined: Thu Sep 27, 2012 4:53 pm

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by pinkstond »

Ok plugged into my home pi I am getting this when I run i2cdetect:

Code: Select all

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
70: 70 71 72 73 74 75 76 77
When I unplug the servo board I get all zeros. Any ideas?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by adafruit_support_bill »

Try wiring direct to the GPIO header like the one at work. Maybe there is something wonky on your proto-board.

pinkstond
 
Posts: 15
Joined: Thu Sep 27, 2012 4:53 pm

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by pinkstond »

Hrm nope same result. Hope something didn't happen to the servo board between work and home. Anything else I can check from home?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by adafruit »

not sure what it could be but if it works on one pi and not the other, its not the servo board itself - make sure you're wiring up exactly the same!

pinkstond
 
Posts: 15
Joined: Thu Sep 27, 2012 4:53 pm

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by pinkstond »

Back into work today, decided to try it again on the work Pi. It's doing the same thing as the home pi now.

Code: Select all

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
70: 70 71 72 73 74 75 76 77
I have transported it in an anti static bag, not for sure what happened. Is it possible to ship it back to you guys have have it tested or something?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by adafruit_support_bill »

Can you post a photo showing all your connections?

pinkstond
 
Posts: 15
Joined: Thu Sep 27, 2012 4:53 pm

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by pinkstond »

Image
Image

Now I'm not an expert by any means at some of this stuff, but I'm not exactly a noob either. I've used the pi and various other sensors and relays to automate a few things in the factory where I work. So I am familiar with basic trouble shooting and how to hook things up, process of elimination etc.

Not saying that I'm not open for suggestion, if you can think of something I am missing here, let me know.

As of right now, 2 different raspberry pis and the same result with the servo board.

I also read somewhere, a user with a Raspy Juice had a similar problem and it had to do with the firmware on the raspy juice.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by adafruit_support_bill »

I also read somewhere, a user with a Raspy Juice had a similar problem and it had to do with the firmware on the raspy juice.
We have lots of these out there that are working fine with the Pi, but If you can post a link to that we can check out that angle.

pinkstond
 
Posts: 15
Joined: Thu Sep 27, 2012 4:53 pm

Re: Servo Driver Interface PCA9685 Not showing on PI

Post by pinkstond »

http://fishpi.org/forum/viewtopic.php?f ... t=30#p1211

I'm not doubting for one second that these don't normally work. However, it is possible there is something wrong with it. That's why I offered to send it to you guys to check out. I'm fairly confident at this point it's the board.

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”