Basic Level     Skills: Not specified    
Author

Description

DS1302 based Digital Clock with Calendar



Here is another great submission from Victor (ugoo5000). We do have many digital clock projects on website but I again wanted to add this one to our list because there are two new and interesting things in it. There are good things to learn from this project. So I summarize all of them here:

  1. DS1302 as Time keeping IC
  2. Interrupt based keypad


The DS1302 trickle-charge timekeeping chip contains a real-time clock/calendar and 31 bytes of static RAM. It communicates with a microprocessor via a simple serial interface. The real-time 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 an AM/PM indicator. DS1302 communicates with microcontroller using a 3 wire interface a very similar to SPI. So this is one new thing to learn in this project.

Now second interesting thing which got my attention is interrupt based keypad. All codes we have seen till now uses keypad scanning. This one uses interrupt based approach for scanning keys. As soon as a key an interrupt is generated though an AND gate connected to all the rows, which indicate controller that a key is pressed. So scanning is done in ISR routine where key is detected. I am sure this way of using a keypad must be helpful fo many of us when making our new projects.

You can download this project from link below
  Filesize

75.55 kB

  Downloads

17821

  Rating
 

Comments

(Required; Min length 5)
(Required; will not be displayed)

Conversation

Fri Apr 09 2021, 02:02 PM
Hong
Quality articles is the secret to interest the users to visit the site, that's what this web page is providing. christian dating sites https://datingsitesww.com
Fri Apr 09 2021, 03:53 AM
QGWIJ38V49HEBD3WXF www.web.de
I have a small question for you
Thu Apr 08 2021, 06:26 PM
Lilly
Post writing is also a fun, if you be familiar with afterward you can write otherwise it is complex to write. dating sim https://onlinedatingtind.com/
Thu Apr 08 2021, 12:35 PM
Fredericka Horn
Thanks, Fredericka Horn
Thu Apr 08 2021, 12:03 PM
Ronaldwhits
https://coin2x.org

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 107, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123