🔮Adafruit sale all weekend long – use the code ADATHX for 15% off! 🔮
0

Help with 16 Channel PWM/Servo Hat
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Help with 16 Channel PWM/Servo Hat

by Hackopedia on Wed Mar 09, 2016 3:22 pm

I everytime get a exeption "I2C: wrote 0x00 to Register 0x49" and so on and it only changes the "0x49" into other figures. I use the Example code on github and followed the Instructions @ learn.adafruit.com
Thanks a lot for helping!

Hackopedia
 
Posts: 9
Joined: Sat Mar 05, 2016 2:31 pm

Re: Help with 16 Channel PWM/Servo Hat

by franklin97355 on Wed Mar 09, 2016 4:50 pm

What do you get when you run i2cdetect?

franklin97355
 
Posts: 21647
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Help with 16 Channel PWM/Servo Hat

by Hackopedia on Wed Mar 09, 2016 4:59 pm

I get the "standart" I2C output, like its shown in the tutorial.

Hackopedia
 
Posts: 9
Joined: Sat Mar 05, 2016 2:31 pm

Re: Help with 16 Channel PWM/Servo Hat

by franklin97355 on Wed Mar 09, 2016 5:30 pm

Which ports show up?

franklin97355
 
Posts: 21647
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Help with 16 Channel PWM/Servo Hat

by Hackopedia on Thu Mar 10, 2016 1:40 am

There is shown a 40 in the 0/40 section, and a 70 in the 0/70 section.
I hope it helped...

Hackopedia
 
Posts: 9
Joined: Sat Mar 05, 2016 2:31 pm

Re: Help with 16 Channel PWM/Servo Hat

by MJPV on Thu Mar 10, 2016 5:06 pm

Hi,
under the same topic as Help with etc ..

I would like to ask about powering 16 servo's.

I have an idea but would like it clarified please.

I am using micro 9g tower servos with the 16 servo/pwn board and I am having trouble powering the servos.
Up to a point about 10 servos work off my 4 x1.2v 2400mah batteries but any more and it goes eratic. The servos go to random positions and sit there. I assume this is a power issue?

I suspect I need to up the amps as each servo draws x so about 3-5a I reckon I need - what batteries would supply 6v or 4.8v with sufficient amps to power the hexpod for an hour?

I was thinking the 7.2v 3000mah bats might do the job for a shorter time but I would have to put in a regulator to take it down to 6v or 4.8 right?

If I need 5000mah and higher the batts get heavy and I@m not sure my hexpod will lift the weight,

Maybe I'm asking for idea's and confirmation of my thoughts?

Thank you,

Mike

MJPV
 
Posts: 1
Joined: Thu Mar 10, 2016 4:58 pm

Re: Help with 16 Channel PWM/Servo Hat

by Hackopedia on Thu Mar 10, 2016 5:10 pm

How did you gotta brought it to work. Mine is in holidays or what ;)

Hackopedia
 
Posts: 9
Joined: Sat Mar 05, 2016 2:31 pm

Re: Help with 16 Channel PWM/Servo Hat

by Hackopedia on Fri Mar 11, 2016 10:57 am

I maybe could identify where the problem COULD be. I tested it and it hides in the Adafruit_PWM_Servo_Driver.py at the def setPWMFreq part. But i'm not quite sure if its there. setPWM is also possible..

Hackopedia
 
Posts: 9
Joined: Sat Mar 05, 2016 2:31 pm

Please be positive and constructive with your questions and comments.