Help attaching LED to Arduino
I’m currently working on a project that involves attaching an LED strip to an arduino and I’m having the problem of getting it to change colors correctly. I believe I have it all wired properly as the LED strip turns on when it is first plugged in and when the code is run to change its color it does. However the problem is that it’s supposed to be turned off when the circuit is first is powered on. Instead when it turns on the light flickers on and off a couple times then stays on. I had it working correctly with some regular RCGB LEDS prior however the LED strip I have is wired differently so I had to change it around. Attached is a few pictures of the irl breadboard and the tinkercad of how it’s supposed to look. (I also currently only have one of the strips I need but that doesn’t change anything) help is appreciated, thank you!
https://www.tinkercad.com/things/lLxN06ZuU3o-copy-of-three-phase-demo/editel?returnTo=%2Fdashboard%2Fdesigns%2Fcircuits&sharecode=AX09JXeALERnybYABb3N1n8rVAQ4A5K5EpQmXJ8EemQ
Tinkercad
Login - Tinkercad



12 Replies
Here is the updated code for the LED as well
how are you powering that strip?
5v strip it’s attached along the side it’s the gray wire out front

I wired it according to what it said

you need an external power supply, an Arduino can't supply enough current for more than 5 or 6 of those pixels
I’ll only have 3
Could I attach a 5v battery to the side and that would work?
It powers the current strip just fine and I was planing on just cutting it and using extension pieces to plug those extra parts back in
it appears when it is first plugged in all lights turn on im just trying to figure out how to turn them off until they are needed
sry, been driving all day
if you only have 3 that's fine but it looks like a whole strip in the pic
with those you give it 5V and if you ground R G or B that color lights up
All good
there aren't really "5v batteries", unless you mean a power bank
Yeah sorry that’s what i meant
figure each pixel needs 60mA at 100% white, so multiply that by the number of pixels
if you don't drive all 3 colors to 100% is uses less current