This repository contains modified versions of the Meshtastic firmware specifically optimized for solar repeater nodes based on the nRF52840 architecture.
Many users of RAK4631 or XIAO nRF52 nodes suffer from the same issue: after several cloudy days, the node depletes its battery and enters a sleep state from which it never wakes up, even when the sun comes out again and the battery recharges. This forces physical trips to manually reset the device.
I have audited and modified the power management flow to fix this behavior:
- Smart FSM Management: The "Critical Battery" threshold has been redefined to 3.4V.
- The node now enters deep sleep in a controlled manner before the voltage drops to levels that cause regulator instability.
- Hardware Resurrection (LPCOMP): The low-power comparator of the nRF52 chip has been enabled and configured.
- The hardware monitors the voltage and triggers an automatic reset (Wake-up) when it detects that the solar charge has raised the battery to safe levels (~3.7V).
You can find the .uf2 binaries ready to flash in the Releases section:
- RAK4631: Optimized for WisBlock.
- XIAO nRF52840: Standard version and I2C version.
- Pro Micro DIY: For custom implementations.
This fix is the result of several hours analyzing schematics and the Meshtastic source code to improve the resilience of our networks. If this work has saved you a trip to the roof to reset a node:
For technical consulting on professional Mesh network deployments or low-power audits, you can contact me privately.
This repository contains the official device firmware for Meshtastic, an open-source LoRa mesh networking project designed for long-range, low-power communication without relying on internet or cellular infrastructure. The firmware supports various hardware platforms, including ESP32, nRF52, RP2040/RP2350, and Linux-based devices.
Meshtastic enables text messaging, location sharing, and telemetry over a decentralized mesh network, making it ideal for outdoor adventures, emergency preparedness, and remote operations.
- 🔧 Building Instructions – Learn how to compile the firmware from source.
- ⚡ Flashing Instructions – Install or update the firmware on your device.
Join our community and help improve Meshtastic! 🚀
