jlab-sensing / soil-power-sensor-firmware

Firmware for STM32 and ESP32 microcontrollers on the Soil Power Sensor board
MIT License
0 stars 3 forks source link

Use the user LED on Wio for upload status #107

Open jmadden173 opened 1 week ago

jmadden173 commented 1 week ago

Describe the Enhancement There is an unused LED on the Wio-E5 module labeled D5 on the board. I think we should use this to indicate the status of uploads. When plugged in the LED turns on indicating that it is joining the network and once it joins and the clock synchronizes the LED turns off. The LED being off when properly configured would save on battery when everything is functioning as expected.

Benefits Increased device usability and allow for a visual check that things are correct without needing to check TTN or the serial output.

Possible Drawbacks More power consumption If implemented incorrectly then it could give false positives

Additional Context N/A