Read the statement by Michael Teeuw here.
Led strip problem
-
Hello everyone. I just finished my MM and I have a problem with my WS2812B led strip. It is powered from an external power supply and I use arduino uno for the effects which also is powered by another power supply. When I hooked everything in the MM frame I tested the led strip and was working fine. But when I turn on the TV, the led strip is starting doing crazy things like flickering, turn off, etc. Keep in mind that my tv is an old one. I am mentioning that because the led strip is doing the crazy things not when I push the on button on the TV but when the screen turns on (it needs about 10sec for the screen to show picture). It is like something happens when the screen turns on. I don’t think it has to do with power bacause beside that everything is pluged into a hub, every board has it’s own power supply. Maybe some “noise-waves” from TV panel confuses arduino? Have enyone face something like that? Any opinions will be appreciated. Thank you in advance.
-
@Anthony do all the power sources share a common ground? or are they all separate?
-
-
@Anthony on the output of the power supplies is a +5 or +12 and a ground…
are all the grounds connected together at some point or are they all separate… usually to stop interference like this you need to bind the grounds…
the input side has them grounded together… but not the output side
-
@sdetweil oh sorry. on the power supply which powers the arduino I have also connect 2 small 12v fans. So the grounds of the fans and the ground of arduino yes they are common. Do you think this is the problem? So if disconnect the fans the leds should work? but why this is not happening from the beggining and it happens only when the screen turns on?
-
@Anthony I suspect the driver for the TV is emitting radio noise, which the leads for the WS2812 is picking up as data.
Did you power both ends of the LED strip? It’s good practice unless the strip is very short. This will do two things, first, ensure level LED color throughout the strip, and second, help the data line recognize it’s data over the noise.
There may be other things you can do to improve the data control. If you know anyone in the amateur (ham) radio community, you may be able to ask them about Radio Frequency Interference. They have the knowledge to help you isolate the issue and solve it.
-
@BKeyport No. The led strip has 30 leds per meter and I use 59 leds so it is 2 meter long and I have powered it only from one side with a 5v power supply. I read somewhere that a common problem is if HDMI cable is too close to power plug this happens and that they should be at least 30cm away from each other. My TV’s hdmi is just below from the power hub. I think I will disconnect everything and reconnect-test one by one and I hope I will locate the problem.
-
@Anthony You might consider somehow powering both ends. You’ll find better performance of the string because it’s that long.
-
@Anthony - In my CNC work I have run into a lot of electromagnetic interference. One thing that has helped a bit is to add ferrite cores to most of my input wires at both ends. Especially any USB wires.
Your friendly electronics shop should have something like these. -
@bhepler a lot of times in longer runs, the data line on the strip itself is the antenna.