logo elektroda
logo elektroda
X
logo elektroda

Wemos ESP2866 Burnt When Connecting WS2812b LED Strip

PaintedMan 1680 11
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19531031
    PaintedMan
    Level 5  
    Posts: 15
    Rate: 6
    Some time ago I purchased a Wemos ESP2866 module to use as a wireless controller for a WS2812b led strip.
    Wemos ESP2866 Burnt When Connecting WS2812b LED Strip .

    After soldering the goldpins I connected it to the computer. Smoke went up. I quickly unplugged the unit, but noticed no damage (apart from a stain near the orange capacitor). I changed the cable, reconnected it to the computer.

    I managed to upload the WLED software. That is, by this point the board was relatively functional. I proceeded with the next part. I tried to connect to the WLED but was unable to, the board was going out. The hub has an auxiliary power supply, so I decided to switch to the charger from the phone. Connection diagram below inspired by what I found on the WLED website (https://github.com/Aircoookie/WLED/wiki) Wemos ESP2866 Burnt When Connecting WS2812b LED Strip

    Shortly after connecting, the board died on the amen. Heavily heated, the miniusb port pulled out of the board when trying to disconnect. I am unable to verify if it is still bootable.

    Photo of the damaged board
    Wemos ESP2866 Burnt When Connecting WS2812b LED Strip

    What went wrong? Is a manufacturing defect to blame? Or did I make a mistake later and "hit" the board when connecting to the power supply and led strip? If I did something wrong, I would like to avoid the same mistake in the future
  • ADVERTISEMENT
  • #2 19531085
    Grzegorz Markowski
    VIP Meritorious for electroda.pl
    Posts: 5318
    Help: 900
    Rate: 750
    How is the ESP board powered? I am referring to the positive pole of the voltage. According to your drawing, it is fed from the level converter board, not from the power supply.
    Also, if I'm not mistaken, you didn't connect +5V from the converter to the Vin of the ESP board only to, depending on whether the board is shown from the side as in the picture or the other side, to D0 or A0. The Vin is near the USB port.
  • #3 19531190
    tos18
    Level 42  
    Posts: 7022
    Help: 1089
    Rate: 1811
    Something more about this level converter and the power supply, will you write ?
  • #4 19531215
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #5 19531857
    PaintedMan
    Level 5  
    Posts: 15
    Rate: 6
    Grzegorz Markowski wrote:
    How is the ESP board powered? I am referring to the positive pole of the voltage. According to your drawing, it is fed from the level converter board, not from the power supply.
    Also, if I'm not mistaken, you didn't connect +5V from the converter to the Vin of the ESP board only to, depending on whether the board is shown from the side as in the picture or from the other side, to D0 or A0. The Vin is near the USB port.
    .

    The board was powered by a microusb. Although I also suspect some problem with the cable because on the first one (the one I used when the smoke first went) the module was not detected in the device manager. Although I find it hard to believe that a faulty cable would cause such damage.

    The vin was supposed to be a 5v source for the logic converter, as I read that it can be either a power source for the board (but you can't use it as a source at the same time as connecting it via usb) or as a source of voltage for the components connected to the board (provided the current requirement is within esp capabilities)

    The damage I noticed first: the square element marked AB1742 where the indentation in the pictures is visible in my case is an exposed leg. You could feel the components heating up strongly near the 3.3v outputs Then the orange capacitor was burnt.
  • Helpful post
    #6 19532153
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #7 19532163
    Anonymous
    Level 1  
  • #8 19532222
    PaintedMan
    Level 5  
    Posts: 15
    Rate: 6
    I have read that without a logic converter there are voltage fluctuations which cause flickering so I figured since I have a converter there is no reason not to use it. However, going back to my initial question, could the cable have damaged the board when first connected? For future reference I will avoid using the VIN as this may have caused additional problems.

    What would be a better alternative to such a board? Are there perhaps some based on the ESP8266 but having 5v logic on the pins, like the arduino nano?
  • #9 19532249
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • Helpful post
    #10 19532365
    Anonymous
    Level 1  
  • #11 19532398
    PaintedMan
    Level 5  
    Posts: 15
    Rate: 6
    Thank you for your help and comments, topic altogether to be closed.
  • #12 19532711
    starob
    Level 29  
    Posts: 1088
    Help: 128
    Rate: 137
    khoam wrote:
    It was sufficient that the first WS2812B on the MCU side worked correctly i.e. its DIN input worked correctly with 3V3 logic. DIN and DINOUT are not directly connected to each other in a given WS2812B circuit.
    .
    Exactly!!!
    The trick described https://hackaday.com/2017/01/20/cheating-at-5v-ws2812-control-to-use-a-3-3v-data-line/ has worked reliably for me for several years now

Topic summary

✨ The discussion revolves around a Wemos ESP2866 module that experienced damage when connected to a WS2812b LED strip. The user reported smoke and overheating, particularly near the orange capacitor and a component marked AB1742. Responses highlighted potential issues with power connections, particularly the use of the VIN pin and the importance of proper voltage levels when interfacing with the WS2812b. Suggestions included avoiding the VIN pin when using USB power and ensuring correct connections to prevent damage. The conversation also touched on the use of logic level converters and the possibility of using alternative boards with 5V logic levels for better compatibility.
Generated by the language model.

FAQ

TL;DR: WS2812B expects ~0.7×VDD HIGH (≈3.5 V at 5 V), and “the minimum VIH is 0.7VDD.” Miswiring VIN/level shifters or powering via USB and VIN together can fry the regulator. This FAQ helps ESP8266/WLED users wire WS2812B safely and avoid burnouts. [Elektroda, khoam, post #19532163]

Why it matters: A small wiring mistake can smoke the LDO, rip off the USB port, and kill your strip controller.

Quick Facts

What likely burned on my Wemos when the strip was connected?

The onboard AMS1117 linear regulator is a prime suspect. It can overheat if VIN is misused or when USB and VIN are both powered. “It is safest to forget about using the VIN pin” when on USB. Replace the board or regulator if damaged. [Elektroda, khoam, post #19531215]

Can a bad USB cable burn an ESP8266 board?

Unlikely. If the cable previously worked, a faulty or loose USB socket on the board is a more probable cause. Heat and stress can worsen a weak connector. Inspect or replace the board-side socket before blaming the cable. [Elektroda, khoam, post #19532365]

How should I power a Wemos and a level shifter safely?

Power the Wemos via USB or a proper 5 V pin, not VIN when on USB. Feed the level shifter’s 5 V pin from the +5 V rail. “VIN should not be connected to the ‘5V’ pin of the level converter.” Share grounds between all devices. [Elektroda, khoam, post #19531215]

Should I use the VIN pin if I also power via USB?

No. Do not use VIN when USB is connected. This can stress the AMS1117 and cause failure. The safest approach is a single power path during operation or testing. [Elektroda, khoam, post #19531215]

Do I really need a level shifter for WS2812B with ESP8266?

According to the WS2812B note, the input HIGH is 0.7×VDD, about 3.5 V at 5 V. 3.3 V logic is marginal. “The minimum VIH is 0.7VDD.” A level shifter improves reliability and reduces flicker risk. [Elektroda, khoam, post #19532163]

Can WS2812B work from ESP8266 without a level shifter?

Yes, it can, depending on the strip. One user ran 51 LEDs from a D1 mini using a 470 Ω data resistor and a 5 V/5 A supply. Performance varies by batch and wiring quality. Test carefully. [Elektroda, Anonymous, post #19532153]

Where should I connect the level shifter’s 5 V pin?

Connect it directly to the +5 V supply rail. Do not use Wemos VIN for this. If your board exposes a 5 V output pin, you may use that instead. This ensures proper shifter operation. [Elektroda, khoam, post #19531215]

Why did my USB port rip off when unplugging?

Overheating and mechanical stress can weaken the USB socket’s pads. A marginal or defective socket can then tear off during unplugging. A poor connector is more likely than a cable fault here. [Elektroda, khoam, post #19532365]

Are there ESP8266 boards with 5 V logic like an Arduino Nano?

No. Contributors report not seeing ESP8266 modules with 5 V GPIO. Use a level shifter or suitable interfacing method when driving 5 V logic devices. [Elektroda, khoam, post #19532365]

What soldering mistakes cause smoke on first power-up?

A solder bridge near the G pin or overheated parts can short power. Excess solder can make tiny, hard-to-see shorts. Inspect under strong magnification before powering. Clean up any bridges and reflow suspect joints. [Elektroda, Anonymous, post #19532153]

Did WLED firmware cause the failure?

No. The board worked after uploading WLED, indicating the MCU was fine. Failure occurred later during power and wiring changes to the strip and converter. The root cause is electrical, not firmware. [Elektroda, PaintedMan, post #19531031]

How do I wire a basic WLED + WS2812B setup without a shifter?

  1. Use a suitably strong 5 V supply (example: 5 A for a 51‑LED strip).
  2. Share grounds between PSU, ESP8266, and the strip.
  3. Insert a 470 Ω resistor in series on the data line from ESP8266 to DIN. This setup worked for at least one user. [Elektroda, Anonymous, post #19532153]

Why does only the first LED need to accept 3.3 V data?

Because “DIN and DINOUT are not directly connected.” If the first LED accepts 3.3 V as HIGH, its DOUT regenerates the signal for the rest. Subsequent LEDs then receive a stronger output level. [Elektroda, khoam, post #19532365]
Generated by the language model.
ADVERTISEMENT