NodeMCU ESP8266 Based Smart Relay with LCD Interface and RTC Support
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question appears to be a microcontroller-based system designed for controlling a relay module and interfacing with an LCD display and a Real-Time Clock (RTC). The core of the system is the NodeMCU V3 ESP8266, which is responsible for controlling the peripherals. The circuit includes a power supply module to convert AC to 5V DC, which powers the components. The relay module can be controlled by the NodeMCU to switch higher power loads. The LCD display is used for output, and the RTC module keeps track of the time even when the microcontroller is powered off.
Component List
NodeMCU V3 ESP8266
- A microcontroller board based on the ESP8266 chip, featuring Wi-Fi connectivity and a variety of digital and analog pins.
USB Power
- A power supply component that provides power through a USB connection.
KY-019 Relay Module 1 Channel
- A relay module that allows the microcontroller to switch high power loads on and off.
LCM1602 IIC
- An LCD display module with an I2C interface for displaying text and numbers.
LCD Display (16 pin)
- A basic 16-pin LCD display for showing information.
DS3231 RTC
- A real-time clock module that maintains accurate time with a battery backup.
Mini AC-DC 110V-230V to 5V 700mA Module
- A power supply module that converts AC voltage to 5V DC.
AC Supply
- Represents the main AC power source for the circuit.
Wiring Details
NodeMCU V3 ESP8266
D0connected to KY-019 Relay Module (Signal)3V3connected to 3.3V power railGNDconnected to ground railD1(SCL) connected to LCM1602 IIC and DS3231 RTC (I2C Clock)D2(SDA) connected to LCM1602 IIC and DS3231 RTC (I2C Data)
USB Power
+and-not detailed in the net list.
KY-019 Relay Module 1 Channel
S(Signal) connected to NodeMCUD05Vconnected to 5V power railGNDconnected to ground railCOMconnected to Mini AC-DC ModuleLifeNCandNOnot detailed in the net list.
LCM1602 IIC
VCCconnected to 5V power railGNDconnected to ground railSDAandSCLconnected to NodeMCUD2andD1respectivelyD0toD7,RS,RW,E,A,K,VSS,VDD,V0interconnected with LCD Display (16 pin)
LCD Display (16 pin)
DB0toDB7,RS,R_W,E,A,K,VSS,VDD,VOinterconnected with LCM1602 IIC
DS3231 RTC
VCCconnected to 5V power railGNDconnected to ground railSCLandSDAconnected to NodeMCUD1andD2respectively32KandSQWnot detailed in the net list.
Mini AC-DC 110V-230V to 5V 700mA Module
5vconnected to 5V power railGNDconnected to ground railLifeconnected to KY-019 Relay ModuleCOMNeutralconnected to AC Supply-ve
AC Supply
+veconnected to Mini AC-DC ModuleLife-veconnected to Mini AC-DC ModuleNeutral
Documented Code
No code was provided for the microcontrollers in the circuit. The documentation of the code would typically include a description of the functionality, setup, and loop routines, as well as any functions or libraries used to control the peripherals. Since no code is available, this section cannot be completed.