A self-designed and built LoRa sensor: an ultra-low-power, long-range sensing and control board that can run for years on battery power, and programmable like a typical Arduino-based system.
Wireless sensors are a popular choice for home automation and monitoring projects. The main disadvantage of wireless sensors is that they are often limited by their range and power consumption. After some experimentation with LoRa, I decided to design and build my own LoRa sensor board.
The main goals were:
This project is a part of my Home Automation system, details can be found here
The sensor board was designed completely from scratch and focuses on efficiency, flexibility, and reliability.
Core components:
The board is fully programmable and behaves like a standard Arduino Pro Mini, allowing rapid firmware development and easy integration with existing toolchains.
Low power consumption was the central design constraint. Every part of the system was optimized to minimize standby current:
The measured sleep current is 5.3 µA.
Tested with a energy meter pulse counter, which is sending every 3 minutes the used energy, it took outdoor 3 years before the battery (3500mAh) was empty.
Actual battery life depends heavily on transmit interval, payload size, temperature, and battery aging. In real deployments, conservative software design is still required.
This board is designed for locations where running cables is difficult or impractical:
Because the firmware is fully programmable, the same hardware can be reused for very different applications.
I developed the following projects based on this board:
The system does not rely on a specific cloud platform and can be integrated with any LoRa gateway or custom receiver.
The network of LoRa sensors can be controlled and monitored remotely via the USB LoRa gateway. Which can be found in the following repository:
The LoRa2MQTT service can be found in the following repository:
This project resulted in a compact, efficient, and flexible LoRa sensor that enables long-term autonomous operation in locations that are otherwise hard to monitor.
Its strengths are flexibility, low power consumption, and long wireless range, while the main engineering challenge remains finding the right balance between responsiveness and battery life.