scottlawsonbc / audio-reactive-led-strip

:musical_note: :rainbow: Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
MIT License
2.67k stars 642 forks source link

Using ESP8622 - LED 1 bulb lit, no seeming input from RX #349

Open brbintenyears opened 2 years ago

brbintenyears commented 2 years ago

I've been racking my brain and trying everything trying to get it to work, I'm not sure what's going wrong.

Things I've done: flashed the ESP8622 (Adafruit Huzzah Feather) module using the Arduino IDE successfully. I then disconnected it from the computer and powered it separately then pinged its local IP to make sure it's connected and received response with no packet loss.

I made sure the number of LEDs is the same on config.py and ws2812_controller.ino before flashing it onto module. Same applies for local IP.

I'm using a 5m WS2812b strip with a total of 300 LEDs, but I've set the # of LEDS in the scripts at 256. I've also tested this using a smaller 1m strip with 56 LEDs and had the same problem.


Maintaining that RX is always connected to the data input of the LED strip:

All resulted with a single LED lit up (the first bulb-- on either end when powering from both ends, which just tells me that's not even tied to the module).

I've also tried to test the strip using led.py, but nothing happens.

brbintenyears commented 2 years ago

After some more research, I came up with that a single LED on a WS2812/2812b strip draws ~ 0.06A. For a total of 256 LEDs, that comes out to 15.36A, but since the strip has 300 LEDs (18A), a 5V 15A power supply might work dimly, a 5V 20A power supply is guaranteed to power it properly.

I've only been using a 2.4A power supply, so this might where my issue is. I found these little things which should provide the correct current, I'll find one and post an update with my results.


I'm going to wire it up as follows and see the results:

Screen Shot 2021-12-15 at 10 34 48 AM
joeybab3 commented 2 years ago

It's very likely that your LED's drew too much power causing the ESP to brownout, have you tried it with say, 10 leds? Also give one of the adafruit demo sketches a try and see if that works