Gateway LoRaWAN Monitoring Electricity

Published Jun 27, 2024
 2 hours to build
 Intermediate

Project Gateway LoRaWAN using chip SX278 & MCU ESP32

display image

Components Used

ESP32 DevKitC 32E
ESP32 DevKitC 32E
1
sx1278 Low Power Long Range Transceiver
SX1276 is low power Long Range Transceiver and it can be interface using SPI.
1
RS485 MODBUS Module
Interface Modules RS-485COMMUNICATIONS MODULE/
1
pzem-016
AC Energy monitoring - 1 Phase
1
Description

 

What is the meaning of LoRa Gateway?
In the LoRaWAN network, the LoRa gateway acts as a bridge between IoT (Internet of Things) devices and the network server. The shape can be said to be similar to a WiFi router, but its function is more specific to LoRaWAN networks.

The main tasks of LoRa gateway:

  • Receives data sent by IoT devices (called end nodes) using LoRa modulation technology.
  • Filtering and forwarding the data to the network server via an internet connection or other network.
  • Receives instructions from the network server and sends them back to the relevant IoT device.


LoRa gateway capabilities:

  • Range: Able to receive signals from IoT devices within a certain radius, depending on environmental conditions.
  • Connectivity: Usually connected to the internet using a LAN cable or other wireless connection.
  • Capacity: Can handle communication with many IoT devices simultaneously.

Topology:

 

Data Format

The data received by the LoRaWAN gateway is converted into JSON format, for the following reasons:

  • JSON is a lightweight and efficient data format. JSON uses ASCII characters, which means it can be transmitted    easily over networks with limited bandwidth.
  • JSON is a data format that is easy to read and write. JSON uses a simple and easy to understand structure, so it  can be easily read and written by humans and machines.
  • JSON is a general data format. JSON can be used to represent various types of data, from simple data to complex  data.

 

The results are displayed on NMS PRTG, where the Lorawan gateway is connected to the NMS PRTG server using the MQTT protocol

 

 

 

 

Wiring Diagram (Schematic)

 

 

Codes

Downloads

Screenshot 2024-06-04 200107 Download

Institute / Organization

Padi Technology
Comments
Ad