![]() The DS1302 is the successor to the DS1202. The DS1302 is designed to operate on very low power and retain data and clock information on less than 1µW. Data can be transferred to and from the clock/RAM 1 byte at a time or in a burst of up to 31 bytes. Only three wires are required to communicate with the clock/RAM: CE, I/O (data line), and SCLK (serial clock). Interfacing the DS1302 with a microprocessor is simplified by using synchronous serial communication. The clock operates in either the 24-hour or 12-hour format with an AM/PM indicator (The library only support the 24-hour mode). ![]() The end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The real-time clock/calendar provides seconds, minutes, hours, day, date, month, and year information. It communicates with a microprocessor via a simple serial interface. The DS1302 trickle-charge timekeeping chip contains a real-time clock/calendar and 31 bytes of static RAM. This library was made because I wanted an easy way to interface and use the DS1302 trickle-charge timekeeping chip. Rather donate hardware directly? Then click here. And use any of my projects or libraries, and would like to encourage further development you can donate through PayPal here:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |