Basic Level     Skills: Not specified    
Author
Author email
bhargav.ajay@gmail.com
Author website
www.rickeyworld.info

Description



DS1307 is a hardware realtime clock, which works on I2C protocol. Better graphics using the same old fashioned alphanumeric LCD (type HD44780). Icons which shows the status for Alarm ON/OFF state, which gives a nice and cute look to the clock.

There are four switches connected to the uC, as shown in the figure. Function of the keys are same as clear from their names.

When the power supply is switched on it will give you the default date and time, but later you can change it to the desired value. After setting once, the backup battery will keep the clock ticking even after the power is not there.

A little about I2C:
There are basically four main conditions in I2C protocol.
1) Start Condition
2)Stop Condition
3)Data Validity
4)Acknowledgement

1)Start Condition:
when SCL is high and SDA H->L, will be taken as start condition for the communication.
2)Stop Condition:
when SCL is high and SDA L->H, will generate a stop condition.
3)Data Validity:
When SCL is high there should be no chande in SDA line only then the data is valid, the data change should be made only when SCL is low.
4)Acknowledgement:

After sending of one byte of data the reciever has to acknowledge the sender for the successful reception. for this the sender make the SDA line high and reciever pulls down the SDA low, which tells the sender that data has reached safely.

Now the source code written in assembly, basically implements the I2C protocol. the assembly source written for Keil download here clock.asm and the direct hex file for programming the controller from here clock.hex. The schematic for the Digital clock is available in PDF format can be downloaded from here clock.pdf.

Project code has been revised and updated. Bug fixes regarding corrupt display.

History:
First Upload date:
08/05/2006
  Filesize

  Downloads

93820

  Rating
 

Comments

DragonDad
21 May 2019: 14:57 PM
Hi. How to use Alarm in this project? Please describe it step by step
  
Khushi
23 May 2021: 19:39 PM
please help me
as whenever i am setting the alarm it gets off instantly
  
(Required; Min length 5)
(Required; will not be displayed)

Conversation

Fri Sep 24 2021, 01:46 PM
AccstoresSlolo
Accstores
Fri Sep 24 2021, 10:59 AM
Stevie
This blog was... how do I say it? Relevant!! Finally I have found something that helped me. Many thanks! https://comprarcialis5mg.org/it/comprare-spedra-avanafil-senza-ricetta-online/ spedra 100mg avanafil
Fri Sep 24 2021, 09:54 AM
Brandie Freytag
Reach first page on Google with our powerful backlinks for just $49. Take your business to the next level by utilizing our SEO service. No.1 Genuine SEO Agency in 2021. For real proofs visit https://www.ranker.one
Sun Sep 19 2021, 06:52 PM
Darlene Garces
We’re interested in advertising on your site.
Sun Sep 19 2021, 02:19 PM
Shani
Appreciating the time and effort you put into your blog and in depth information you provide. It's good to come across a blog every once in a while that isn't the same unwanted rehashed material. Great read! I've saved your site and I'm adding your RSS feeds to my Google account. дубай прогноз погоды сколько стоит виза в дубай дубай мечеть

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: 73, Members: 0 ...

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

Members: 38215
Newest member: Mirza123