LEDStrip stopped working

Hello guys,
short: My LED strip doesn't work anymore, but it did before and I dont know where the problem is.
Now some details:
Components I use:
-NodeMCU (ESP8266) https://amzn.to/3rzPeRO
-5m 300 Leds adressable WS2812B Strip https://amzn.to/39nUPnV
-5v 12A Power Supply https://amzn.to/3waqYZX

The Problem:
I use this strip for a few weeks now and, most of the time, it worked.
2 times one LED had a malfunction, so i cut it out and soldered the strip back together.
But 2 days ago the strip wouldn't light up anymore and i have no idea what happened.
I measured the voltage in the strip andchanged every possible component, such as Microcontroller, Data cable and strip.
I had a small piece of strip left, since i cut it off from the long one. I connected it to the controller and supply, unfartunately I messed up the poles (connected GND to 5v and 5v to GND), so I am still not sure if both strips are broken, or is the malfunction somewhere else?
I also wrote the smallest possible piece of code, to exclude any malfunction there (I usually have a bunch of Blynk, Amazon echo and Fourier Transformation stuff in there)
Here is the easy code:

#include <Arduino.h>
#include <ESP8266WiFi.h>
#include "FastLED.h"

#define NUM_LEDS 25
#define DATA_PIN 5
CRGB leds[NUM_LEDS];

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  FastLED.addLeds<WS2812B, DATA_PIN>(leds, NUM_LEDS);
}

void loop() {
  // put your main code here, to run repeatedly:
  fill_solid(leds, NUM_LEDS, CRGB(255, 0, 120));
  FastLED.show();
  Serial.println("On.");
  delay(1000);
  fill_solid(leds, NUM_LEDS, CRGB(0, 0, 0));
  FastLED.show();
  Serial.println("Off.");
  delay(1000);
}

Do you have any ideas what tests I could do to find the problem or where it might be?
I would be very thankful if you can help me, because I don't know what to do anymore despite of buying a new strip.
Looking forward to your answer,
Leo M.

PS: Sorry for any grammar mistakes, i'm not a native speaker.

It appears you may have fried the ESP board. Disconnect everything from it and run the blink sketch and see if it works. If it does try the radio and connect to your wifi. Connect your voltmeter to the control pin for the LEDS and in software turn it on and off about every second. If that works get a new LED strip, if not change pins or get a new controller. More information would enable a better answer. I have no idea what the parts you are using really are or there requirements. Next time also post links to them.

Where is the level converter, to reliably drive a 5volt-logic LED strip from a 3.3volt-logic processor,
and the (470uF) capacitor, right on the power connector of the first LED, and the ~330 ohm termination resistor, to protect MCU/LED data line.
Leo..

Wawa:
Where is the level converter, to reliably drive a 5volt-logic LED strip from a 3.3volt-logic processor,
and the (470uF) capacitor, right on the power connector of the first LED, and the ~330 ohm termination resistor, to protect MCU/LED data line.
Leo..

Oopsie :sweat_smile: ...
I don't have these things at home and I didn't think it would be that important.
I ordered a 1000 uF 16v Capacitor and 330 resistor now, but i'm not sure about the level converter.
It always worked properly and i never read that you really need it. (only if you want to power the microcontroller with 5v, but in my nodeMCU the vin pin does the job of a level shifter.)

gilshultz:
It appears you may have fried the ESP board. Disconnect everything from it and run the blink sketch and see if it works. If it does try the radio and connect to your wifi. Connect your voltmeter to the control pin for the LEDS and in software turn it on and off about every second. If that works get a new LED strip, if not change pins or get a new controller. More information would enable a better answer. I have no idea what the parts you are using really are or there requirements. Next time also post links to them.

Sure, I will add the links as soon as possible.
But how am I supposed to see if it works when the strip is not connected? Also what do you mean with "try the radio"? If you mean the Data Pin (in this case D1 or GPIO5) when you say "control Pin", i tried to measure it with a voltmeter connected to the GND Pin and it stays on 0V the whole time. Although I think that it has to be this way, since the Pin is a digital one and not analogue. And as I said I switched the controller as well as the Pin already.
Sorry that I have so many questions...
Thanks for the answer,
Leo M

leom12:
(only if you want to power the microcontroller with 5v, but in my nodeMCU the vin pin does the job of a level shifter.)

That does not make sense. Nothing to do with power.

Addressable LEDs expect 5volt digital data, but a 3.3volt pocessor (like the ESP8266) only outputs 3.3volt data.
Has been covered many times in the "LEDs and Multiplexing" section of the forum.
Read this.
Leo..

Wawa:
Read this.

Thanks, that helps a lot. This is my first project with arduino and Leds and stuff, so I still learn a lot of new things.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.