ThingSpeak Community
ThingSpeak Communication Library for Arduino, ESP8266 and ESP32
The ThingSpeak Communication Library for Arduino, ESP8266 and ESP32 enables an Arduino or other compatible hardware to write or read data to or from ThingSpeak, an open data platform for the Internet of Things with MATLAB analytics and visualization.
Link: https://github.com/mathworks/thingspeak-arduino
Installation: In the Arduino IDE, choose Sketch/Include Library/Manage Libraries. Click the ThingSpeak Library from the list, and click the Install button.
Compatible Hardware:
- Arduino/Genuino or compatible using a WiFi Shield
- Arduino/Genuino or compatible using a WiFi Shield 101 (Use the WiFi101 library version 0.13.0 or older.)
- Arduino/Genuino or compatible using an Ethernet Shield
- Arduino/Genuino or compatible using a MKR ETH Shield
- Arduino MKR1000
- Arduino MKR1010
- Arduino VIDOR 4000
- Arduino GSM 14000
- Arduino Uno WiFi Rev2
- Arduino Yún (Rev1 and Rev2)
- ESP8266 programming directly (tested with SparkFun ESP8266 Thing - Dev Board and NodeMCU 1.0 module)
- ESP8266 via AT commands
- ESP32 (tested with SparkFun ESP32 Thing)
Tutorial: https://nothans.com/thingspeak-tutorials/arduino/send-data-to-thingspeak-with-arduino
11 Comments
Time DescendingHello sir,
Where should I move the secrets.h file such as the one for ESP32 https://github.com/mathworks/thingspeak-arduino/tree/master/examples/ESP32/WriteSingleField
Already checked the instructions at https://www.arduino.cc/en/Guide/Libraries but I cannot find a method to add a bare .h -file (only .zip files).
Mr Chris,
How do i read a field value at a specific timestamp
Along with some performance improvements, the latest version of the library supports reading from multiple fields of a channel to your device with a single command.
ThingSpeak.readMultipleFields(ChannelNumber);