RGB LED Adafruit 16-channel PWM/Servo Shield

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
muraty
 
Posts: 13
Joined: Thu Mar 24, 2016 8:01 am

Re: RGB LED Adafruit 16-channel PWM/Servo Shield

Post by muraty »

can i use product/1429 instead of product/1411?
i guess, i can connect 8 strip leds to product/1429 ?

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

Re: RGB LED Adafruit 16-channel PWM/Servo Shield

Post by adafruit_support_bill »

1429 is not the best choice for driving strips. It does not have enough current to drive a full strip by itself, and the open-drain outputs are not ideal for interfacing with MOSFETs.

User avatar
chrisspurgeon
 
Posts: 37
Joined: Sat Mar 28, 2009 11:44 pm

Re: RGB LED Adafruit 16-channel PWM/Servo Shield

Post by chrisspurgeon »

I'm building a project that uses about a dozen servos, and the 16 Channel PWM/Servo Shield is working great. In this project each servo only moves once each 12 hours or so, the rest of the time they just sit there in their current position. I'd love it if I didn't have to keep the servos energized for all that time that they're idle.

The standard Arduino Servo library has detach(), attach(), and attach() functions to disengage and re-engage individual servos at will.

Looking at the documentation for the Adafruit-PWM-Servo-Driver-Library library, and at the source code on Github, it doesn't look like that functionality is available. Any idea how I could accomplish this with the Adafruit-PWM-Servo-Driver-Library library? Thanks!

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

Re: RGB LED Adafruit 16-channel PWM/Servo Shield

Post by adafruit_support_bill »

Just set the pulse width to zero:

Code: Select all

pwm.setPWM(n, 0, 0);

User avatar
chrisspurgeon
 
Posts: 37
Joined: Sat Mar 28, 2009 11:44 pm

Re: RGB LED Adafruit 16-channel PWM/Servo Shield

Post by chrisspurgeon »

Sweet! Thanks!

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

Return to “Arduino Shields from Adafruit”