I have a problem I'm facing that I'm not sure how to figure out.. Any help would be greatly appreciated.
Part of my project includes a Due driving 14 1m WS2811 LED strips (60 led/m)..so a total of 840 rgb leds. I have an external power supply to drive these strips rated at 5V/60A, which should give me plenty of juice, especially given that I will be using only 1/4 brightness at most and not all the lights are on at once.
While I've been developing the code, I've been testing with a single 1 m (60 led) strip hooked up straight to the Due 5V out as shown in the attached diagram (ThisWorks). This worked well and I did not experience any issues with the led strip or any other components of the project.
Now, that I've got the code finished up, I am getting ready to test multiple strips driven by external power supply I mentioned above. First, I'm trying with a single strip. I've hooked up the external power to that 1 led strip through a 1000uf 10V capacitor. All the grounds are tied together as shown in the second attachment (DoesNotWork). Now, when I turn everything on, the led strip is completely misbehaving, lights flickering in different colors and sporadically (everything else works..there's an mp3 sd card player and msgeq7 ICs).
Multimeter at the power supply shows it has 5.4V and running just fine. I'm at a loss as to what to check next and am afraid of frying something.
Also..I've tested this with a Mega previously and it worked as expected with the same external power supply. Could it be the fact that I'm using Due to drive the whole thing now?
Although, I'm not sure how that would affect things, but I'm just starting in electronics and I know there's a lot of concepts I'm still misunderstanding..but I'm reading and experimenting a lot.
Any help or advice would be much obliged..Thanks in advance!
Ok, so I tested the same code and setup but using a Mega 2560 and it worked as expected. So, apparently the voltage difference on digital pin-out going to the DIN pin of the strips is what's causing issues with Due being at 3.3v and Mega matching the strip power at 5v.
Next question is, how do I fix that?
Can I step up the voltage from the digital-out pin from 3.3v to 5v, and how? Can I use a mosfet, or is there a better way?