Skip to main content

MQTT Publish Sensor Data


This project demonstrates how to upload temperature readings from a modbus temperature sensor to the cloud via MQTT.

The temperature sensor data is polled automatically, and is sent over MQTT to a MQTT broker every 20 seconds.

You can also manually trigger the data upload by pressing the MD button.