...
Boot count starts to increment after deep sleep, but microcontroller randomly still RESETs
I now have a way to know when things are working properly
One can clearly see when boot count is getting RESET to 0
...
Left graph: ADC reported battery voltage vs. time
Right graph: bootCount vs. time
**Notice how bootCount periodically resets after incrementing for some time. This is typical behavior is the ESP32 RESETs when activating WiFi radio.
Long term TODO:
- Hall Effect sensor based wind and rainfall measurement
- I2C based wind counter, easier to periodically read instantaneous wind values with ULP
- Layout ESP32 on main PCB, get rid of the dev module entirely
- Really attack the deep sleep current support
- Add FET switch for powering down all peripherals while in deep sleep
- No power LED constantly drawing current
- LoRaWAN stack
...