LoRaWAN built using the RHF76-052 with optional Antennas. RHF76-052 is designed by Ai-Thinker, it is a LoRaWAN ™ UART modem & compatible device, supports LoRaWAN communication. It's based on the RHF76-052 module and an embedded LoRaWAN stack. You can use M5 core as a host MCU to control this this modem with simple AT command or UART.
Since LoRa defines the lower physical layer, the upper networking layers were lacking. LoRaWAN was developed to define the upper layers of the network. LoRaWAN is a media access control (MAC) layer protocol but acts mainly as a network layer protocol for managing communication between LPWAN gateways and end-node devices as a routing protocol, maintained by the LoRa Alliance.
you can upgrade your work with a LoRa / LoRaWAN radio, so it can communicate over very long distances and extremely low power consuming.
By default, the UART configuration: "9600, 8, n, 1"(8 bits data, no parity, 1 stop bit)
*Notice: The 5 holes which are under the silk screen "LoRaWAN" are designed for upgrading the firmware of LoRaWAN module.*
Resources | Parameter |
---|---|
Net weight | 16g |
Gross weight | 28g |
Product Size | 54.2*54.2*12.8mm |
Package Size | 60*57*17mm |
Work temperature | -40 ~+85C |
Storage temperature | -40 ~ +90C, < 90% RH |
2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.
3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to download driver
*RHF76-052_UART* | *ESP32 Chip* |
---|---|
RXD | GPIO17 |
TXD | GPIO16 |
M5Stack Fire has occupied GPIO16 / 17 to connect with the PSRAM by default, it's conflict with TXD / RXD (GPIO16, GPIO17) in this module. Therefore, when using the LoRaWAN module with the M5Stack Fire, you might have to cut the TXD and RXD from LoRaWAN module and wire fly to another set of UART pin
This is a example of p2p LoRaWAN modules communication. Reference to 3.6 Point to Point communication with LoRa
of
LoRaWAN User Manual
.
Function: Press button B to set 433MHz as LoRaWAN operating frequency, and send "Hello World"; Press button C to set 868MHz as LoRaWAN operating frequency and send "Hello World"; Press button A to clear the screen.