Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP8266 NodeMCU-Based Smart Environmental Monitoring and Control System

View and Edit Project In Cirkit DesignerImage of ESP8266 NodeMCU-Based Smart Environmental Monitoring and Control System

Circuit Documentation

Summary

The circuit in question is designed to interface an ESP8266 NodeMCU microcontroller with a variety of sensors and actuators for environmental monitoring and control. The circuit includes a DHT11 humidity and temperature sensor, an MQ-4 gas sensor, a 5V 2-Relay module, an AC bulb, and a 220V fan. Power is supplied by an AC source, which is converted to DC for the low-voltage components. The ESP8266 NodeMCU controls the relay module based on sensor inputs, which in turn controls the AC bulb and fan.

Component List

ESP8266 NodeMCU

AC Source

AC to DC Converter (actodc)

DHT11 Humidity and Temperature Sensor

5V 2-Relay Module (JD-VCC)

AC Bulb

MQ-4 Gas Sensor

220V Fan

Wiring Details

ESP8266 NodeMCU

AC Source

AC to DC Converter (actodc)

DHT11 Humidity and Temperature Sensor

5V 2-Relay Module (JD-VCC)

AC Bulb

MQ-4 Gas Sensor

220V Fan

Documented Code

No code was provided for the microcontroller. The expected behavior, based on the wiring, would be for the NodeMCU to read data from the DHT11 and MQ-4 sensors and control the relay module accordingly. The relay module would then switch the AC bulb and fan on or off based on the sensor readings and programmed logic within the NodeMCU. Without the code, the specific conditions and logic for controlling the relays cannot be documented.