DS1307 Real Time Clock (RTC) Module

The DS1307 serial real-time clock (RTC) is a low-power, full binary-coded decimal (BCD) clock/calendar plus 56 bytes of NV SRAM. Address and data are transferred serially through an I²C, bidirectional bus. The clock/calendar provides seconds, minutes, hours, day, date, month, and year information. The end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The clock operates in either the 24-hour or 12-hour format with AM/PM indicator. The DS1307 has a built-in power-sense circuit that detects power failures and automatically switches to the backup supply. Timekeeping operation continues while the part operates from the backup supply. Key Features Completely Manages All Timekeeping Functions Real-Time Clock Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year Compensation Valid Up to 2100 56-Byte, Battery-Backed, General-Purpose RAM with Unlimited Writes Programmable Square-Wave Output Signal Simple Serial Port Interfaces to Most Microcontrollers I2C Serial Interface Low Power Operation Extends Battery Backup Run Time Consumes Less than 500nA in Battery-Backup Mode with Oscillator Running Automatic Power-Fail Detect and Switch Circuitry 8-Pin DIP and 8-Pin SO Minimizes Required Space Optional Industrial Temperature Range: -40°C to 85°C Supports Operation in a Wide Range of Applications. The DS1307 Real Time Clock (RTC) module is a widely used component in electronics and embedded systems for keeping accurate time. Here are some key features and details about the DS1307 RTC module: Key Features: Real-Time Clock (RTC): Keeps track of the time in hours, minutes, and seconds, along with the date, month, and year with leap year compensation. I2C Interface: Communicates with microcontrollers via the I2C bus. Battery Backup: This can maintain accurate timekeeping even when the main power supply is interrupted, thanks to a backup battery (typically a CR2032 coin cell). Low Power Consumption: Consumes minimal power, making it suitable for battery-operated devices. Clock Oscillator: Uses an external 32.768 kHz crystal oscillator. Pin Configuration: VCC: Power supply (typically 5V). GND: Ground. SCL: Serial Clock Line for I2C communication. SDA: Serial Data Line for I2C communication. SQW/OUT: Square wave output pin that can be used for outputting a programmable square wave. Basic Operation: Connecting to a Microcontroller: The DS1307 RTC module is connected to the microcontroller via the I2C bus (SCL and SDA lines). The microcontroller can then read from and write to the RTC to get the current time or set a new time. Setting the Time: To set the time, the microcontroller sends the desired time data over the I2C bus to the DS1307. Reading the Time: To read the current time, the microcontroller requests time data from the DS1307 over the I2C bus. Common Applications: Clocks and Watches: Provides accurate timekeeping for digital clocks and watches. Data Loggers: Timestamping data entries in data logging applications. Alarm Systems: Scheduling tasks or triggering events at specific times. Home Automation: Time-based control of appliances and systems in smart homes. Technical Specifications: DS1307 I2C RTC DS1307 24C32 Real Time Clock Module Provide clock signal for a microcontroller. Cascade other I2C devices With reading and writing function. Using time: About 1 year (Fully charged) Memory storage: 24C32 32K I2C EEPROM. With LIR2032 rechargeable lithium battery and rechargeable circuit With full BCD clock calendar chip of 56 byte non-volatile RAM. Address and data transmission via serial cable with dual-line dual-direction. The chip can provide second, minute, hour etc information.. AM/PM mark, for working 24-hour or 12-hour Package Includes: 1 Piece-DS1307 Real Time Clock (RTC) Module