Digital Clock Using Arduino and Led Dot Matrix Display

About: i am electronic Hobbyist. I like to make the things and also make it available to people who need it. Please visit and subscribe my youtube channel for more Embedded related videos. https://www.youtube.com/c...

Nowadays, Makers, Developers are preferring Arduino for rapid development of the prototyping of projects. Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino has very good user community.
In this project we will see how to build digital clock using Arduino. This project is easy to build and Change it as per the requirement.

Step 1: Components

Following are the required components for project

1 x Arduino Uno

4 x MAX7219 Led Dot Matrix display

1 x DS1307 RTC module

Few Wires

Step 2: More About MAX7219

The MAX7219/MAX7221 are compact, serial input/output common-cathode display drivers that interface microprocessors (μPs) to 7-segment numeric LED displays of up to 8 digits, bar-graph displays, or 64 individual LEDs.

Included on-chip are a BCD code-B decoder, multiplex scan circuitry, segment and digit drivers, and an 8x8 static RAM that stores each digit.


Only one external resistor is required to set the segment current for all LEDs. The MAX7221 is compatible with SPI™, QSPI™, and MICROWIRE™, and has slewrate- limited segment drivers to reduce EMI.

A convenient 4-wire serial interface connects to all common μPs. Individual digits may be addressed and updated without rewriting the entire display.

The MAX7219/MAX7221 also allow the user to select code- B decoding or no-decode for each digit.

Step 3: More About DS1307

The DS1307 serial real-time clock (RTC) is a lowpower, full binary-coded decimal (BCD) clock/calendar

plus 56 bytes of NV SRAM.

Address and data are transferred serially through an I2C, bidirectional bus.

The clock/calendar provides seconds, minutes, hours, day, date, month, and year information.

The end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap year.

The clock operates in either the 24-hour or 12-hour format with AM/PM indicator. The DS1307 has a built-in power-sense circuit that detects power failures and automatically switches to the backup supply. Timekeeping operation continues while the part operates from the backup supply.

Step 4: Connection Diagram

Step 5: Tutorial

Step 6: Code

For Code and connection details:

https://github.com/stechiez/Arduino/tree/master/di...

You can get the libraries from following repo:

https://github.com/stechiez/Arduino/tree/master/l...

Share

    Recommendations

    • Games Contest

      Games Contest
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest
    • Sensors Contest

      Sensors Contest

    Discussions