Software Items
Software Repository Location
https://github.com/jhughes1010/weather
NOTE: Rain tip gauge not functioning properly until ESP32 reboot issue is solved. This has nothing to do with software. The tip count gets destroyed during reboot.
Software Notes
Deep sleep is working
RTC variables are used to store information that I do not want to lose during deep sleep
rain tip gauge count for hour
rain tip gauge count for last 24 hours (23 h actually)
Calibration of ADC measurement of battery
Measure battery while observing batteryADC
Calibration factor = voltageBattery/batteryADC
Setting parameters in secrets.h
Â
Software Enhancements
TODO:
Removed - Legend for blinking LED diagnostics
I created a blinking LED indicator for the purpose of inducing what is going on when disconnected from serial UART pins.
5 LED blinks initial boot
3 LED blinks indicates passing WiFi connection
EXIT 1 blink (WAKE reason code). Not waking, but rather a RESET event. WAKE REASON returns 0, but added 1 to see something
EXIT 2 blink - tip gauge EXT0 WAKE
EXIT 4 blink - timer based WAKE
Â