Realy Module with ESP8266 | NodeMCU | 16x2 LCD | I2C Module

Опубликовано: 28 Февраль 2026
на канале: COSM Electronics
518
like

Relay Control with ESP8266 and I2C LCD | DIY Home Automation Project

Welcome to this step-by-step tutorial on controlling a 2-channel relay module with an ESP8266 and displaying its status on a 16x2 LCD using I2C. This project demonstrates how to alternate the relays automatically every 5 seconds and keep track of their status in real time using an LCD screen.

Whether you're working on home automation, industrial control, or an educational project, this setup is perfect for learning and implementing smart relay systems with microcontrollers.

What You'll Learn:
How to connect and control a 2-channel relay module with the ESP8266
Interfacing a 16x2 LCD with I2C communication
Using the `millis()` function for non-blocking timing
Alternating relays to avoid simultaneous operation

Components Used:
ESP8266
2-Channel Relay Module
16x2 LCD with I2C Module
Power Supply

Applications:
✅ Home Automation
✅ Smart Energy Management
✅ Industrial Systems
✅ Educational DIY Projects

📌 GitHub Code: https://github.com/cosmelectronics/No...

📸 Camera: iPhone 14
🎥 Editing: VN Editor
🎵 Song: NIVIRO - Strobe (NCS)

📌 Don't forget to like, share, and subscribe ‪@cosmelectronics‬ for more DIY electronics and IoT projects!

Follow Me:
🔗 YouTube:    / @cosmelectronics  
🔗 Instagram:   / cosmelectronics  
🔗 GitHub: https://www.github.com/cosmelectronics
🔗 LinkedIn:   / 7079476255753912320  

COSM Electronics, ESP8266, I2C LCD, Relay Control, Home Automation, Microcontroller, 2-Channel Relay, LCD Display, Alternating Relay, Smart Energy, Industrial Control, Arduino IoT, Digital Electronics, Embedded Systems, Non-Blocking Timer, millis Function, GPIO Pins, Circuit Design, DIY Electronics, LCD Status, IoT Projects, COSM Electronics, Educational Projects, Smart Home, Relay Automation, Embedded Programming

#cosmelectronics #esp8266 #i2clcd #relaycontrol #homeautomation #microcontroller #2channelrelay #lcddisplay #alternatingrelay #smartenergy #industrialcontrol #arduinoprojects #digitalelectronics #embeddedsystems #nonblockingtimer #millisfunction #gpiopins #circuitdesign #diyelectronics #lcdstatus #iotprojects #cosmelectronics #educationalprojects #smarthome #relayautomation #embeddedprogramming