I am using these PCA9685 servo driver boards to drive LEDs on several model railroad signals. I have them hooked directly to the PWM pins and the grounds as shown below. I have the servo value set at 4096 for their max brightness.
I have lost two PWM pins on the board that seem to have failed. I swapped to other pins to keep the LEDs working for now.
My question is am I damaging or stressing something with his operation? Should I add a resistor? It was my understanding that this board limits the current to a safe level so no resistors are needed.
To insure not overstressing the LED or CMOS, you should take the lower current of the two, the supply voltage, any internal uC CMOS, and use Ohm's Law to calculate an appropriate resistor value - color dependent!
I will try and measure amperage tonight. I found this documentation, which is what led me to leave out the resistors.
"First wire a LED to the board as follows. Note you don't need to use a resistor to limit current through the LED as the PCA9685 will limit the current to around 10mA:"
If you're using genuine Adafruit PCA9685 boards then they already have 220 Ohm resistors in series with the PWM pins on the board. If you're using clone/knockoff versions then who knows.
To help clarify the project, here is a picture of the signal structure I am attempting to animate. As well as a condensed wiring diagram. should I add a resistor in the terminal board to bridge the connection?
The last picture is a test board of the project to help weed out the bugs. The breadboard represents the signals that will be on the structure.
The integrated circuit called PCA9685. If you say you have a PCA9685, it is a chip with a data sheet. You look up the data sheet to see exactly how it works.
You did the right thing by posting a link to the board you have. This board you have contains the PCA9687 chip along with other added components. To understand how your board works you need to look at the schematic of the board along with the information of the chip’s data sheet.
While you did it right many beginners here say they have a certain chip but it turns out to be a board that contains the chip along with other components. This can lead to a lot of wasted time.
Using a solderless bread board in what looks like a permanent installation makes it certain to fail after a few months. Once you have established you circuit you need to solder it all up using strip board.
Edit :- thanks again Paul.
Just curious, what is your recommendation for a permanent attachment onto these servo driver boards? I tried some push on female screw terminals but they are too large to clear all the pins.
I would solder wires onto them. But you have now probably put header pins, or sockets inti those holes. So now I would use a double and single row of the inverse connector and solder on to that.