...
When RESET or initial power on happens on non 5V USB power (using LiIon battery and MCP1700)
WiFi radio begin() will fail and system reboots
second connect will pass
sequence fails again after deep sleep and timer WAKE
TODO: Scope 3.3V supply and look for any signs of droop
monitor regulator output and 3V3 pin on dev module
Observed that fully charged battery will RESET controller after deep sleep, but as voltage gets < ~4.1V controller stops resetting.
...
More data to follow. This is a placeholder chart. I expect to see /boot/ topic to start to increase when batteryVoltage goes down.
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
...