Go Down

Topic: Issues with led stip and nodemcu (Read 293 times) previous topic - next topic

unielli95

Hi!

i'm facing strange problems using the nodemcu (with the esp8266) and the led stip WS2812B: at the moment i'm trying to turn the led stip on by jsut connecting the red and white wires to the V- and V+ or this https://www.amazon.it/gp/product/B01LZF6NK6/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 (i have bought this one because the led stip wants DC5V and 0.60mA for each led, so more or less 18A)

I'm not wiring the green wire (the data one) because i just want to test the stip.

The result is that my led stip is not turning on. Is the stip faulty? do i have to connect the green wire too?

In order to connect the strip i have connected only the red and white wires (like thi https://www.info4blog.it/wp-content/uploads/2020/01/Schema_Striscia.png)

I also tried to connect the nodemcu to the power supply with the Vin and GN (using 5V) but without succes.


DrAzzy

WS2812-and-similar individually addressable LEDs are controlled by the data sent by the microcontroller (on that third wire, which is apparently green in your case - the colors aren't standardized). If you do not send any data, they won't turn on - you haven't told them to! They're obediently waiting for data to be sent down that dangling wire (it would be really bad if they did turn on of their own accord, because then you'd always need a power supply that could handle all of the LEDs being on at full power; it's quite common to use a smaller power supply if you know your code won't ever turn them all on at once)
ATTinyCore and megaTinyCore for all ATtiny, DxCore for DA/DB-series! github.com/SpenceKonde
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

groundFungus

If you search for "nodemcu ws2812" there are many pages and videos.
You will save everyone's time if you read and follow the forum guidelines.  :)          
https://forum.arduino.cc/index.php/topic,148850.0.html
and
https://forum.arduino.cc/index.php?topic=97455.0

unielli95

WS2812-and-similar individually addressable LEDs are controlled by the data sent by the microcontroller (on that third wire, which is apparently green in your case - the colors aren't standardized). If you do not send any data, they won't turn on - you haven't told them to! They're obediently waiting for data to be sent down that dangling wire (it would be really bad if they did turn on of their own accord, because then you'd always need a power supply that could handle all of the LEDs being on at full power; it's quite common to use a smaller power supply if you know your code won't ever turn them all on at once)
Thank you! adding the data wire did the trick.


If you search for "nodemcu ws2812" there are many pages and videos.
i have searched but did not find the information i was looking for, "if the led strip would have worked without the data wire" but thanks to DrAzzy i got it to work.

thank you guys =)

Go Up