element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Making Time
  • Challenges & Projects
  • Project14
  • Making Time
  • More
  • Cancel
Making Time
Blog Big Real Time Clock Using Arduino
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Making Time to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: rahulkhanna
  • Date Created: 5 Dec 2020 12:37 PM Date Created
  • Views 5679 views
  • Likes 10 likes
  • Comments 4 comments
  • dmd
  • makingtimech
  • rtc
  • ds3231
  • p10 display
  • arduino
Related
Recommended

Big Real Time Clock Using Arduino

rahulkhanna
rahulkhanna
5 Dec 2020
image

Making Time

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

Submit an EntrySubmit an Entry  Back to homepage image
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.

 

image

 

Step 1: Step 1: Hardware and Software Requirements

imageimageimageimage

HARDWARE:

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

 

SOFTWARE:

  • 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

imageimage

*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

imageimage
You can find the code in the Git Repository.
https://github.com/Rahul24-06/Big-Real-Time-Clock-Using-Arduino

Step 4: Features

DMD

  • 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

 

RTC

  • 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

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Working of This Project: Clock With Settings

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Step 7: Conclusion

Give a thumbs up if it really helped you and do follow my channel for interesting projects image
Share this video if you like. Happy to have you subscribed: https://www.youtube.com/channel/UCks-9JSnVb22dlqtMgPjrlg/videos

Thanks for reading!


 

  • Sign in to reply

Top Comments

  • dubbie
    dubbie over 4 years ago +1
    Looks a nic complete clock. How much power does it take? Dubbie
  • Fred27
    Fred27 over 4 years ago +1
    I see quite a lot of this in your code: switch(minute) { case 0: dmd.drawString( 12,0, "00", 2, GRAPHICS_NORMAL ); break; case 1: dmd.drawString( 12,0, "01", 2, GRAPHICS_NORMAL ); break; case 2…
Parents
  • Fred27
    Fred27 over 4 years ago

    I see quite a lot of this in your code:

    switch(minute)
    {
      case 0:
        dmd.drawString( 12,0, "00", 2, GRAPHICS_NORMAL );
        break;
      case 1:
        dmd.drawString( 12,0, "01", 2, GRAPHICS_NORMAL );
        break;
      case 2:
        dmd.drawString( 12,0, "02", 2, GRAPHICS_NORMAL );
        break;
        
      ...
      
      case 59:
        dmd.drawString( 12,0, "59", 2, GRAPHICS_NORMAL );
        break;
    }

     

    The sprintf function could be used to simplify this a lot.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • Fred27
    Fred27 over 4 years ago

    I see quite a lot of this in your code:

    switch(minute)
    {
      case 0:
        dmd.drawString( 12,0, "00", 2, GRAPHICS_NORMAL );
        break;
      case 1:
        dmd.drawString( 12,0, "01", 2, GRAPHICS_NORMAL );
        break;
      case 2:
        dmd.drawString( 12,0, "02", 2, GRAPHICS_NORMAL );
        break;
        
      ...
      
      case 59:
        dmd.drawString( 12,0, "59", 2, GRAPHICS_NORMAL );
        break;
    }

     

    The sprintf function could be used to simplify this a lot.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube