WS2812b not responding correctly

Hi all,

So I've got 4x5m of WS2812B, all data cables seperately connected to my Due, with a logic level shifter between the Due and the ledstrips, and the Due and power supply (24v). An Arduino Uno is responsible for the remote.
I recently installed the LLS because one of the four strips was not responding at all. Now all four respond, but in a very cacophonic way. That is to say, whatever button I push on the remote, the ledstrips just flash at random, or only light a few leds. Anyone who can address the real problem here?

Attached you can find the code.

arduino-due-ontvanger_2.ino (14.5 KB)

If You attach schematics we can check if the powering is okey.
Also, attach code using code tags adviced in the instrucing topics like "How to use this Forum", How to attach…"
Then a lot more helpers will be able to step in.

your StopAlles variable needs to be declared as 'volatile bool' since you are using it inside your ISR.

Your code does not compile because you have the second two strings with undeclared constants

  FastLED.addLeds<NEOPIXEL, xxPINNUMBER>(leds[2], NUM_LEDS);
  FastLED.addLeds<NEOPIXEL, xxPINNUMBER>(leds[3], NUM_LEDS);

Hmmm. What exactly do you mean by a "logic level shifter"?

You need a 74HCT14 for the purpose. You can use various 74HCxx devices, but if you have something that is not a 74HCxx or 74ALSxx, it is likely the wrong module for the purpose. :roll_eyes:

Paul__B:
Hmmm. What exactly do you mean by a "logic level shifter"?

You need a 74HCT14 for the purpose. You can use various 74HCxx devices, but if you have something that is not a 74HCxx or 74ALSxx, it is likely the wrong module for the purpose. :roll_eyes:

Of course, a schematic (not a pretty Fritzing picture) would help a lot.