Hi, I’m using Heltec Wifi Lora 32 to build a Lora Receiver as in Module 11, Unit 3. I’m using the exact code as in the tutorial but I noticed that when I opened the web server, my ESP32 seems to delay/late in receive for the next reading (almost 30 to 60 seconds late). when I closed the web server, the sensor readings keep back to normal, which in this case,updated for every 2 seconds. Can you explained what should I do? thank you.
Hi.
I think what is happening is that the connection to the web server doesn’t close and it doesn’t update with new sensor readings.
In your web server code: https://github.com/RuiSantosdotme/ESP32-Course/blob/master/code/LoRa_Project/LoRa_Receiver/LoRa_Receiver.ino
Add a few more lines of code as described here: https://rntlab.com/question/solved-esp32-web-server-drops-connection-crashes/
Let me know if it helps.
Regards,
Sara