|
|
WEMOS D1Wemos
|
x 1 | |
|
|
KS0061https://www.microcenter.com/product/632704/inland-1602-i2c-lcd-display-module
|
x 1 |
|
Solder Wire, Lead Free |
|
|
Soldering iron (generic) |
ESP8266 NTP Clock with 16x2 I2C LCD Display
This project uses an ESP8266 NodeMCU to create a 12-hour format NTP clock with AM/PM, date, and day of the week, displayed on a 16x2 I2C LCD. The clock synchronizes time via the NTP (Network Time Protocol) to ensure accuracy.
Features
Displays real-time clock (12-hour format) with AM/PM indicator.
Shows current date and weekday.
Synchronizes time via NTP server.
Uses I2C 16x2 LCD for display.
Auto-updates time based on Indian Standard Time (IST, UTC+5:30).
Components Required
16x2 I2C LCD 1pcs
ESP8266 NodeMCU 1 pcs
Circuit Diagram

Installation & Setup
1. Install Required Libraries
Make sure you have the following libraries installed in Arduino IDE:
LiquidCrystal_I2C (Download)
NTPClient (Download)
ESP8266WiFi (Comes with ESP8266 board package)
2. Upload the Code
Open the provided code in Arduino IDE.
Replace your_SSID and your_PASSWORD with your WiFi credentials.
Select ESP8266 NodeMCU as the board.
Upload the code and open the Serial Monitor (115200 baud rate).
How the Code Works
WiFi Connection: Connects ESP8266 to a WiFi network.
NTP Synchronization: Fetches time from an NTP server (pool.ntp.org).
Time Conversion: Converts 24-hour format to 12-hour format with AM/PM.
Display Update: Updates the LCD every second with time, date, and weekday.
Clock Demo

Troubleshooting
LCD not displaying anything?
Run the I2C Scanner to find the correct I2C address and update it in the code.
Ensure SDA and SCL pins are connected properly.
WiFi not connecting?
Double-check your WiFi SSID and Password in the code.
Make sure your router is working correctly.
For further assistance, feel free to ask! 🚀
ESP8266 NTP Clock with 16x2 I2C LCD Display
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(1)
-
MANORANJAN DAS
Feb 02,2025
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by MANORANJAN DAS
-
EasyArduino
EasyArduino by ElectroIoTThe ultimate beginner’s board to learn, build, and master Arduino the easy ...
-
🚀 ESP & Arduino Universal USB Flasher (CH340C Based)
OverviewThis project is a universal USB-to-Serial flasher board based on the CH340C USB-UART bridge....
-
Advanced 4-Channel 5V Relay Module with Onboard LM2596 Power Supply
IntroductionRelay modules are essential in home automation and electronics projects, allowing microc...
-
DIY XL4015 5V/5A USB Power Supply – Perfect for Raspberry Pi & More
DIY XL4015 5V/5A USB Power Supply – Perfect for Raspberry Pi & MoreBuilding a reliable 5V power ...
-
7805 Voltage Regulator SMD
Story️ Project DetailsName: 7805 Voltage RegulatorType: Linear Voltage RegulatorInput Voltage: 7V to...
-
Multi-Voltage-Regulator-PCB-(12V-9V-5V-3.3V)
Multi-Voltage Regulator PCB (12V, 9V, 5V, 3.3V) Project OverviewThis project demonstrates the design...
-
7805 Voltage Regulator
Project OverviewThis project demonstrates how to build a simple Voltage Regulator using the 7805 int...
-
🔌 ESP32-C3-Based 8-Channel Smart Home Automation Relay Board
Detailed Project DescriptionThis project is a compact, powerful, and cost-effective 8-channel smart ...
-
ESP8266 NTP Clock with 16x2 I2C LCD Display
This project uses an ESP8266 NodeMCU to create a 12-hour format NTP clock with AM/PM, date, and day ...
-
ESP8266 Nodemcu 4 Ch Relay Module For IoT Project
OverviewThis project allows you to control four relays using an ESP8266 (NodeMCU) via the Arduino Io...
-
ESP32 Water Level Monitor And Automictic Motor Control 30A relay
ESP32 Water Level Monitor And Automictic Motor Control 30A relayUsed ESP32 ModuleOled DisplayUltraso...
-
4 CH Relay Module With ESP32 For Home Automation ,Alexa,Google Home
Hello All My FriendThis is Simple Easy To USE 4 Ch Relay Module With ESP32 SupportUse This Board For...
-
8Ch Relay With ESP8266 Wemos D1 Mini Work With Amazon Alexa And Google Home
This Project8Ch Relay With ESP8266 Wemos D1 Mini Work With Amazon Alexa And Google HomeSimple parts ...
-
PiTrezor : A DIY bitcoin hardware wallet based on trezor and raspberry pi zero
Hello Everyone This is One Of Best Project Who Want To Make OWN hardware wallet At low Cost or Make ...
-
100mm X 50nn DIY Universal Board
100mm X 50nn DIY Universal Board
-
Simple Internet Clock Using ESP8266 DHT11
Hello Everyone This Project is Simple Internet Clock Using Esp8266 And DHT11 Upload Video And More T...
-
Micro USB FTDI Board With Dual Header
Micro USB FTDI Board With Dual Header
-
Micro USB FTDI Module FT232RL
Hello Everyone All FTDi Module In Market is Mini USB Version And Its Little Complicated To Find Mini...
-
-
AEL-2011 Power Supply Module
327 0 1 -
AEL-2011 50W Power Amplifier
300 0 1 -
-
-
Custom Mechanical Keyboard
567 0 0 -
Tester for Touch Screen Digitizer without using microcontroller
232 2 2 -
Audio reactive glow LED wristband/bracelet with NFC / RFID-Tags
238 0 1 -
-
-







