Internet is the main key for Internet of Things project and normally we will use WiFi as the connection. However, sometimes, you need to place your IoT project for a long time and no WiFi coverage at that area. I mean, set your smartphone as hotspot is not practical for this case. To solve this problem, you can consider GPRS. Just bought a SIM card with data plan (no need much quota) and use it with TTGO T-Call ESP32 SIM800L. So in this tutorial, I will share with on how to log sensor data to blynk server using GPRS. Then, export the data in CSV format for further analysis.
This video shows how to log sensor data to Blynk server using GPRS on TTGO T-Call ESP32 SIM800L.
This is the list of items used in the video.
|TTGO T-Call ESP32 SIM800L||Altimeter MPL3115A2 Module|
TTGO T-Call ESP32 Breakout PCB
This is Arduino sample program to send sensor data to Blynk server using GPRS. Please make sure your SIM card have data plan. Before compile, please install following libraries on Library Manager.
- Adafruit MPL3115A2 Library by Adafruit Version 1.2.2
- Blynk by Volodymyr Shymanskyy Version 0.6.1
- TinyGSM by Volodymyr Shymanskyy Version 0.7.9
- TTGO T CALL – Blynk App GSM | ESP32 SIM800L
- ESP32 Publish Data to Cloud without Wi-Fi (TTGO T-Call ESP32 SIM800L)
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.