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

ESP8266 NodeMCU Controlled Smart Relay with IR and Temperature Sensing

View and Edit Project In Cirkit DesignerImage of ESP8266 NodeMCU Controlled Smart Relay with IR and Temperature Sensing

Circuit Documentation

Summary of the Circuit

This circuit is designed to control a 4-channel relay module using an ESP8266 NodeMCU microcontroller. The circuit includes input devices such as a DHT11 temperature and humidity sensor, a VS1838B infrared (IR) receiver, and two pushbuttons for user interaction. The ESP8266 NodeMCU is responsible for processing the inputs from the DHT11 sensor, the IR receiver, and the pushbuttons to control the state of the relay channels. The relay module can be used to switch higher power loads that the ESP8266 cannot directly control. The circuit is powered by two 18650 Li-ion batteries connected in series or parallel (not specified), providing power to the microcontroller, the relay module, the sensor, and the IR receiver.

Component List

ESP8266 NodeMCU

18650 Li-ion Battery x 2

VS1838B IR Receiver

Relay 4 Channel 5v

DHT11

Pushbutton (x2)

Wiring Details

ESP8266 NodeMCU

18650 Li-ion Battery x 2

VS1838B IR Receiver

Relay 4 Channel 5v

DHT11

Pushbutton 1

Pushbutton 2

Documented Code

No code was provided for the microcontroller. The expected functionality would include reading the state of the DHT11 sensor and the IR receiver, debouncing the pushbuttons, and controlling the relay channels based on the inputs. The code would also handle any WiFi communication if the ESP8266 NodeMCU is used for remote control or data reporting.