• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 sends sensor data via LoRa to Raspberry Pi with Node Red

Q&A Forum › Category: Home Automation › ESP32 sends sensor data via LoRa to Raspberry Pi with Node Red
0 Vote Up Vote Down
Leo asked 2 years ago

Hello Sara & Rui,
I want to combine two projects in your courses: (Home Automation and ESP32 Arduino):
I Would like to Send sensor data from an ESp32 via LoRa to an Raspberry PI Home controller and use the data in Node-RED.
The LorA part with the ESP32 is not the problem. And I am able to to so with WiFi . But now would love to use the ESP32 with batteries as remote soil and temperature  sensor and send the data to the Raspberry Pi where I can use that sensor data in Node-RED flows. (To make an automated Garden watering system and more).
I looked into lots of examples, but could not find a good way to receive the LoRa data with the Raspberry PI and use it in Node-Red. I would like to use the standard RFM95 module 868 Mhz, or an E32 serial module at the PI and use a Node that reads the Data in a Node-Red flow.

Do you have any suggestions for me ? Would be much appreciated.

Thanks in advance,

Leo van Selm.

Question Tags: LORA, Raspberry Pi
6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi Leo.
 
Have you thought about using MQTT?
The ESP32 boards can send data to Node-RED that is hosted on the Raspberry Pi. What do you think?
 
If you want to receive LoRa in the Raspberry Pi, you need to connect a module with LoRa “capabilities”.
Unfortunately, at the moment, we don’t have any tutorial to receive data via LoRa on a Raspberry Pi.
 
Alternatively, you can have two ESP32 boards. One is a Lora sender, and the other is the receiver. The receiver (closer to the RPi) gets the LoRa packets and sends them to the RPi via MQTT.
 
What do you think of these suggestions?
Regards,
Sara

0 Vote Up Vote Down
Leo answered 2 years ago

Thank you Sara,
I will try the setup with two ESP boards.
 
Thanks,
 
Leo

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Great!
Then, let me know how it went.
Regards,
Sara

0 Vote Up Vote Down
answered 2 months ago

@Leo, did you succeed in doing the above topology? Even, I am looking to connect two ESP32 boards with LoRa modules to a Raspberry Pi using MQTT. It would be helpful for me to understand how to do this?

0 Vote Up Vote Down
Leo answered 2 months ago

Hello Dhanush,
I have not investigated this further, so I’m sorry but I have no suggestions for you.

0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Hi Danush.
What is exaclty your issue?
Can you open a new question with your issue, please?
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.