Full Version : Real Time Clock using DS1307 TWI (GCC)
avr >>HOME & TIME & TEMPERATURE PROJECTS >>Real Time Clock using DS1307 TWI (GCC)


AVR_Admin- 04-16-2006
DS1307 Utility

This project demonstrates the use of the Dallas Semiconductor DS1307 64x8 Serial Real Time Clock. Address and data information are transferred to the DS1307 via a Two-wire Serial Interface (TWI).

This project provides the means for controlling and viewing the DS1307 settings via an RS232 (UART) interface.

26 Sep 2005: Fixed date10 field in ds1307Reg_t structure typedef (main.c).

If you are having problems with the TWI controller, I would suggest checking out the code. I was having a problem (with the stop condition) at this served as a great example. Thanks again for posting your code.

Lerch Man.

A very good and easly understood Real time clock , code is very well laid out and should be a good utility to all new users of Winavr ,



Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.