Clock using DS3231 RTC module
Clock using DS3231 RTC module
This project will display time and date on a 16x2 LCD.
For making this project you will need
- DS3231 RTC module
- Arduino UNO
- 16x2 LCD with i2c interference
- Some jumper wires
Let's see What is RTC module
Top View
But if we attach an I2c module on the LCD it change those 18 pin into 4 pins.
Here i am not going in detail if you want to know how I2c LCD work check it on my blog.
Bottom
View
These modules work on I2c Communication also called TWI (Two Wire interface)
This module can :-
- Store time
- Store date
- Store Day
- Measure temperature
This module have a battery which run this module like a clock. If the battery is removed the time will be also reset.
What is I2c LCD?
This is a 16x2 LCD display this display usually need to be connected using 18 different wires. And that wirring is really a headache and also take too much of time.
But if we attach an I2c module on the LCD it change those 18 pin into 4 pins.
Here i am not going in detail if you want to know how I2c LCD work check it on my blog.
Wiring
Wiring for RTC module
- Vcc to 5v arduino
- Gnd to Gnd Arduino
- SDA to analog pin 4
- SCL to analog pin 5
Wiring for LCD
- Vcc to D5(which I am now using as a 5v pin because Arduino Uno have a shortage of 5volt pin you can use any pin by making it high in the code)
- Gnd to Gnd
- SDA to analog pin 4
- SCL to analog pin 5
If you want to know more about I2c or TWI then search for i2c or TWI on my blog
So now how will you connect to pin in same slot so for that you can use a breadboard or you can also make a junction using male and female headers as i did it
Comments
Post a Comment