Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 500 Bytes

README.md

File metadata and controls

18 lines (9 loc) · 500 Bytes

ESP8266-MQTT-Publish-DHT11

Publish the temperature and humidity information

  1. Run the MQTT broker in raspberry pi (host : 192.168.0.104)

  2. Subscribe the humidity/temperature topic in raspberry pi board.

subscribe -t sensor/humidity

  1. Upload the .ino file into NodeMCU board (ESP8266)

  2. Connect DHT11 signal pin to D6 pin which is GPIO12, Vcc to 5V and GND to GND of raspberry pi board.

  3. Power ON the NodeMCU board.

  4. You can see the temp and humidity data in raspberry pi terminal.