CALL US : +919962060070

DS3231 I2C RTC

Price :
Quantity :  
  • 98 Units in Stock



The DS3231 is a low-cost, extremely accurate I2C real-time clock (RTC) with an integrated temperaturecompensated crystal oscillator (TCXO) and crystal. The device incorporates a battery input, and maintains accurate timekeeping when main power to the device is interrupted. The integration of the crystal resonator enhances the long-term accuracy of the device as well as reduces the piece-part count in a manufacturing line. The DS3231 is available in commercial and industrial temperature ranges, and is offered in a 16-pin, 300-mil SO package. The RTC maintains seconds, minutes, hours, day, date, month, and year information. The date at the end of the month 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 an AM/PM indicator. Two programmable time-of-day alarms and a programmable square-wave output are provided. Address and data are transferred serially through an I2C bidirectional bus. A precision temperature-compensated voltage reference and comparator circuit monitors the status of VCC to detect power failures, to provide a reset output, and to automatically switch to the backup supply when necessary. Additionally, the RST pin is monitored as a pushbutton input for generating a μP reset. The DS3231 real-time clock is a surface mount device. Unlike the other ICs, this one cannot be forced on a breadboard. It requires having a PC board made in which the sensor is mounted (soldered) and connected to leads or wires in order to test.

Benefits and Features :

? Highly Accurate RTC 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

• Accuracy ±2ppm from 0°C to +40°C

• Accuracy ±3.5ppm from -40°C to +85°C

• Digital Temp Sensor Output: ±3°C Accuracy

• Register for Aging Trim • RST Output/Pushbutton Reset Debounce Input

• Two Time-of-Day Alarms • Programmable Square-Wave Output Signal

 ? Simple Serial Interface Connects to Most Microcontrollers

• Fast (400kHz) I2C Interface

 ? Battery-Backup Input for Continuous Timekeeping

• Low Power Operation Extends Battery-Backup Run Time

 • 3.3V Operation

? Operating Temperature Ranges: Commercial (0°C to +70°C) and Industrial (-40°C to +85°C)

? Underwriters Laboratories® (UL) Recognized


  • Servers
  •  Telematics
  • Utility Power Meters
  •  GPS

Pin details:

  • power
  • ground
  • serial clock
  • serial data
  • reset pin
  • interrupt/square wave pin
  • 32KHz output pin
  • battery power pin
  • 8 no-connection pins

Wire the I2C Bus:

  • On the PIC, connect the SCK pin (pin 18) to the DS3231 SCL (pin 16).
  • On the PIC, connect the SDA pin (pin 23) to the DS3231 SDA (pin 15).
  • Connect a resistor from the clock line to the digital power.
  • Connect a resistor from the data line to the digital power.