
Some time ago I ordered some radio modules with the SX1276 chip for experimentation. After some time, I finally decided to get around to testing them.

In order to make a sensible estimate of the range and capabilities of these modules, I built several devices: two serving as receivers/transmitters and three transmitters. I programmed all the devices myself from scratch, avoiding off-the-shelf solutions such as Meshtastic.
The receiving part

The receiving part consists of an SX1276 chip connected to an ESP32 on a WT32-ETH01 module and a DC/DC converter powering the whole thing from a 24V passive PoE adapter. The software receives and decodes the signal and then transmits it to the server, creating something like a 'LoRa gateway'. I have built two such gateways: one is connected to a Diamond X30 vertical antenna and the other to an ATK-5 dipole antenna in horizontal polarisation. Both antennas are mounted on a 55-metre stadium light pole, although the location is not ideal as it is at the lowest part of town, right next to the lake. I used about 2 metres of H155 cable at the antennas. In addition to receiving data from the ether, the software on the 'gateway' also allows transmitting and changing the radio configuration. In addition, it has a simple web interface for monitoring the status of the device.



Transmitters


The first transceiver created to estimate the potential was a locator built with ESP8266, SX1276 and NEO6P GPS module. The software in this device first waits for a GPS signal and then formats it into a string such as: "51.16960*69.95865*0" (position and speed). The entire string is encoded with the XOR function, a checksum calculated from the ASCII codes of the entire string is added, and then the whole thing is sent over the radio. Depending on the speed read from the GPS, the device goes to sleep for a certain amount of time. If the speed exceeds 30 km/h, the device does not go to sleep, but sends a position every 5 seconds. The time it takes to send such a string depends on the radio's configuration. I placed the whole thing in an electrical box, which, although it does not look aesthetically pleasing, works properly. The device powered by three 18650 cells works for 4 days. The first tests showed the great potential of this solution, as illustrated by the attached range map.


After determining the range, I built another transmitter with ESP8266, SX1276 and DS18B20 sensor, placing it in an airtight box along with two 3.6V 17Ah lithium batteries. The device only reads the temperature from the DS18B20 sensor, formatting it in string: "L01|25.5|3.567" (ID + temperature reading + battery level), then encrypts and adds a checksum similar to the locator. I installed the device at a distance of 6.5 km from the receiver, in the middle of a forest near Ostróda, attached to a tree. The antenna at the transmitters is an ordinary 'stick' bought for £20. Experiments with a wire dipole gave similar results.

I am very pleased with the results - using a simple method, I have achieved 'telemetry' with a range of practically the entire city, and at distances of up to 2 km, the signal even reaches the basements of buildings. This opens up the possibility of building an energy-efficient burglary radio system without subscriptions or other charges.
In addition, I am measuring the radio background on the frequency 434.250 MHz, on which I am currently experimenting. I am attaching the temperature transmitter code, maybe someone will have interesting suggestions.

Well and a temperature measurement from the forest


Cool? Ranking DIY