This is a Sketch for the arduino IDE to enable the usage of a DHT22 sensor connected to a NodeMCU (ESP8266) with MQTT. Also supported are 2 status LED's and a SPI diaplay.

After start the sensor device, there will be a Wifi-AP for configuration purposes. After successfully configuration, the sensor is connected as a Wifi-client and send the temperature and humidity data via MQTT within the given intervall.

During AP-mode and client-mode, there are some RESTful functions (HTTP-requests) available, for configuration and retrieving information.

Features

  • MQTT data transport to broker
  • RESTful functions (HTTP-requests)
  • Configuration via Wifi-AP

Project Samples

Project Activity

See All Activity >

Categories

Embedded Systems, IoT

License

MIT License

Follow DHT22-MQTT-Sensor-ESP8266 (NodeMCU)

DHT22-MQTT-Sensor-ESP8266 (NodeMCU) Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DHT22-MQTT-Sensor-ESP8266 (NodeMCU)!

Additional Project Details

Programming Language

C++

Related Categories

C++ Embedded Systems Software, C++ IoT Software

Registered

2019-01-13