{"id":2582,"date":"2019-02-12T10:31:48","date_gmt":"2019-02-12T15:31:48","guid":{"rendered":"https:\/\/blogs.mathworks.com\/iot\/?p=2582"},"modified":"2020-12-16T21:19:30","modified_gmt":"2020-12-17T02:19:30","slug":"thingspeak-library-for-arduino","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/iot\/2019\/02\/12\/thingspeak-library-for-arduino\/","title":{"rendered":"ThingSpeak Library for Arduino"},"content":{"rendered":"

The ThingSpeak team has released an updated version of the ThingSpeak Communication Library for Arduino, ESP8266, and ESP32<\/a> devices. The ThingSpeak library is the easiest way to get Arduino devices connected to ThingSpeak IoT services. The library now features a way to separate secret credentials from your main source code. This helps when you want to share your code but don’t want to share your WiFi credentials and ThingSpeak keys.<\/p>\n

Installation<\/h3>\n

The Arduino IDE needs to have the ThingSpeak library installed in order for your devices to know how to send data to ThingSpeak. In the Arduino IDE, choose Sketch<\/em>, Include Library<\/em>, and Manage Libraries<\/em>. Search for \u201cthingspeak\u201d and click Install<\/em>.<\/p>\n

\"\"<\/p>\n

Device Support<\/h3>\n

The ThingSpeak Communication Library supports many devices. Using the library makes the experience the same for each board type. When you learn one\u00a0way to\u00a0work with ThingSpeak, you will be to work with other devices in the same way.<\/p>\n