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

Поділитися
Вставка
  • Опубліковано 11 лип 2024
  • 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 роки тому +8

    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 роки тому +1

    Excellent!
    Thank you very much for the example.

  • @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 роки тому +1

    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 роки тому +2

    Great work, keep up the good work

  • @rarenu
    @rarenu 4 роки тому +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.

  • @mixalis5640
    @mixalis5640 4 роки тому +1

    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 ?

  • @FernandoSantos07
    @FernandoSantos07 3 роки тому

    Boas Rui, grande vídeo. Achas que com um SET de antenas melhor terias um alcançe melhor?

  • @it_solved
    @it_solved 4 роки тому

    thanks a lot

  • @leandrocosta4283
    @leandrocosta4283 4 роки тому +3

    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 !!

  • @ricardoricardo7800
    @ricardoricardo7800 3 місяці тому

    Boas Rui, grande video. Parabéns.
    Será possivel enviar os dados para um lorawan gateway e aceder em qualquer parte do mundo pelo TTN ?

  • @youssefselkani
    @youssefselkani 2 роки тому

    This thing is cool

  • @aminaboujnen7378
    @aminaboujnen7378 4 роки тому

    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

  • @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?

  • @shakerileiwat4341
    @shakerileiwat4341 4 роки тому

    Great

  • @emilletesadiwa7854
    @emilletesadiwa7854 4 роки тому

    Hi. Do you have a project for smart energy meter uses esp32 OLED v1?

  • @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!

  • @danielvieira2012
    @danielvieira2012 4 роки тому

    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

  • @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.

  • @erummasood
    @erummasood 4 роки тому

    Hi! Can you please include LoRaWAN security (OTAA) in this tutorial? Right now there is no encryption

  • @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?

  • @statuskaraanonlymv592
    @statuskaraanonlymv592 Рік тому +1

    When I upload code to lora using IDE software it shows hard resetting via RTS pin error how to rectify that

  • @Chretze
    @Chretze 3 роки тому

    What's the range on these modules? Is 3km realistic?

  • @ameiliaw8191
    @ameiliaw8191 10 місяців тому

    can we try uplod it via platform io? what is the difference between normal "upload" than "ESP32 Data Sketch Upload" ?? thxx

  • @michaeldudicof9898
    @michaeldudicof9898 Рік тому

    Can lora module to send image by using Esp32cam ?

  • @leggooo3225
    @leggooo3225 3 роки тому

    Hello , i have the problem with this.
    When i upload program, on the serial monitor "BME 280 not valid, check wiring"
    How about this ?

  • @mariagabrielafalensiawatu5436

    sir, is it possible to access the monitoring website with other device with different network?

  • @leggooo3225
    @leggooo3225 3 роки тому

    If the output failed, how do we know where the errors that occur in the system?
    Thank you

  • @jeffegg2
    @jeffegg2 3 роки тому

    My board Oled seems to have a non standard address. Where can I set this address??

  • @bvijiVenkatasamy
    @bvijiVenkatasamy 3 роки тому

    is this code and project work for heltec make lora esp32?

  • @funzone35
    @funzone35 2 роки тому

    how meny miles can this work for

  • @shrushtihegde9714
    @shrushtihegde9714 3 роки тому

    hello sir any idea how to send message from web server to another device?

  • @rafaelvieira5982
    @rafaelvieira5982 3 роки тому

    boa tarde da para fazer este processo para mais de um sender

  • @pitalokasekarkhoirunnissa195
    @pitalokasekarkhoirunnissa195 4 роки тому

    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?

  • @TaeheonK
    @TaeheonK 3 роки тому

    I connected BME280 sensor but It wasn’t working... Even I changed address 0x77 for 0x76. How can I resolve this?

  • @sebastiantv108
    @sebastiantv108 3 роки тому

    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..

  • @shakerileiwat4341
    @shakerileiwat4341 4 роки тому

    how to access esp32 from anywhere using MIT inventor app (phone)

  • @leggooo3225
    @leggooo3225 3 роки тому

    Hallo, for Gui use Html , right ?

  • @luisrojas1103
    @luisrojas1103 4 роки тому

    how can you edit the date and time zone

  • @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

  • @Saketh-Chandra
    @Saketh-Chandra 4 роки тому

    Can we do it with micropython?

  • @SOMBRADANOITE69
    @SOMBRADANOITE69 3 роки тому

    Parabéns por mais esse vídeo,pena que nao tem tradução para português.

  • @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 роки тому +1

      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 ua-cam.com/video/OVsqGX0iBOM/v-deo.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👍🏼

  • @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 роки тому +1

      @@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 2 роки тому

    Rui, how do I change the code to water level instead this sensor? Can you help me?