DIY projects to create and program LoRa and LoRaWAN nodes using ESP32, M5Stack, Raspberry Pi. LoRa is a low-power wide-area network that covers the physical layer, while LoRaWAN covers the upper layers. The nodes cost just a few dollars and enable you connecting to LoRaWAN gateways at a distance up to 10 km or more.
The "Pico" board with the RP2040 chip developed by the Raspberry Pi Foundation is the latest tiny fast and versatile board in Arduino Nano format. As you may already know, the board can be programmed using MicroPython and C/C++. In this tutorial, I extended the official MicroPython version to support cryptographic primitives, and this unlocks the possibility to connect the board (using the SX1276 chip) to the "The Things Networks" (TTN) - which means LoRaWAN support.
I've just updated the LoRa/LoRaWAN repository for MicroPython and added a configuration that works on the M5Stack Fire using the LoRa868 Module. Therefore, this will help you connect the M5Stack Fire to the "The Things Network (TTN)"!
If you're new to MicroPython read this tutorial: Tutorial: Getting Started with MicroPython on ESP32, M5Stack, and ESP8266If you want to know more about the LoRaWAN and MicroPython, read this article: Tutorial: ESP32 running MicroPython sends data o...
This tutorial is about programming the M5Stack Atom using MicroPython to transfer data to a LoRaWAN gateway. The gateway is then connected to the "The Things Network" (TTN) to process the data.
Before you start reading, check out the video of this setup!
The M5Stack ATOM Matrix is the most compact development board in the M5Stack development kit series with a size of only 24 x 24 x 14 mm and a weight of 14 g.
- 6 GPIO (Dupont Pins)
- GROVE/4Pin PH2.0 interface
- 5 x ...
LoRa is a wireless data communication technology that enables you to transmit data over a very-long-range (more than 10 km in rural areas) with low power consumption. It uses license-free sub-gigahertz radio frequency bands as the 169 MHz, 433 MHz, 868 MHz for Europe, and 915 MHz for North America.
In October 2018, I published an article about LoRa and ESP32, and I uploaded a project to GitHub. The project includes a SX127x driver for ESP32 running MicroPython. However...
This is a short article to share with you that I've just registered a LoRaWAN gateway and right now I have one of the 10106 online gateways connected (see Fig. 1) to "The Things Network"!
Fig 1: LoRaWAN gateways in Hanover
I will be making some tests in the coming weeks, and I am planning to redesign the code in lemariva/uPyLoRa to connect to ...
LoRa (Long Range) is a patented digital wireless data communication technology. It was developed by Cycleo of Grenoble in France and then acquired by Semtech in 2012. Semtech defines the Lora Technology "as the DNA of IoT, which connects sensors to the Cloud and enables real-time communication of data and analytics that can be utilized to enhance efficiency and productivity".
To sum up, LoRa is a wireless data communication technology that enables very-long-range transmissions (mo...