It can also keep track of time when the main supply is shut off because of the backup. If the main supply is failing, the chip can detect it and switch The DS1307 can have a backup power supply.The DS1307 automatically corrects the date information at the end of a month and provides leap year.The DS1307 holds information for seconds, minutes, hours, day of month, day of week, month, and year.The DS1307 operates using I2C, a serial interface.When power is lost, the data in RAM won't be The DS1307 has 56 bytes of non-volatile (NV) static RAM (SRAM).The DS1307 stores data in the binary-coded decimal (BCD) format.Operation continues while the part operates from the backup supply. Power-sense circuit that detects power failures and automatically switches to the backup supply. TheĬlock operates in either the 24-hour or 12-hour format with AM/PM indicator. The end of the monthĭate is automatically adjusted for months with fewer than 31 days, including corrections for leap year. TheĬlock/calendar provides seconds, minutes, hours, day, date, month, and year information. Address and data are transferred serially through an I2C, bidirectional bus. What is the DS1307?įrom the DS1307 datasheet: The DS1307 serial real-time clock (RTC) is a lowpower, full binary-coded decimal (BCD) clock/calendar plus 56īytes of NV SRAM. In this tutorial, you will learn how to use a DS1307 RTC with Arduino. Published MaUpdated SeptemTutorial Summary
0 Comments
Leave a Reply. |