Blynk App And Lora Transreceiver Interfacing

About the project

Sending The Data From The LoRa Modules To Blynk Servers Using Ai-Thinker LoRa Modules

Project info

Difficulty: Moderate

Platforms: ArduinoBlynkNodeMCU

Estimated time: 6 hours

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Resistor 1k ohm Resistor 1k ohm x 1
LED (generic) LED (generic) x 1
LM1117 3.3 V REGULATOR LM1117 3.3 V REGULATOR x 1
433 Mhz Antenna 433 Mhz Antenna x 2
Ai-Thinker Ra-02 LoRa Module Ai-Thinker Ra-02 LoRa Module x 2
DHT11 Temperature & Humidity Sensor (3 pins) DHT11 Temperature & Humidity Sensor (3 pins) x 1
ElectroPeak 0.96" OLED 64x128 Display Module ElectroPeak 0.96" OLED 64x128 Display Module x 1
NodeMCU ESP8266 Breakout Board NodeMCU ESP8266 Breakout Board x 1
DFRobot FireBeetle ESP32 IOT Microcontroller (Supports Wi-Fi & Bluetooth) DFRobot FireBeetle ESP32 IOT Microcontroller (Supports Wi-Fi & Bluetooth) x 1

View all

Software apps and online services

Wire Stripper & Cutter, 18-10 AWG / 0.75-4mm² Capacity Wires Wire Stripper & Cutter, 18-10 AWG / 0.75-4mm² Capacity Wires
Multitool, Screwdriver Multitool, Screwdriver
Storage Case, General Purpose Storage Case, General Purpose
Solder Flux, Soldering Solder Flux, Soldering
PCB Holder, Soldering Iron PCB Holder, Soldering Iron
Solder Wire, Lead Free Solder Wire, Lead Free
Blynk Blynk
Arduino IDE Arduino IDE

View all

Hand tools and fabrication machines

Soldering iron (generic) Soldering iron (generic) x 1

Story

Connecting LoRa with cloud Requires LoRaWAN Gateway is a bit Costlier and does not have any mobile phone application to visualize the received data. relying on the web dashboard to see the received data every time is not handy. In order to overcome these issues, I have Interfaced LoRa modules with Blynk App.

Here in this project, I am using two separate circuits to transmit the data using LoRa, Receiving, and retransmitting the data to Blynk. I am using Ai-Thinker Ra-02 LoRa modules in this project.

in order to test the project, I am using a DHT11 sensor as an input and sending the temperature and humidity details to the cloud server through the Lora module and internet.

To test the operating range I have kept the Transmitter 1.5 Km away from the receiver at that time received signal sensitivity is - 100 dB.

1 / 3

in this project, I am using ESP32 instead of the Arduino series microcontroller because of the Logic voltage level difference(Arduino microcontroller logic voltage level is 5 volt), the Ai-Thinker Ra 02 modules work on 3.3-volt logic voltage level. The difference in logic voltage level creates the communication problem between the LoRa and microcontroller hence I have chosen the ESP32 and NodeMCU where the logic voltage levels of both the microcontroller are 3.3volt.

To transmit the data and Receiving data I am utilizing the Arduino Json V6 library. this library helps to receive the data and helps to process the data easily.

Transmitter Section

In this transmitter section, I am using ESP32, OLED, Temperature, and humidity sensor, Ai-Thinker Ra 02 LoRa Module. this transmitter section part collects the temperature and humidity data from the DHT11 and transmits the data using Ai-Thinker Ra 02 LoRa module and displays data on the OLED Display.

Transmitter Section Block diagram

Transmitter Section Block diagram

Transmitter Section Block diagram

Transmitter Section Front View

Transmitter Section Front View

Transmitter Section Front View

Receiver and Retransmitting Section

In this section, I am using NodeMCU and receiving the data from the LoRa Module. in order to retransmit the received data to the cloud server(Blynk Server), I am using the internet connection by utilizing the Wi-fi function of the Nodemcu. the NodeMCU transmits the data to the server's predefined virtual ports. On the Blynk App, we can analyze the received data and can be store those data for future references.

To analyze the signal sensitivity of the receiver I am sending the RSSI details to the virtual Port where we can analyze the Signal sensitivity in the graph.

Receiver Section Block Diagram

Receiver Section Block Diagram

Receiver Section Block Diagram

Receiver Circuit

Receiver Circuit

Receiver Circuit

A View of LoRa Module Unplugged from the Board

A View of  LoRa Module Unplugged from the Board

A View of LoRa Module Unplugged from the Board

Blynk App Output

Blynk App Output

Blynk App Output

Schematics, diagrams and documents

Receiver Part Connection SCH

Transmitter Part Connection SCH

Code

Transmitter Code

To compile the code you need Libraries.

Receiver Code

To compile the code you need to install the predefined Libraries

Credits

Leave your feedback...