My Wemos card is reseting for unknown reason. For example, the pump plugged on the relay works fine till 1am and then the pump stop. After a few research I figured out the ESP should reset because all internal parameters are reseted. enter image description here

My hardware is simple Wemos card + relay + sensors (not here because not connected yet). enter image description here

My program is quite complex. I can command/configure the wemos via webservice (ex relay on pin 5 with on 5min/off 10min). https://github.com/TittyPanda/ESP-commander/blob/master/ESP-COMMANDER

  • OK if no AC device is connected on relay (no reset)
  • OK if a light is connected on relay
  • The issue occurs only when the water pump is connected

Maybe it's an electrical/electromagnetical thing because the pump has motor. What do you think ?


EDIT Power part are done with common wires from power extension cord

AC-DC converter 5 V 1A 1.5A 500mA C-DC converter

Pump 40W 3000L/H 220V 50Hz Pump

  • 1
    What is your pump current consumption? this sound like that you have a power supply that can't deliver sufficient power to the overall circuitry. – hcheung Feb 11 at 10:26
  • It could well be EMI induced by the pump. You need to specify more details about exactly what hardware you're using - what pump, what power supplies, what wiring, etc. – Majenko Feb 11 at 10:33
  • Thanks I added pump & converter info in the post – Titty panda Feb 11 at 12:04
  • @hcheung I'm not sure because the whole system works fine when nothing is plugged on relays (I'm testing a light again but during 24h) – Titty panda Feb 11 at 12:08
  • 1
    I installed the L-C Power Filter between the breadboard and ESP as advised by @gdb. 24 h - no reset -> it was the solution. Thanks all of you for your help and your time. The topic is closed for me. – Titty panda Mar 24 at 7:28

Try add some power filter like this: An LC filter

Filter image

Between the breadboard and ESP board.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.