# Flickering random colors

**URL:** <https://wled.discourse.group/t/flickering-random-colors/12210>\
**Category:** Issues\
**Created:** [July 9, 2024, 8:44am UTC](https://wled.discourse.group/t/flickering-random-colors/12210 "2024-07-09T08:44:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benn](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@Benn](https://wled.discourse.group/u/Benn)\
**Post date:** [July 9, 2024, 8:44am UTC](https://wled.discourse.group/t/flickering-random-colors/12210/1 "2024-07-09T08:44:30Z")

</div>

[![](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/2/20744ea83d6b08b54029ede502ec4f427a284a3e.jpeg "Led flashing random colors") ](https://www.youtube.com/watch?v=0mwKkYLKOBY)

Hello all! My led are flashing random colors.  
My setup

- total 24 strip esp8266 (powered with mirco usb and ground connected to led and PSU)
- WS2811
- 12v 3A PSU (amp limited to 1.2 A in wled app)

I’ve read [about levels](https://kno.wled.ge/basics/faq/#my-leds-act-funny-and-flicker-randomly)  
Reason 1,2, and 4 is not related to this problem. And I’m wondering if reason 3 (levelshifter) is the cause of this flickering. But, I’ not sure if it is really the problem, since there are times when my led works perfectly fine.

When I connected the esp to a single long strip it works perfectly fine. And when I connected to this led setup ( leds connected with parallel and series) It shows random colors. But, when I lower the brightness to 40, it works fine again. I’m really confused and have no idea what is causing this problem, because it appears randomly (sometimes it works and sometimes it’s flickering). It is because I’m not using levelshifter or the parallel connection?

 ![wiring](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/3/3935c75fd336f7cbede1181ba35fa90b0b0a7b75.png)

---

<div class="post-metadata">

**Author:** ![dedehai](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/dedehai/32/7265_2.png) [@dedehai](https://wled.discourse.group/u/dedehai)\
**Post date:** [July 9, 2024, 12:04pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/2 "2024-07-09T12:04:41Z")

</div>

yes, missing levelshifter can cause this. primary reason actually.

---

<div class="post-metadata">

**Author:** ![Benn](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@Benn](https://wled.discourse.group/u/Benn)\
**Post date:** [July 9, 2024, 12:17pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/3 "2024-07-09T12:17:56Z")

</div>

Thanks for the reply. Is there a reason why the flickering didn’t occured when I connected it to a single long strip, but when I connected it to the other setup the flickering happens?

---

<div class="post-metadata">

**Author:** ![dedehai](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/dedehai/32/7265_2.png) [@dedehai](https://wled.discourse.group/u/dedehai)\
**Post date:** [July 9, 2024, 12:28pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/4 "2024-07-09T12:28:55Z")

</div>

the reason is luck. without a shifter, you are not within specifications of the LEDs and if they work or not has to do with tolerances.

---

<div class="post-metadata">

**Author:** ![Benn](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@Benn](https://wled.discourse.group/u/Benn)\
**Post date:** [July 9, 2024, 12:32pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/5 "2024-07-09T12:32:29Z")

</div>

Ok thank you very much

---

<div class="post-metadata">

**Author:** ![Benn](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@Benn](https://wled.discourse.group/u/Benn)\
**Post date:** [July 9, 2024, 1:42pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/6 "2024-07-09T13:42:56Z")

</div>

@dedehai I couldn’t find the recommended level shifter from [Other Hardware - WLED Project](https://kno.wled.ge/basics/compatible-hardware/#levelshifters) neither 74HCT2G17 from your page in my country. I could only find SN74HC125N and SN74HCT32N. I noticed that you’ve tested 74hctxx. Will it work? If so should I use the same capasitor and resistor shown here [Other Hardware - WLED Project](https://kno.wled.ge/basics/compatible-hardware/#levelshifters)? Thank you

 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/1/135b448a12140ea583ce576abf20d4eeed88b568.jpeg)

---

<div class="post-metadata">

**Author:** ![dedehai](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/dedehai/32/7265_2.png) [@dedehai](https://wled.discourse.group/u/dedehai)\
**Post date:** [July 9, 2024, 2:18pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/7 "2024-07-09T14:18:14Z")

</div>

it needs to be a 74HCTxxx (the T is important). SN74HCT32N works, just wiring is different as this is an OR gate.

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [July 9, 2024, 5:07pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/8 "2024-07-09T17:07:11Z")

</div>

The first diagram on the KB Levelshifters page (“Other Hardware …”) has the diagram for the 74HCT32 (same as 74AHCT32).

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [July 9, 2024, 7:22pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/9 "2024-07-09T19:22:22Z")

</div>

When running strips in parallel you are splitting the data signal, reducing it’s power to each leg and without a level shifter you are already below the correct data signal spec. Even with the shifter if you split the data too many times you will still have flickering, requiring a booster. I did not run into the problem till I got over something like 15-20 splits while using a level shifter\*\*

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [July 9, 2024, 7:32pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/10 "2024-07-09T19:32:02Z")

</div>

And one other easy trick - send your data line to more than 1 level shifter.  
Each shifter then becomes a brand new valid data source.

---

<div class="post-metadata">

**Author:** ![Benn](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@Benn](https://wled.discourse.group/u/Benn)\
**Post date:** [July 10, 2024, 3:36pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/11 "2024-07-10T15:36:10Z")

</div>

Thank you Jinx, that explains why it didn’t flicker when I connected it to a single strip. I’m planning on to only use 6 splits so I think that won’t be a problem if I use a single levelshifter. But I couldn’t find SN74HCT32N either in my country. There are only SN74HCT245N and CD74HCT32E both are missing the letter (A)HCT and the second one has the letter CD instead of SN. Will it work? and will it use different capasitor, resistor and wiring from the diagram used on [Other Hardware - WLED Project](https://kno.wled.ge/basics/compatible-hardware/#levelshifters)? And TXS0108 is very easy to get in my country but I’m aware that it’s too slow for WLED. Which one should I get?

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [July 10, 2024, 5:46pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/12 "2024-07-10T17:46:10Z")

</div>

> [@Benn](#):
>
> I couldn’t find SN74HCT32N either in my country. There are only SN74HCT245N and CD74HCT32E both are missing the letter (A)HCT and the second one has the letter CD instead of SN. Will it work?

The SN74HCT245N should work fine. It is the same as a 125 but offers 8 I/O’s vs 4 so it will be a bit larger. You still need the .1uF cap. I would not use any resistor unless you find that you need one.

Wiring diagram from KB:

 ![](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/3/32c59f763bbaf0464758819e1816be6d7ff625d0.jpeg)

AHCT is a more advanced (faster) chip and is more power efficient than the standard HCT, but the HCT should still work.

---

<div class="post-metadata">

**Author:** ![Benn](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@Benn](https://wled.discourse.group/u/Benn)\
**Post date:** [July 11, 2024, 2:05am UTC](https://wled.discourse.group/t/flickering-random-colors/12210/13 "2024-07-11T02:05:06Z")

</div>

Thank you so much

---

<div class="post-metadata">

**Author:** ![Benn](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@Benn](https://wled.discourse.group/u/Benn)\
**Post date:** [July 11, 2024, 12:59pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/14 "2024-07-11T12:59:56Z")

</div>

![diagram](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/5/56cfb33671322e33381c949683f48204551a43b4.png)  
Sorry last question. I’m using an external 12v PSU for the WS2811 and stepdown to 5v for the ESP82266 and the SN74HCT245N. I just want to make sure, is this the correct wiring?

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [July 11, 2024, 6:10pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/15 "2024-07-11T18:10:07Z")

</div>

looks good to me.

---

<div class="post-metadata">

**Author:** ![Benn](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@Benn](https://wled.discourse.group/u/Benn)\
**Post date:** [July 11, 2024, 11:43pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/16 "2024-07-11T23:43:26Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [July 12, 2024, 11:21am UTC](https://wled.discourse.group/t/flickering-random-colors/12210/17 "2024-07-12T11:21:36Z")

</div>

The only other thing to watch out for: make sure you ground all the unused inputs of the '245 (as shown in the wiring diagram).  
Floating inputs will cause flickering as well.

---

<div class="post-metadata">

**Author:** ![Benn](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@Benn](https://wled.discourse.group/u/Benn)\
**Post date:** [July 12, 2024, 4:13pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/18 "2024-07-12T16:13:03Z")

</div>

Yep, I’ve connected all the unused input to ground. There was not much flickering in solid mode (only flicker when changing colors), but in other modes it was still flickering (first three leds working fine). And now lowering the brightbess doesn’t stop the flickering. I have no idea why is it still flickering.

Note: I haven’t got the 5v stepdown so I’m using microusb connected to my laptop, and I conected the vin from esp to the levelshifter.

[![](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/7/7ca7fec388c14b094c4111304831979e6f0a3286.jpeg "12 July 2024") ](https://www.youtube.com/watch?v=ItP9DuEaVgg)

 ![IMG_1083](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/d/d3fad01dbadc3e381d20458e4c2795dce15be495.jpeg)

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [July 12, 2024, 6:19pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/19 "2024-07-12T18:19:58Z")

</div>

If that yellow wire is a dupont bread board jumper wire I would use something else. Those at times can make poor connections and are very small gauge.

I got to ask… Why the odd strip setup with them running in parallel? and that one set of 2 strips are coming off the other one before it’s last set of pixels?

 ![3935c75fd336f7cbede1181ba35fa90b0b0a7b75](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/8/84f92b28127507512bec019603594ee5cc7baf05.png)

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [July 12, 2024, 8:22pm UTC](https://wled.discourse.group/t/flickering-random-colors/12210/20 "2024-07-12T20:22:35Z")

</div>

My next step would be to improve the ESP supply side of things. A proper dedicated 5V supply (or 12V-\> 5V buck converter

[Next page](https://wled.discourse.group/t/flickering-random-colors/12210.md?page=2)
