10/2/2023 0 Comments Real time clockSelect three unused digital ports on the microcontroller. It is more convenient to use the breadboard if multiple components need to be powered at the same time. You may connect pins on the DS1302 RTC board directly to the central yellow connector on the Grove Beginner Kit, or use the breadboard as an intermediate plug board. There are 5 connecting pins on the module, including the power and ground pins, and these need to be connected to relevant ports on the central microcontroller board on the Grove Beginner Kit. This board is set up to communicate with the Arduino micro controller via a 3-wire interface (rather than 2-wire I2C interface). The estimated life of the battery will be up to 10 years. Install a battery if you require non-volatile storage. Important: the board is designed for use with a CR2302 coin cell lithium battery (3V) for backup of the set time and date. These chips are designed to operate on very low power and retain data and clock information on less than 1uW. Data can be transferred from the clock RAM 1 byte at a time or in a burst of up to 31 bytes. The required wires will be RST (Chip Enable), DAT (Input Output Data Line), and CLK (Serial Clock). Only three wires are required to communicate with the DS1302 clock Random Access Memory or RAM. Interfacing the DS1302 with a MCU is simplified by using SSC (Synchronous Serial Communication). this also helpful specially when driving timings and execution on a precise time. This module is very useful for making things running on date and time, it can be interfaced to any microcontroller or microprocessor in order to control the events. The clock operates in 24 hours or 12 hours format with AM and PM indicator. The DS1302 real time clock and calendar provides seconds, minutes, hours, day, date, month, and a year information, end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The DS1302 Real Time Clock (RTC) is a trickle-charge timekeeping chip contains a real-time clock and calendar and 31bytes of static RAM and its communicating with a microcontroller or microprocessor via a simple serial interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |