Professional Documents
Culture Documents
Menu SHOP
ESP32, IoT/Wireless
Send Sensor’s Data to ThingSpeak Using ESP32
by Idris November 6, 2019
Introduction
Previously I have shared on how to send sensor’s data to ThingSpeak IoT platform using
Raspberry Pi. Now I want to try with ESP32. You may refer to this tutorial first to install ESP32
board package.
Video
This video will show you how to send sensor’s data to ThingSpeak by using ESP32 and
Arduino IDE.
https://tutorial.cytron.io/2019/11/06/send-sensors-data-to-thingspeak-using-esp32/ 1/6
10/12/2020 Send Sensor's Data to ThingSpeak Using ESP32 | Tutorials of Cytron Technologies
Hardware Preparation
This is the list of items used in the video.
Node32 Lite
Sample Program
This is Arduino sample program to read sensor’s data from MPL3115A2 module for every 2
seconds, and send it to ThingSpeak for 20 seconds time interval.
91 prevMillisSensor = millis();
92 }
93
94 if (millis() – prevMillisThingSpeak > intervalThingSpeak) {
95
96 // Set the fields with the values
97 ThingSpeak.setField(1, pascals);
98 ThingSpeak.setField(2, altitude);
99 ThingSpeak.setField(3, celsius);
100
101 // Write to the ThingSpeak channel
https://tutorial.cytron.io/2019/11/06/send-sensors-data-to-thingspeak-using-esp32/ 2/6
10/12/2020 Send Sensor's Data to ThingSpeak Using ESP32 | Tutorials of Cytron Technologies
Thank You
References:
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron
Technical Forum.
Show Comments
RELATED TUTORAIL
https://tutorial.cytron.io/2019/11/06/send-sensors-data-to-thingspeak-using-esp32/ 3/6
10/12/2020 Send Sensor's Data to ThingSpeak Using ESP32 | Tutorials of Cytron Technologies
Log Sensor Data from Sense HAT to Google Sheets using Raspberry Pi
https://tutorial.cytron.io/2019/11/06/send-sensors-data-to-thingspeak-using-esp32/ 4/6
10/12/2020 Send Sensor's Data to ThingSpeak Using ESP32 | Tutorials of Cytron Technologies
PREVIOUS NEXT
Basic Usage of iMAX B6AC LiPo Charger Control Servo With Gesture Using ESP3…
LATEST TUTORIAL
IoT/Wireless Raspberry Pi
3D Printing Raspberry Pi
Raspberry Pi
Raspberry Pi
Raspberry Pi
All Tutorials
Motor / Robot
Raspberry Pi
Maker UNO
Arduino
PIC
IoT / Wireless
Sensor
SHOP
© 2007 - 2020 Cytron Technologies Sdn Bhd. All Rights Reserved
https://tutorial.cytron.io/2019/11/06/send-sensors-data-to-thingspeak-using-esp32/ 6/6