Making Time

Enter Your Electronics & Design Project for a chance to win a $200 shopping cart!

Submit an EntrySubmit an Entry  Back to homepage
Project14 Home
Monthly Themes
Monthly Theme Poll


Real-time clock using DS3231 and p10 Display Matrix

This project demonstrates the use of electronics and embedded systems with Clock. Dot-matrix Display or more commonly referred to as Free Running Text is often found in shops as a means of advertising their products, it is practical and flexible in its use that encourages business actors to use it as advertising advice. Now the use of Dot-matrix Display has spread, not just as advertiser media only, as well as prayer schedules, warning boards, queuing machines, etc. Here, we will give a post about how I made a clock using p10 Matrix Display and DS3231 RTC using Arduino.



Step 1: Step 1: Hardware and Software Requirements


  • Arduino Uno x 1
  • Push-button (Keypad) x 4
  • RTC Module (DS3231)
  • P10 Dot-matrix Display



  • Arduino IDE
  • DMD 2 Library / DMD Library


Before that, you need a supporting library that must be installed on Arduino IDE. To download the DMD2 library mentioned above


Step 2: Connections

*Arduino -> RTC MODULE*

  • A4-> SDA
  • A5-> SCL
  • VCC -> 5V
  • GND -> GND


*Arduino -> P10 DMD*

  • D8-> SCK
  • D6-> A
  • D7-> B
  • D11 -> R
  • D13-> CLK
  • D9-> OE


Step 3: The Code

You can find the code in the Git Repository.

Step 4: Features


  • 32 x 16 high brightness Red LEDs (512 LEDs total) with 10mm pitch
  • Supports 5V operation
  • Viewable over 12 meters away
  • Tough plastic frame
  • Onboard Controller IC
  • Arduino compatible library, graphics functions



  • counts seconds, minutes, hours, and year
  • Accuracy: +2ppm to -2ppm for 0ºC to +40ºC, +3.5ppm to -3.5ppm for -40ºC to +85ºC
  • Digital temperature sensor with a ±3ºC accuracy
  • Two Time-of-day alarms
  • Programmable square-wave output
  • Register for Aging trim400Khz I2C interface
  • Low power consumption
  • Automatic power failure battery switch circuitry
  • CR2032 battery backup with two to three-year life


Working of This Project: Simple Clock


Working of This Project: Clock With Settings

Step 7: Conclusion

Give a thumbs up if it really helped you and do follow my channel for interesting projects
Share this video if you like. Happy to have you subscribed:

Thanks for reading!