EMQX Dedicated New Feature: Event History is available for private beta test. →
Topics
Remotely Control an LED with ESP8266 and MQTT
Mar 14, 2024Dekun Tao
Remotely Control an LED with ESP8266 and MQTT

This blog will use the ESP8266 as the publisher to send messages to a topic, which a subscriber will listen to, allowing us to control the on/off state of an LED light remotely.

Upload Sensor Data to MQTT Cloud Service via NodeMCU (ESP8266)
Dec 3, 2019Dekun Tao
Upload Sensor Data to MQTT Cloud Service via NodeMCU (ESP8266)

This example will demonstrate how to report the temperature and humidity data collected by the DHT11 sensor to the MQTT service in the cloud through the MQTT protocol and the NodeMCU based on ESP8266 , and show how the application subscribes to and processes the data.

Subscribe to our blogs