Need a help to troubleshoot issue with IoT project

Subscribe to the forum to receive notifications about new posts.
Post Reply
Sareeka
Posts: 4
Joined: Tue Oct 08, 2024 6:11 pm

Hi guys
Currently I'm working on a my industrial project which is based on the IoT. I'm facing some problems and not able to solve them. I’m hoping someone here can provide some suggestions for troubleshooting.
My project is based on the incubator. I'm using few sensors like; temperature sensor, humidity and water detection sensors. For data collection and process, I'm using ESP8266 controller. I’m also using LORA communication modules to transmit data over longer distances, as my sensors are assembled in the incubator on the filed and I want the data on my monitor. The system works fine for a few hours, but then the data transmission becomes unreliable. Some times the system fails to transmit the data and some time I'm receiving incomplete data packs. My project needs a proper drafting of the graph with precise values but received data is complete waste now. I have rebooted the whole system, re-calibrate al the sensors but nothing works.I'm not sure if the LORA or WiFi modules are experiencing interference in the field.
How can I properly diagnose the issue?
Sareeka
Posts: 4
Joined: Tue Oct 08, 2024 6:11 pm

I forgot to mentioned that I suspect the issue could be related to power management, signal interference, or a memory leak in the code. I'm using a Li-Ion 4200 mAh battery. I’m not sure if it's delivering consistent power over time.
User avatar
Shraddha
Posts: 74
Joined: Fri Jun 14, 2024 3:54 pm

Oh, it seems like you're facing a potential issue with the application.
You can consider adding a voltage regulator or a to smooth out any fluctuations. Ensure that your LoRa and WiFi modules are operating on different frequencies to avoid interference. LoRa typically operates at 433MHz or 868MHz, while WiFi operates at 2.4GHz. Properly position the antennas of your LoRa modules to maximize signal strength and minimize interference. Keep them away from large metal objects and other electronic devices. Check your code for memory leaks. Ensure that you are not dynamically allocating memory without freeing it. Use tools like Valgrind to detect memory leaks. Implement error checking and correction mechanisms in your data transmission. Use checksums to verify the integrity of the data packets.
Also, take a look at- https://how2electronics.com/lora-sx1278 ... -receiver/ and https://forum.arduino.cc/t/problems-wit ... ra/1055846
Post Reply