softwarecrash / Daly2MQTT

ESP8266 Connector to get Daly / XENES / HI-BMS / BullTron BMS Data into MQTT systems
Other
138 stars 30 forks source link

[Bug]: Second wemos dead in 2 months #128

Closed murfy76 closed 9 months ago

murfy76 commented 10 months ago

Is there an existing issue for this?

Used Hardware?

Wemos D1 Mini

What happened?

Hello,

I'm experienced second Wemos dead in 2 months. Last time, there was short over current which caused inverter to disconnect circuit. After switch OFF and ON the inverter all start working normally expect Daly2BMS Wemos. It was powered from USB board, like the other two ESP's which survived this normally (NodeMCU and Wemos Lite). Daly2BMS Wemos was placed on the battery pack. If you have any suggestion to prevent this it would be great, thank you.

Peter

PS: Inverter is 3000W peak, it means there was cca >1500W and >60A peak on BMS when it happened. BMS itself continue working normally with BT dongle.

Screenshots / Fotos

photo_2023-08-30_11-22-14 photo_2023-08-30_11-22-10 photo_2023-08-30_11-22-07

Steps To Reproduce

No response

Version

2.x.x and above

Relevant livejson output

ESP is dead

Which BMS is connected?

Daly Smart BMS 60A Common Port, LiFePO4 8S 24V

What browsers are you seeing the problem on?

no Issue with the Browser or WebUI

softwarecrash commented 10 months ago

Have you read at https://github.com/softwarecrash/Daly2MQTT/wiki/Wiring If you supply the Wemos externally with power: NEVER use for example 5V output of the battery or similar. ALWAYS use a separate USB power supply (cell phone charger). Otherwise there is a risk that the Wemos will be destroyed!

what happens by your wemos? simple its a ground loop, the BMS and/or the inverter close the power connection, and now the gnd from your build goes over the esp and over usb to your inverter, so the magic smoke comes out ;)

note: the BMS cuts only the GND connection, so every thing that will connected to the data ports will supply gnd again, and the wemos or whatever incl. the data ports cant handle the current flow. for save use, use a ADUM1201 and isolate the ESP from the BMS

murfy76 commented 10 months ago

Your explanation make perfect sense. My Wemos was supplied from Epever load output through USB Step Down Converter. I'll change this to separate USB power supply. Thank you!