|
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.

Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW
ESP32-S3 4.3inch Capacitive Touch Display Development Board, 800×480, 5-point Touch, 32-bit LX7 Dual-core Processor
BUY NOW
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- 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
-
Arduino Matrix Clock MAX7219 New V1.5 Hello All My Friend This is Simple LED Dot Matrix MAX7219 Clock Using Arduino ..... I Make This For ...
-
M5Stack Prototype Board M5Stack Prototype Board
-
M5Stack Original Prototype Board M5Stack Original Prototype Board
-
Arduino Remote Relay Board With BT And IR Hello Every One This Is Very Nice And Simple SMD Arduino Project . Control Relay With Bluetooth And ...
-
Arduino Christmas Sounds Arduino Christmas Sounds
-
Christmas LED Lights Using BC548 This Is Really Very Fun Project For Little Baby
-
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 Friend This is Simple Easy To USE 4 Ch Relay Module With ESP32 Support Use This Board F...
-
8Ch Relay With ESP8266 Wemos D1 Mini Work With Amazon Alexa And Google Home This Project 8Ch Relay With ESP8266 Wemos D1 Mini Work With Amazon Alexa And Google Home Simple part...
-
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...
-
BT136 AC Dimmer Board For Arduino And Esp8266 And Esp32 IoT BT136 AC Dimmer Board For Arduino And Esp8266 And Esp32 IoTAll Information Update Soon .
-
30A ESP8266 Wemos D1 Relay Board With Oled And MAX6675 Sensor Update All Information Soon
-
Arduino Matrix Clock MAX7219 New V1.5 Hello All My Friend This is Simple LED Dot Matrix MAX7219 Clock Using Arduino ..... I Make This For ...
-
M5Stack Prototype Board M5Stack Prototype Board
-
M5Stack Original Prototype Board M5Stack Original Prototype Board
-
Arduino Remote Relay Board With BT And IR Hello Every One This Is Very Nice And Simple SMD Arduino Project . Control Relay With Bluetooth And ...
-
Arduino Christmas Sounds Arduino Christmas Sounds
-
Christmas LED Lights Using BC548 This Is Really Very Fun Project For Little Baby
-
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 Friend This is Simple Easy To USE 4 Ch Relay Module With ESP32 Support Use This Board F...
-
8Ch Relay With ESP8266 Wemos D1 Mini Work With Amazon Alexa And Google Home This Project 8Ch Relay With ESP8266 Wemos D1 Mini Work With Amazon Alexa And Google Home Simple part...
-
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 ...
-
-
Nintendo 64DD Replacement Shell
57 0 1 -
V2 Commodore AMIGA USB-C Power Sink Delivery High Efficiency Supply Triple Output 5V ±12V OLED display ATARI compatible shark 100W
81 4 1 -
How to measure weight with Load Cell and HX711
321 0 3 -
-
Instrumentation Input, high impedance with 16 bit 1MSPS ADC for SPI
457 0 0 -
RGB LED Matrix input module for the Framework Laptop 16
728 0 2