While browsing Aliexpress, I stumbled upon some intriguing LoRa modules and decided to give them a try. I ended up purchasing three LoRa LLCC68 modules.

I wanted to create a low-power application utilizing LoRa technology. My background includes working on an NB-IoT project for my master’s thesis, so I was eager to explore another low-power wireless technology.

As with any new technology, I began with a simple Hello World application. However, when I attempted to mount the ESP32-C3 with the LoRa modules on a breadboard, I encountered a problem: the LoRa module pins had a 2 mm spacing, making them incompatible with a standard breadboard. To solve this, I designed an adapter board in KiCad that converts the pin spacing to be breadboard-compatible:

Adapter board, front view

With the LoRa module now breadboard-compatible, I set up two nodes using ESP32-C3 boards: one as a receiver and the other as a transmitter, as shown below:

Transmitter and Receiver LoRa nodes

For this experiment, I used the basic example from the nopnop2002/esp-idf-sx126x repository. The wiring was done according to the following table:

SX126X/LLCC68ESP32ESP32-S2/S3ESP32-C2/C3/C6
BUSYGPIO17GPIO39GPIO3
RSTGPIO16GPIO38GPIO2
TXENN/CN/CN/C
RXENN/CN/CN/C
MISOGPIO19GPIO37GPIO4
SCKGPIO18GPIO36GPIO5
MOSIGPIO23GPIO35GPIO6
NSSGPIO15GPIO34GPIO7
GNDGNDGNDGND
VCC3.3V3.3V3.3V

Using the ESP-IDF to build the example, I flashed one ESP32 as the transmitter and the other as the receiver. The monitor output is shown below:

Application monitor output

The poor reception and signal quality were due to the lack of an antenna; the PCB trace was functioning as a antenna. Despite this, it was a successful first interaction with LoRa technology. It demonstrated that working with LoRa isn’t as daunting as it might seem and inspired several potential applications, such as creating open/close end-device sensors for my house gates.

This initial experiment has sparked numerous ideas for future projects, and I’m excited to explore more advanced LoRa applications. Thank you for joining me on this journey into LoRa technology. Stay tuned for more updates and projects!

Happy experimenting!

jmmb