16-channel 12-bit Servo Driver: determine how many servos ar

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
msousa
 
Posts: 15
Joined: Tue Apr 30, 2013 1:01 pm

16-channel 12-bit Servo Driver: determine how many servos ar

Post by msousa »

Hi,

I have the 16-channel 12-bit Servo brd (not the shield) connected up to an arduino along with 4 servos and the servo demo (that came with Adafruit_PWMServoDriver code) is working. I noticed in the demo that it loops through a count of servos and sends commands. What I'd like to know, is there a way to determine how many servos are connected and which one in the set they are? For example, say I have a 6-legged robot with a servo for each leg. How would I know which servo was right-front, left-front, right-middle, etc.

Thanks...

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

Re: 16-channel 12-bit Servo Driver: determine how many servo

Post by adafruit_support_bill »

The shield is just generating PWM signals. It has no way to determine if anything is connected to that signal. You need to keep track of that in your software.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”