ESP32 LoRa Sensor Monitoring with Web Server (Long Range Communication)

  Переглядів 78,364

Rui Santos

Rui Santos

День тому

For complete project details (schematics + source code), visit ► RandomNerdTutorials.com/esp32...
Get ESP32 LoRa32 SX1276 board ► MakerAdvisor.com/tools/ttgo-l...
BME280 Sensor Module ► MakerAdvisor.com/tools/bme280...
In this project, you’ll build a sensor monitoring system using a TTGO LoRa32 SX1276 OLED board that sends temperature, humidity and pressure readings via LoRa radio to an ESP32 LoRa receiver. This receiver displays the latest sensor readings on a web server.
Installing the ESP32 Board in Arduino IDE (Windows, Mac OS X, Linux): randomnerdtutorials.com/insta...
Install ESP32 Filesystem Uploader in Arduino IDE: randomnerdtutorials.com/insta...
Libraries required (how to install the libraries in the project page):
- LoRa library: arduino-LoRa library by sandeep mistry
- OLED libraries: Adafruit_SSD1306 library and Adafruit_GFX library
- BME280 libraries: Adafruit_BME280 library and Adafruit unified sensor library
- ESPAsyncWebServer library
- Async TCP library
- NTPClient library forked by Taranais
Like my page on Facebook:
/ randomnerdtutorials
Follow me on twitter:
/ ruisantosdotme
Subscribe for more projects like this!
bit.ly/subscribeRNT
#ESP32 #IoT #Arduino

КОМЕНТАРІ: 68
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
You can access the step-by-step project instructions (schematics + source code) on my blog ► RandomNerdTutorials.com/esp32-lora-sensor-web-server/ You can also grab 2x ESP32 LoRa32 SX1276 boards ► MakerAdvisor.com/tools/ttgo-lora32-sx1276-esp32-oled/
@shogunvanrepi3555
@shogunvanrepi3555 Рік тому
the reference link explains that the measurement results in this project are stable at a distance of 180 meters, what if the required monitoring range is around 10 kilometers? are there additional programs? or change the module type?
@viniciusnoyoutube
@viniciusnoyoutube 4 роки тому
Excellent! Thank you very much for the example.
@mixalis5640
@mixalis5640 3 роки тому
Great and useful tutorial gongrats! I have a question for a project of mine.....do you know how to connect an sw-18010p vibration sensor to the ESP32 LoRa32 SX1276 board ?
@beautifulsmall
@beautifulsmall 3 роки тому
Using the reciever code as boilerplate , great everything you need instructional (the blog not this vid). swapped out the HTML sensor readouts for a table (online table generator), added cell ID's , to color fill with IR array incoming data (TBD). Opens up so many rabbit holes not usually within arduino programmers view. HTML, javascript, AJAX, I never knew the in the HTML page is where javascript lurks. On the ttgo oled LoRa sma board, I2C is default not re-assigned. Great work.
@josuemorgan
@josuemorgan 4 роки тому
Parabéns, Rui! Muito bom seu canal! Sempre muito completo seus tutoriais. Muito bem explicado. O conteúdo no site é super didático e completo.
@TheGuyknowstech
@TheGuyknowstech 4 роки тому
Great work, keep up the good work
@RuiSantosdotme
@RuiSantosdotme 4 роки тому
Thanks for watching!
@leandrocosta4283
@leandrocosta4283 4 роки тому
Good morning, i would like to know how can i put 3 devices together and possible and add the mqtt? my idea is to open a remote gate and check if the reed switch is open or closed ... you could do this example. I just joined your channel and I'm already becoming a fan !!
@rarenu
@rarenu 3 роки тому
Hi, this is really a nice project, thank you for publishing it. Please suggest me a pointer, how to add one more sender node. Thank you in advance.
@FernandoSantos07
@FernandoSantos07 3 роки тому
Boas Rui, grande vídeo. Achas que com um SET de antenas melhor terias um alcançe melhor?
@aminaboujnen7378
@aminaboujnen7378 3 роки тому
Excellent! Thank you very much for the example. but i have a problem in my projet , i don't know how a well communicate the node (is based a lora32u4II ) and the getseway , how i well transfer message to the node in my geteway
@emilletesadiwa7854
@emilletesadiwa7854 4 роки тому
Hi. Do you have a project for smart energy meter uses esp32 OLED v1?
@danielvieira2012
@danielvieira2012 3 роки тому
Rui boa noite ! Estou tentando utilizar um módulo cartao sd com o esp 32 ttgo e nao estou conseguindo. Com o esp 32 nodemcu funciona normalmente. Pelas minhas pesquisas há um conflito entre a comunicaçao spi do módulo lora e o cartao sd
@erummasood
@erummasood 4 роки тому
Hi! Can you please include LoRaWAN security (OTAA) in this tutorial? Right now there is no encryption
@ameiliaw8191
@ameiliaw8191 7 місяців тому
can we try uplod it via platform io? what is the difference between normal "upload" than "ESP32 Data Sketch Upload" ?? thxx
@shogunvanrepi3555
@shogunvanrepi3555 Рік тому
the reference link explains that the measurement results in this project are stable at a distance of 180 meters, what if the required monitoring range is around 10 kilometers? are there additional programs? or change the module type?
@taphoastudio5188
@taphoastudio5188 4 роки тому
I have a project , its the same to your project. My problem is how to build a system webserver for transmit data. another problem is how to change received data to analog data for display on the screen. Can you help me? Thank you so much!
@leggooo3225
@leggooo3225 3 роки тому
If the output failed, how do we know where the errors that occur in the system? Thank you
@Chretze
@Chretze 3 роки тому
What's the range on these modules? Is 3km realistic?
@bvijiVenkatasamy
@bvijiVenkatasamy 3 роки тому
is this code and project work for heltec make lora esp32?
@victortorres2080
@victortorres2080 3 роки тому
Friend, Congratulations on the project, with my two new Heltec Lora 32, implement the tutorial pass or pass. Query: In the database, where is the record of sent variables stored? I am interested in generating a history. Greetings.
@it_solved
@it_solved 4 роки тому
thanks a lot
@ricardoricardo7800
@ricardoricardo7800 Місяць тому
Boas Rui, grande video. Parabéns. Será possivel enviar os dados para um lorawan gateway e aceder em qualquer parte do mundo pelo TTN ?
@Claudio-wr6hs
@Claudio-wr6hs 2 роки тому
hi, bro. my question is a next. for example if i have 3 boards and 2 of this one on 833E6 band one transmitter an the other like a reciver so what will do if i´ll start the thirth like a transmitter on same band but whit other packet?? So, how can do it for to aplly security to my transmition, and dont have interference from other person than choisse the same band?
@michaeldudicof9898
@michaeldudicof9898 Рік тому
Can lora module to send image by using Esp32cam ?
@statuskaraanonlymv592
@statuskaraanonlymv592 Рік тому
When I upload code to lora using IDE software it shows hard resetting via RTS pin error how to rectify that
@mariagabrielafalensiawatu5436
@mariagabrielafalensiawatu5436 Рік тому
sir, is it possible to access the monitoring website with other device with different network?
@rafaelvieira5982
@rafaelvieira5982 3 роки тому
boa tarde da para fazer este processo para mais de um sender
@shrushtihegde9714
@shrushtihegde9714 2 роки тому
hello sir any idea how to send message from web server to another device?
@pitalokasekarkhoirunnissa195
@pitalokasekarkhoirunnissa195 3 роки тому
I have problem, when i uploaded the program with the bme 280 use esp32 ttgo module it's failed .. but when i change the esp32 with Arduino sensor it's works.. hello anyone can help me?
@leggooo3225
@leggooo3225 2 роки тому
Hello , i have the problem with this. When i upload program, on the serial monitor "BME 280 not valid, check wiring" How about this ?
@jeffegg2
@jeffegg2 3 роки тому
My board Oled seems to have a non standard address. Where can I set this address??
@luisrojas1103
@luisrojas1103 3 роки тому
how can you edit the date and time zone
@TaeheonK
@TaeheonK 3 роки тому
I connected BME280 sensor but It wasn’t working... Even I changed address 0x77 for 0x76. How can I resolve this?
@usfslk
@usfslk 2 роки тому
This thing is cool
@RuiSantosdotme
@RuiSantosdotme 2 роки тому
Thanks for watching!
@shakerileiwat4341
@shakerileiwat4341 4 роки тому
how to access esp32 from anywhere using MIT inventor app (phone)
@funzone35
@funzone35 Рік тому
how meny miles can this work for
@yukiosamu2664
@yukiosamu2664 Рік тому
my module cant transfer data more than 1 meter, someone who can show me TTTGO LORA32 data sheet, i want to know the maximum lora range for that module
@thunderkilll1037
@thunderkilll1037 3 роки тому
IS THERE ANY EMULATOR FOR THE ESP32 Lora
@leggooo3225
@leggooo3225 3 роки тому
Hallo, for Gui use Html , right ?
@sebastiantv108
@sebastiantv108 2 роки тому
Hello! Could this be modified to have 2 or more Lora boards that send sensor data to the gateway? What would happen if the transmission is simultaneous?
@nazmymahadzir3647
@nazmymahadzir3647 2 роки тому
Set for gateway request from node in sequence. Example gateway request from lora node 1, then node 2 and next..
@Saketh-Chandra
@Saketh-Chandra 4 роки тому
Can we do it with micropython?
@shakerileiwat4341
@shakerileiwat4341 4 роки тому
Great
@ijazahmed619
@ijazahmed619 4 роки тому
I used Ai thinker RA-02 lora module at 433Mhz I got the same 180meters how do I increase the range to atleast 1km using the same modules.they say these modules can get range upto 10kms
@valenok
@valenok 4 роки тому
for LoRa it is very little. Improve the antenna! I have 700 meters through an apartment building
@ijazahmed619
@ijazahmed619 4 роки тому
Мамин Бродяга can you share the antenna details for LORA ?
@valenok
@valenok 4 роки тому
@@ijazahmed619 look for broadband antenna 1/4 433 GP or 433 dipole or like that ukposts.info/have/v-deo/h4akpX2PZ59zsIE.html
@valenok
@valenok 4 роки тому
@@ijazahmed619 It is important to raise the antenna as high as possible and away from walls and objects, short cable. The antenna is adjustable to a specific frequency by lengthening or shortening.
@ijazahmed619
@ijazahmed619 4 роки тому
Мамин Бродяга thanks for the information👍🏼
@SOMBRADANOITE69
@SOMBRADANOITE69 3 роки тому
Parabéns por mais esse vídeo,pena que nao tem tradução para português.
@willyouwright
@willyouwright 4 роки тому
Why wouldnt you just use esp-now instead??
@RakshithPrakash
@RakshithPrakash 4 роки тому
Espnow range too low, uses too much power . This one doesn't use 2.4ghz
@willyouwright
@willyouwright 4 роки тому
@@RakshithPrakash the guy qith the swiss accent showed how you can use one for 6 month on a coin cell. And esp now can also be used in a mesh. It also has way more bandwidth.. why would i use lora..
@RakshithPrakash
@RakshithPrakash 4 роки тому
@@willyouwright espnow works at maybe 100m max in Line of sight , this one can easily reach couple kilometres , guy with the Swiss accent reached around 300kms using lora.
@willyouwright
@willyouwright 4 роки тому
@@RakshithPrakash range is nice. But i cant really think of many applications.. maybe a blinking led. Over such low bandwodth connection . Lora is ok. I just prefer esp now. Thanks. Great article.. 😊
@fininaveiro8823
@fininaveiro8823 4 роки тому
Ruido santos. Esta melhor se falase em portugués;)
@shogunvanrepi3555
@shogunvanrepi3555 Рік тому
the reference link explains that the measurement results in this project are stable at a distance of 180 meters, what if the required monitoring range is around 10 kilometers? are there additional programs? or change the module type?
@dangelo4379
@dangelo4379 Рік тому
Rui, how do I change the code to water level instead this sensor? Can you help me?
Rutgers University Confirmed: Meshtastic and LoRa are dangerous
13:27
Andreas Spiess
Переглядів 697 тис.
ESP32: ESP-NOW Web Server Sensor Dashboard (ESP-NOW + Wi-Fi)
6:00
Rui Santos
Переглядів 79 тис.
ЗРЯ Я 24 ЧАСА СТОЯЛ НА ГВОЗДЯХ! #нонале
00:35
Tech Note 111 - ESP32 LoRa Modules - Sending and Receiving Data
6:47
G6EJD - David
Переглядів 52 тис.
Getting started with ESP32 development using the TTGO T-DISPLAY
16:08
Retro Tech & Electronics
Переглядів 108 тис.
Getting Started with LoRa & testing Range in my City
12:39
techiesms
Переглядів 112 тис.
ESP32/ESP8266 Relay Module - Control AC Appliances (Web Server)
6:10
Rui Santos
Переглядів 247 тис.
Einstieg in LoRaWAN (TTN) mit dem Heltec LoRa32 V3 Board
21:25
AEQ-WEB
Переглядів 10 тис.
How to use LoRa Module with Arduino - Range Test - RYLR406 15KM
13:00
Ahmad Logs
Переглядів 301 тис.
Wireless Water Level Indicator using LoRa and ESP32 | TTGO LoRa32
12:08
Electronic Clinic
Переглядів 34 тис.
НЕ ВЫБРАСЫВАЙ СТАРЫЙ РОУТЕР D-LINK! #shorts
0:59
iphone X Convert To Iphone 11Pro #iphonex #iphone11pro #shorts
0:13
Technical Mobile
Переглядів 4,1 млн
Продать одно приложение дважды
0:49
Real Emil
Переглядів 694 тис.