KIT INCLUDES:
- Breadboard 400 points – 1
- Jumper wires male to male – 40 pieces
- Jumper wires male to female – 40 pieces
- Arduino uno with USB Cable – 1
- 4 bit TM1637 display Module – 1
- 9v Battery with DC Jack – 1
- DS3231 RTC module - 1
HARDWARE REQUIRED
- Breadboard 400 points – 1
- Jumper wires male to male – 40 pieces
- Jumper wires male to female – 40 pieces
- Arduino uno with USB Cable – 1
- 4 bit TM1637 display Module – 1
- 9v Battery with DC Jack – 1
- DS3231 RTC module - 1
SOFTWARE REQUIRED
Arduino IDE 1.8.5 (programmable platform for Arduino)
Click To Download :https://www.arduino.cc/en/Main/Software
SPECIFICATIONS
DS3231 RTC MODULE
TM1637 display is a 4-digit seven segment display.TM1637 is a chip which is used for driving the 7-segment display.TM1637 has finds its applications on Digital Clock, Programmable Timer, Digital Thermometer, Decimal Counter, Stopwatches.
The TM1637 display has four pins:
CLK (Clock)
DIO (Data I/O)
Vcc
GND
As we know that Vcc and Gnd pin goes to 5v and Gnd in the Arduino board. The CLK and DIO pins should be connected to any of the digital pins on the Arduino board.
4 BIT TM1637 LED DISPLAY MODULE
Operating Voltage |
3.3 V-5.5 V DC |
Chip |
DS3231 |
Pin no. |
6 |
Operating Temperature Ranges |
Commercial: 0°C to +70°C |
Industrial: -40°C to +85°C | |
Power Consumption |
Low |
Accuracy ±2ppm |
0°C to +40°C |
Accuracy ±3.5ppm |
-40°C to +85°C |
I2C Interface |
Fast (400KHZ) |
Digital Temp Sensor Output |
±3°C Accuracy |
CIRCUIT CONNECTION
Ds3231
Gnd to gnd
Vcc to vcc
Scl to arduino scl
Sda to arduino sda
4digit display
Gnd to gnd
Vcc to vcc
Clk to dig 8
Dio to dig 9
CODE
#include
#include
#include
RTC_DS3231 rtc;
#define CLK 8
#define DIO 9
TM1637Display display(CLK, DIO);
void setup () {
display.setBrightness(0xA);
display.setColon(true);
}
void loop () {
DateTime now = rtc.now();
int t = now.hour() * 100 + now.minute();
display.showNumberDec(t, true);
delay(1000);
}
WORKING
In this project we are using 4 digit display that will display clock on that using ds3231 rtc module that will display clock 24 hours on that 4 digit fnd display.