Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brbintenyears opened this issue Dec 15, 2021 · 2 comments
Open

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

brbintenyears opened this issue Dec 15, 2021 · 2 comments

Comments

@brbintenyears
Copy link

brbintenyears commented Dec 15, 2021

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:

  • I've tried powering ESP8622 using USB, and powering LED separately with 5V 2.4A power supply
  • I've tried powering ESP8622 using USB, then taking USB output (pin) straight to the +V of the LED strip, and grounding LED with ground pin on module
  • I've tried powering LED Strip using 5V supply, and sharing that power supply using the USB pin (functions as Voltage out as well as Voltage In according to Adafruit's documentation) and ground pin.
  • I've tried powering BOTH ends of the LED strip.
  • I've powered ESP8622 using computer USB and monitored Serial Monitor while running visualization.py, and I see that it is receiving input, but seemingly no output.

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 brbintenyears changed the title Using ESP8622 - LED 1 bulb lit, no seeming input from RX Using ESP8622 - LED 1 bulb lit, no seeming input from RX (possible amp issue) Dec 15, 2021
@brbintenyears brbintenyears changed the title Using ESP8622 - LED 1 bulb lit, no seeming input from RX (possible amp issue) Using ESP8622 - LED 1 bulb lit, no seeming input from RX Dec 15, 2021
@brbintenyears
Copy link
Author

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants