Skip to the content
12345678

DS3231MZ+

Maxim Integrated (Analog Devices)Extended

-40℃~+85℃ 2.3V~5.5V I2C Temperature compensation、Backup power management and battery charging、Alarm function、Periodic interrupt output SOIC-8 Real Time Clocks ROHS

Part id
maxim/DS3231MZ+
Category
Real Time Clocks
Package
SOIC-8
Pins
8
In stock
320 at JLCPCB (C722467)
Used on
215 open-source boards

Overview

The DS3231MZ+ is a real Time Clock made by Maxim Integrated (Analog Devices) in a SOIC-8 package with 8 pins. -40℃~+85℃ 2.3V~5.5V I2C Temperature compensation、Backup power management and battery charging、Alarm function、Periodic interrupt output SOIC-8 Real Time Clocks ROHS.

PCBKit's library has its KiCad symbol (LibrePCB_Maxim:DS3231MZ, from Librepcb) and its footprint (Package_SO:SOIC-8_3.9x4.9mm_P1.27mm, from KiCad's library), ready for a KiCad board. 320 are in stock at JLCPCB (part C722467). 215 open-source boards in 174 repositories on GitHub use it.

Symbol

4!RST2VCC5GND6VBAT8SCL3!INT/SQW132KHZ7SDA
LibrePCB_Maxim:DS3231MZFrom Librepcb

Footprint

12345678
Package_SO:SOIC-8_3.9x4.9mm_P1.27mmFrom KiCad's library

From the datasheet

12
Supply, least
2.3 V · VCC, recommended operating min · p. 2
Supply, most
5.5 V · VCC, recommended operating max · p. 2
Supply, absolute maximum
6 V · VCC and VBAT, any pin absolute max · p. 2
Works from
-45 °C · Operating temperature min · p. 2
Works up to
85 °C · Operating temperature max · p. 2
Junction, hottest
150 °C · Junction temperature absolute max · p. 2
Takes working
300 µA · VCC, I2C active including temperature conversion, VCCMAX, max · p. 2
Takes at most
650 µA · VCC, temperature conversion with I2C inactive, VCCMAX, max · p. 2
Takes asleep
200 µA · VCC, standby with I2C inactive including temperature conversion, VCCMAX, max · p. 2
Takes asleep
2 µA · VBAT, timekeeping with I2C inactive and EN32KHZ = 0, VBATMAX, typical · p. 3
Takes asleep
100 nA · VBAT, data retention with oscillator stopped and I2C inactive, TA = +25NC, max · p. 3
Junction to air (8 SO)
120 K/W · Junction-to-ambient thermal resistance, four-layer board · p. 2

What it is and has

10
Timekeeping accuracy
±5ppm (±0.432 Second/Day), -45°C to +85°C · p. 1
Alarms
Two time-of-day alarms · p. 1
Clock outputs
1Hz and 32.768kHz · p. 1
Reset
Reset output and pushbutton input with debounce · p. 1
Temperature sensor
Digital, ±3°C accuracy · p. 1
I2C
400kHz · p. 1
Battery backup
Backup input for continuous timekeeping · p. 1
Package options
8-Pin or 16-Pin SO · p. 1
Approval
UL recognized · p. 1
Temperature resolution
10-bit, 0.25°C · p. 16

Around it

6
cap 0.1FF to 1.0FF
between VCC and GND; Primary supply decoupling; capacitance notation preserved from supplied text. · p. 7
cap 0.1FF to 1.0FF
between VBAT and GND; Low-leakage capacitor when VBAT is the primary supply; not required when VBAT is the backup supply. Capacitance notation preserved from supplied text. · p. 7
cap 0.1nf to 1nf
between VBAT and GND; Alternate method to filter battery contact bounce during initial attachment; preferred method is applying VCC before battery attachment. · p. 10
res not specified
between 32KHZ and pullup supply; External pullup required when the output is used. · p. 7
res not specified
between INT/SQW and pullup supply; External pullup to a supply at 5.5V or less; pin may be left open if unused. · p. 7
res not specified
between SDA and pullup supply; External pullup required; pullup voltage may be up to 5.5V regardless of VCC. · p. 8

Specifications

37
ParameterConditionsAs printedPage
Voltage Range on Any Pin Relative to GNDmin -0.3 · max 6 V2
Junction Temperaturemax 150 NC2
Operating Temperature Rangemin -45 · max 85 NC2
Lead Temperaturesoldering, 10smax 300 NC2
Storage Temperature Rangemin -55 · max 125 NC2
Soldering Temperaturereflowmax 260 NC2
Junction-to-Ambient Thermal Resistance qJA8 SO; JEDEC JESD51-7, four-layer boardtyp 120 °C/W2
Supply Voltage VCCTA = -45NC to +85NCmin 2.3 · typ 3.3 · max 5.5 V2
Supply Voltage VBATTA = -45NC to +85NCmin 2.3 · typ 3 · max 5.5 V2
Logic 0 VILMaximum 0.3 x VCCmin -0.3 V2
Active Supply Current (I2C Active: Includes Temperature Conversion Current) ICCAVCC = +3.63Vmax 200 uA2
Active Supply Current (I2C Active: Includes Temperature Conversion Current) ICCAVCC = VCCMAXmax 300 uA2
Standby Supply Current (I2C Inactive: Includes Temperature Conversion Current) ICCSVCC = +3.63Vmax 130 uA2
Standby Supply Current (I2C Inactive: Includes Temperature Conversion Current) ICCSVCC = VCCMAXmax 200 uA2
Temperature Conversion Current (I2C Inactive) ICCSCONVVCC = +3.63Vmax 575 uA2
Temperature Conversion Current (I2C Inactive) ICCSCONVVCC = VCCMAXmax 650 uA2
Power-Fail Voltage VPFmin 2.45 · typ 2.575 · max 2.7 V3
Logic 0 Output (32KHZ, INT/SQW, SDA) VOLIOL = 3mAmax 0.4 V3
Logic 0 Output (RST) VOLIOL = 1mAmax 0.4 V3
Output Leakage (32KHZ, INT/SQW, SDA) ILOmin -0.1 · max 0.1 uA3
Input Leakage (SCL) ILImin -0.1 · max 0.1 uA3
RST I/O Leakage IOLmin -200 · max 10 uA3
VBAT Leakage IBATLKGtyp 25 · max 100 nA3
Temperature Conversion Time tCONVtyp 10 ms3
Pushbutton Debounce PBDBtyp 250 ms3
Reset Active Time tRSTtyp 250 ms3
Oscillator Stop Flag (OSF) Delay tOSFNote 3typ 125 · max 200 ms3
Active Battery Current (I2C Active) (Note 4) IBATAVCC = 0V, VBAT = +3.63Vmax 70 uA3
Active Battery Current (I2C Active) (Note 4) IBATAVCC = 0V, VBAT = VBATMAXmax 150 uA3
Timekeeping Battery Current (I2C Inactive) (Note 4) IBATTVCC = 0V, VBAT = +3.63V, EN32KHZ = 0typ 2 · max 3 uA3
Timekeeping Battery Current (I2C Inactive) (Note 4) IBATTVCC = 0V, VBAT = VBATMAX, EN32KHZ = 0typ 2 · max 3.5 uA3
Temperature Conversion Current (I2C Inactive) IBATTCVCC = 0V, VBAT = +3.63Vmax 575 uA3
Temperature Conversion Current (I2C Inactive) IBATTCVCC = 0V, VBAT = VBATMAXmax 650 uA3
Data Retention Current (Oscillator Stopped and I2C Inactive) IBATDRTA = +25NCmax 100 nA3
VCC Fall Time, VPFMAX to VPFMIN tVCCFTA = -45NC to +85NC; Figure 2min 300 Fs3
VCC Rise Time, VPFMIN to VPFMAX tVCCRTA = -45NC to +85NC; Figure 2min 0 Fs3
Recovery at Power-Up tRECNote 5typ 250 · max 300 ms3

Pins, by the datasheet

8
1 32KHZ
32.768kHz output with 50% duty cycle; requires an external pullup resistor, operates on either supply when enabled, and may be left open if unused. · p. 7
2 VCC
Primary power supply; decouple with a 0.1FF to 1.0FF capacitor and connect to ground if unused. · p. 7
3 INT/SQW
Active-low alarm interrupt or 1Hz square-wave output; requires an external pullup to a supply at 5.5V or less and may be left open if unused. · p. 7
4 RST
Active-low reset input/output with debounced pushbutton input; indicates power failure and has an internal pullup to VCC. Do not connect external pullup resistors. · p. 7
5 GND
Ground. · p. 7
6 VBAT
Backup supply input; decouple with a 0.1FF to 1.0FF low-leakage capacitor when used as the primary supply. No capacitor is required for backup use; ground if unused. · p. 7
7 SDA
I2C serial-data input/output; requires an external pullup resistor to a voltage up to 5.5V regardless of VCC. · p. 8
8 SCL
I2C serial-clock input; pullup voltage may be up to 5.5V regardless of VCC. · p. 8

Ordering codes, by the datasheet

3
DS3231MZ+
8 SO · -45NC to +85NC; lead-free/RoHS-compliant · p. 1
DS3231MZ/V+
8 SO · -45NC to +85NC; automotive qualified; lead-free/RoHS-compliant · p. 1
DS3231M+
16 SO · -45NC to +85NC; lead-free/RoHS-compliant · p. 1

Open-source boards using it

215See all 215
  • 2 layers245.2 × 100 mmV5 main, the printed circuit board in 3D

    V5 main

    zynthian/zynthian-hw

    Zynthian hardware stuff: PCBs, schemes, parts specifications, pin assignment, ...

    160 parts156
  • 2 layers82 × 42 mmOpen authenticator, the printed circuit board in 3D

    Open authenticator

    Open-Authenticator/hardware-design

    Hardware design files for open authenticator

    86 parts42MIT
  • 4 layers100 × 75 mmOpenAirScope, the printed circuit board in 3D

    OpenAirScope

    emertcakir/OpenAirScope

    Open-source air quality and environmental monitoring node with STM32H743 + ESP32-C3, LoRaWAN, RS485, USB-C, Li-ion charging, and multi-sensor support.

    282 parts26MIT
  • 2 layers117.8 × 168 mmPicon one v1.0a, the printed circuit board in 3D

    Picon one v1.0a

    fm4dd/picon-one-hw

    KiCad PCB, gerber, and CAD files for the PiCon-One controller.

    73 parts23
  • 2 layers96 × 26 mmHack clock, the printed circuit board in 3D

    Hack clock

    hack-apollo/hack_clock

    A matrix LED WiFi clock.

    28 parts23GPL-3.0
  • 2 layers60 × 100 mmEsp gps ntp, the printed circuit board in 3D

    Esp gps ntp

    liebman/esp32-gps-ntp

    This is an esp-idf app using platformio.

    28 parts22MIT
  • 2 layers87 × 47 mmNetclock, the printed circuit board in 3D

    Netclock

    dilshan/ntp-clock

    Ethernet base NTP clock panel driver

    91 parts11MIT
  • 2 layers83.8 × 41.4 mmSensor Data Logger, the printed circuit board in 3D

    Sensor Data Logger

    jminjares4/ESP32-Sensor-Data-Logger

    Custom ESP32 sensor data logger

    73 parts11

Parts like it

8

Questions

Is there a KiCad symbol and footprint for the DS3231MZ+?

Yes. The symbol is LibrePCB_Maxim:DS3231MZ and the footprint Package_SO:SOIC-8_3.9x4.9mm_P1.27mm, both drawn on this page. PCBKit places them on a board for you when you design with it.

What package is the DS3231MZ+?

SOIC-8, with 8 pins. Its footprint is drawn on this page.

Where is the DS3231MZ+ datasheet?

Maxim Integrated (Analog Devices) publishes it: the Datasheet link on this page opens it.

Where can I order the DS3231MZ+?

JLCPCB lists it as part C722467, with 320 in stock; the sellers' links on this page open their listings.

What can replace the DS3231MZ+?

Parts like it in the library: the PCF8563T/5 by NXP Semiconductors, the PCF8523T/1 by NXP Semiconductors, the PCF85163T/1 by NXP Semiconductors and the DS3231MZ+TRL by Maxim Integrated (Analog Devices). Check their datasheets: a part that fits the footprint may still differ in its ratings.

Which open-source boards use the DS3231MZ+?

215 boards in 174 repositories on GitHub; the most starred are listed on this page, with their KiCad files.