{"id":1998,"date":"2017-01-20T18:28:10","date_gmt":"2017-01-20T23:28:10","guid":{"rendered":"https:\/\/blogs.mathworks.com\/iot\/?p=1998"},"modified":"2017-01-20T20:07:25","modified_gmt":"2017-01-21T01:07:25","slug":"use-mqtt-to-send-iot-data-to-thingspeak","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/iot\/2017\/01\/20\/use-mqtt-to-send-iot-data-to-thingspeak\/","title":{"rendered":"Use MQTT to Send IoT Data to ThingSpeak"},"content":{"rendered":"

MQTT<\/a> is a common protocol used in IoT systems to connect low-level devices and sensors. MQTT is used to pass short messages to and from a broker.\u00a0ThingSpeak<\/a>\u00a0has recently added an MQTT broker so devices can send messages to ThingSpeak. A message might contain the current temperature in an office collected by a sensor. ThingSpeak takes the message and stores its content in a ThingSpeak channel. Once the data is in a channel, you can easily visualize and analyze the data with MATLAB code.<\/p>\n

The ThingSpeak MQTT broker is available now to all ThingSpeak users!<\/p>\n

\"\"<\/a><\/p>\n

To help users get started using MQTT to send data to ThingSpeak, we have created some examples<\/a> for common devices and applications that support MQTT.<\/p>\n