B4R Question ESP MCU and EEPROM state after power off

peacemaker

Expert
Licensed User
Longtime User
HI, All

Who was making battery power supply of ESP boards ?
I made the app for NodeMCU ESP8266 and battery power supply. And the power wire is connected to the ESP board via the reed switch that cuts the power off when a magnet is near the switch.
And i have discovered that (when no debugging USB cable, sure) if to cut the power off such way - after power on the EEPROM variables are reset, not saved.

Who touched this situation, how to solve ?

Googled this https://github.com/esp8266/Arduino/issues/1486 - how can it be used?


p.s. strange, but solved after commenting the reset sub... the topic can be deleted.
 
Last edited:
Top