Maxim Integrated

DS3231MZ+ - ±5ppm I2C RTC with TCXO | Maxim Integrated

MPN: DS3231MZ+ ✓ Active
In Stock Ships in 1-3 business days
2.3 V to 5.5 V Vdss 3 µA (timekeeping mode) Id 8-SOIC (0.154", 3.90 mm width) Package None (RTC only, no NV SRAM) Memory
From $1.95 USD / Unit
MOQ: 1 |
Price updated: 2026-10-07
Volume Pricing
Qty Unit Price Extended
1 $3.45 $3.45
10 $3.1 $31.00
100 $2.75 $275.00
500 $2.45 $1,225.00
1,000 $2.2 $2,200.00
3,000 $1.95 $5,850.00
ℹ️ All prices are in USD

DS3231MZ+ Overview

The Maxim Integrated DS3231MZ+ is an extremely accurate I2C real-time clock (RTC) with an integrated temperature-compensated MEMS resonator, providing ±5 ppm accuracy over 0°C to +50°C in an 8-pin SOIC (0.154", 3.90 mm width) package. It operates from a 2.3 V to 5.5 V supply and maintains timekeeping through an external backup battery when main power is interrupted. Communication is via a fast 400 kHz I2C (2-wire) serial interface with time/date registers in HH:MM:SS and YY-MM-DD-dd format. Source: Maxim/Analog Devices DS3231M datasheet.

A real-time clock (RTC) is a dedicated low-power timing IC that keeps wall-clock time (seconds, minutes, hours, day, date, month, year) independently of the main MCU. It sits in the system hierarchy alongside power management and supervision ICs, between the backup battery and the host processor. Unlike an MCU's internal timer, an RTC continues counting during main power loss, making it the canonical block for data-logger timestamping, scheduled wake-ups, and any application that must remember "when" across power cycles. The DS3231M family specifically replaces a discrete crystal + TCXO with an on-chip MEMS resonator, eliminating PCB crystal layout and trimming steps.

Key features include ±5 ppm accuracy (±2.17 minutes/year) without user calibration, integrated MEMS resonator that removes external crystal requirements, automatic backup switching to a battery on VCC loss, two programmable time-of-day alarms, a square-wave output (1 Hz, 1.024 kHz, 4.096 kHz, 8.192 kHz), and an I2C bus rated to 400 kHz fast mode. The 8-SOIC package is pin-compatible with the popular DS1307 footprint family and other 8-pin RTCs. Operating temperature spans the industrial -40°C to +85°C range, and the part consumes roughly 110 µA active and 3 µA in timekeeping mode with VCC removed.

The DS3231M uses a silicon MEMS resonator trimmed at the factory, eliminating the need for external load capacitors or PCB crystal layout. An on-chip temperature sensor drives a compensation circuit that adjusts the counter, achieving the ±5 ppm rating without user intervention. Battery-backup mode is transparent to the user: when VCC drops below the battery voltage, an internal switch redirects the supply to the backup source and the oscillator keeps running. Per the manufacturer datasheet, the BB32 pin accepts a 3 V lithium cell (CR2032 typical) and the device draws 3 µA from the battery in timekeeping mode.

Typical applications include Arduino/Raspberry Pi data-logger timestamps, IoT sensor nodes that wake on RTC alarm, point-of-sale terminals requiring accurate transaction time, GPS-disciplined wall-clock backup, and industrial controllers with scheduled logging. The 8-SOIC footprint drops onto thousands of existing DS3231 / DS1307 module PCBs, making it the lowest-effort upgrade from generic crystal RTCs.

When designing with the DS3231MZ+, place a 0.1 µF decoupling capacitor as close as possible to VCC and a backup battery on the BB32 pin through a decoupling network; ensure the I2C lines (SCL, SDA) are pulled up to VCC with 4.7 kΩ resistors for reliable 400 kHz operation. The INT/SQW pin can be left open or used as an interrupt source for the host MCU.

This page synthesizes distributor pricing, drop-in alternatives in the same 8-SOIC package, and practical design notes that go beyond what is found in the manufacturer datasheet alone.

Drop-in alternatives for DS3231MZ+ — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

DS3231M+

✅ Drop-In
📦 8-SOIC (0.154", 3.90 mm)
same die and 8-SOIC package, no Z suffix (tape/reel code difference only), pin-to-pin compatible

📋 Reference alternative (not in catalog)

DS3231M+TRL

✅ Drop-In
📦 8-SOIC (0.154", 3.90 mm)
same die, TRL = 3k-piece reel packaging code; pin-out and electrical specs identical

📋 Reference alternative (not in catalog)

DS3232MZ+

✅ Drop-In
📦 8-SOIC (0.154", 3.90 mm)
same family, adds 236 bytes battery-backed SRAM, identical pinout and I2C map, slightly higher current

📋 Reference alternative (not in catalog)

DS3231SN#

✅ Drop-In
📦 8-SOIC (0.154", 3.90 mm)
same 8-SOIC pinout but uses external 32.768 kHz crystal; ±2 ppm accuracy vs ±5 ppm, BOM adds crystal

📋 Reference alternative (not in catalog)

MCP79410-I/SN

✅ Drop-In
📦 8-SOIC (0.154", 3.90 mm)
8-SOIC pin-compatible I2C RTC with integrated 32.768 kHz resonator; register map differs (firmware port required)

📋 Reference alternative (not in catalog)

DS3231MZ+ Specifications

Function Real-Time Clock (RTC) with TCXO/MEMS resonator
Interface I2C, 2-Wire Serial (up to 400 kHz)
Date Format YY-MM-DD-dd
Time Format HH:MM:SS (12/24 hour)
Supply Voltage 2.3 V to 5.5 V
Accuracy ±5 ppm (0°C to +50°C)
Operating Temperature -40°C to +85°C
Battery Backup Current 3 µA (timekeeping mode)
Memory Size None (RTC only, no NV SRAM)
Package / Case 8-SOIC (0.154", 3.90 mm width)
Mounting Type Surface Mount
Number of Pins 8
Alarms 2 programmable time-of-day alarms
Square-Wave Output 1 Hz, 1.024 kHz, 4.096 kHz, 8.192 kHz
Resonator Type Integrated MEMS (no external crystal required)
RoHS Status Compliant

DS3231MZ+ Pin Configuration

SOIC-8 Package Pinout Diagram SOIC-8 8-pin small outline IC, 3.9x4.9mm, P1.27mm, JEDEC MS-012. 1 8 2 7 3 6 4 5 SOIC-8
Pin 1 INT/SQW — Interrupt or square-wave output
Pin 2 SDA — I2C data (open-drain, requires pull-up)
Pin 3 SCL — I2C clock (open-drain, requires pull-up)
Pin 4 VBAT — Backup battery input (3 V lithium cell)
Pin 5 GND — Ground
Pin 6 VCC — Main supply, 2.3 V to 5.5 V
Pin 7 NC — Not connected (per datasheet)
Pin 8 NC — Not connected (per datasheet)

Typical Applications

DS3231MZ+ is suitable for 6 applications: Arduino / Raspberry Pi Data Logger Timestamping, IoT Sensor Node with RTC Alarm Wake, Point-of-Sale Terminal Timekeeping, GPS-Disciplined Wall-Clock Backup, Industrial Controller Scheduled Logging, Consumer Electronics Display Clock.

🧩

Arduino / Raspberry Pi Data Logger Timestamping

The DS3231MZ+ is the default RTC companion for Arduino UNO, ESP32, and Raspberry Pi data-logger projects that must timestamp readings when the host MCU is offline or when network time (NTP) is unavailable. The integrated MEMS resonator eliminates the external 32.768 kHz crystal and load capacitors, so a complete battery-backed real-time clock fits on two I2C lines and one coin cell. At ±5 ppm (≈ ±2.17 minutes/year), timestamps remain trustworthy across multi-month sensor deployments, and the 3 µA backup current lets a CR2032 hold time for over a decade. Drop the chip on any ZS-042 module footprint, load a DS3231 library, and log timestamps with millisecond-level consistency between power cycles.

📱

IoT Sensor Node with RTC Alarm Wake

Battery-powered IoT sensor nodes rely on the DS3231MZ+ to wake the host periodically using its two programmable time-of-day alarms. While the host sleeps in deep-sleep mode drawing microamps, the RTC continues ticking on the backup cell; when the alarm fires, the INT/SQW pin asserts and the host wakes, reads sensors, and transmits. This pattern extends coin-cell life from weeks to years compared with MCU-internal timers that drift and force frequent re-syncs. The 2.3 V to 5.5 V supply range supports both 3.3 V ESP32 nodes and 5 V Arduino variants without level shifting, and the 8-SOIC footprint integrates easily above the host PCB.

🏭

Point-of-Sale Terminal Timekeeping

POS terminals, payment terminals, and fiscal printers require accurate transaction timestamps that survive power interruptions and accidental power-cord pulls. The DS3231MZ+ provides ±5 ppm accuracy, integrated MEMS resonator, and transparent battery-backup switching, so transaction logs always carry the correct wall-clock time even when the main supply is removed at end-of-day. The 8-SOIC package and I2C interface integrate into the terminal mainboard with a CR2032 backup cell providing months of holdover. Its two alarms can drive end-of-day and audit-log events without burdening the application processor.

🖥️

GPS-Disciplined Wall-Clock Backup

Wall clocks, industrial time displays, and GPS-disciplined clocks use the DS3231MZ+ as a holdover oscillator when GPS signals are lost (indoor mounting, antenna failure, jamming). With ±5 ppm accuracy, the RTC keeps time within seconds per day even without GPS correction for weeks at a time. The 1 Hz square-wave output can directly drive a stepper motor or counter, while the INT/SQW alarm output triggers periodic display refreshes. The 8-SOIC and battery backup make the DS3231MZ+ a maintenance-free upgrade from legacy DS1307 crystal RTCs in clock modules.

🏭

Industrial Controller Scheduled Logging

PLCs, industrial controllers, and SCADA peripherals use the DS3231MZ+ to time-stamp event logs, scheduled maintenance tasks, and time-of-use metering where regulatory accuracy is required. The wide -40°C to +85°C industrial operating range handles factory-floor conditions, and the integrated MEMS resonator eliminates crystal aging concerns in high-vibration environments. Battery backup keeps the clock running through power outages so the controller never has to re-acquire time on restart. The 8-SOIC package and 400 kHz I2C interface drop into any embedded controller with two free GPIO pins.

📺

Consumer Electronics Display Clock

Microwave ovens, washing machines, audio receivers, and home automation panels use the DS3231MZ+ to maintain wall-clock time across power cycles, including brief outages and standby mode. The integrated MEMS resonator means no crystal or trimming is needed during assembly, lowering manufacturing cost and improving yield. The INT/SQW pin can drive the display multiplex directly or trigger the host to refresh the time on wake. Combined with a coin cell, the clock stays accurate for the lifetime of the product without user intervention.

What is the accuracy of the DS3231MZ+?
The DS3231MZ+ provides ±5 ppm accuracy over 0°C to +50°C, which equates to a worst-case drift of ±2.17 minutes per year according to the manufacturer datasheet. This level of accuracy is achieved with an internal MEMS resonator and on-chip temperature compensation, requiring no user calibration. For most IoT, logging, and embedded applications this accuracy eliminates the need for periodic NTP re-sync.
What is the supply voltage range of the DS3231MZ+?
The DS3231MZ+ operates from a single supply of 2.3 V to 5.5 V on its VCC pin, allowing direct connection to both 3.3 V and 5 V microcontrollers without level shifters. According to the manufacturer datasheet, when VCC drops below the backup-battery voltage, the device automatically switches to the battery source so timekeeping continues uninterrupted. The wide supply range makes it compatible with virtually all modern 8-bit, 32-bit, and ARM-based MCUs.
Does the DS3231MZ+ require an external crystal?
No, the DS3231MZ+ integrates the timing resonator on-chip using a MEMS element trimmed at the factory. Unlike the original DS3231 which still requires an external 32.768 kHz AT-cut crystal, the DS3231M family removes both the crystal and the load capacitors from the BOM. This simplifies PCB layout, eliminates crystal startup variability, and reduces the total component count from three to zero external timing parts.
How is the DS3231MZ+ different from the DS3231?
The DS3231MZ+ is the MEMS-resonator variant (DS3231M family) while the classic DS3231 uses an external 32.768 kHz quartz crystal plus the TCXO compensation circuit. Both share the same I2C register map, footprint, and basic feature set, so firmware is drop-in compatible. The DS3231M offers slightly lower accuracy (±5 ppm vs ±2 ppm for the original DS3231) but eliminates the BOM cost and assembly time of the external crystal.
What battery should I use for backup on the DS3231MZ+?
The DS3231MZ+ is designed for a 3 V primary lithium cell such as a CR2032 coin cell connected to the BB32 (VBAT) pin. According to the Maxim/Analog Devices datasheet, the backup current draw is approximately 3 µA in timekeeping mode, which yields roughly 10+ years of holdover from a 240 mAh CR2032. A decoupling capacitor of 0.1 µF should be placed close to the VBAT pin to filter switching transients when VCC is removed.
Where can I buy the DS3231MZ+ online?
The DS3231MZ+ is in stock at authorized distributors including DigiKey, Mouser, and LCSC as of 2026-10-07. DigiKey and Mouser list the part as generally available with same-day shipping for small quantities, while LCSC quotes from approximately $2.29 at reel quantities. XAIPART also lists the DS3231MZ+ with quantity-break pricing for prototype through production volumes.
What is the price of the DS3231MZ+ in production quantities?
As of 2026-10-07, the DS3231MZ+ prices range from approximately $3.45 at qty 1 to $1.95 at qty 3000 on US distributors. LCSC shows a lower reel price around $2.29 for high volumes. Prices fluctuate with lithium cell demand and crystal-RTC shortages, so check current distributor quotes before committing a BOM line. A complete XAIPART quantity-break schedule is available on the product page.
What is the lead time for the DS3231MZ+?
Lead time for the DS3231MZ+ is typically 6 to 12 weeks when ordered directly from Maxim/Analog Devices in tube or reel quantities, as of 2026-10-07. Authorized distributors such as DigiKey and Mouser generally ship from stock with no lead-time penalty for prototype quantities. If you are planning a high-volume production build, place orders at least one quarter in advance to absorb allocation cycles.
DS3231MZ+ vs DS3232SN# - which is better for my design?
The DS3231MZ+ and DS3232SN# are not direct drop-in equivalents. The DS3231MZ+ is an 8-SOIC MEMS-RTC with ±5 ppm accuracy and no SRAM, while the DS3232SN# adds 236 bytes of battery-backed SRAM and uses an external crystal. Choose the DS3231MZ+ when you need the smallest BOM and basic timekeeping; choose the DS3232SN# when you also need non-volatile parameter storage on the same chip.
What is the best drop-in replacement for the DS3231MZ+?
The closest drop-in replacements for the DS3231MZ+ in the same 8-SOIC package are the DS3231M+ (non-Z suffix, tape-and-reel), the DS3232MZ+ (with 236 B SRAM), and the DS3231SN# variant. For a true pin-compatible 8-SOIC substitute from another manufacturer, the Microchip MCP79410 is a popular option but requires firmware changes for the different register map.
Can I use a DS1307 module footprint for the DS3231MZ+?
Yes, the DS3231MZ+ shares the 8-SOIC pinout (VCC, GND, SCL, SDA, SQW/INT, VBAT, plus two NC pins) that matches the majority of ZS-042 / DS1307 module PCBs. The DS3231MZ+ also runs from 2.3 V to 5.5 V, covering the 3.3 V and 5 V supply ranges that DS1307 modules are designed for. The trade-off is firmware: the DS3231MZ+ register map differs from DS1307, so existing Arduino DS1307 libraries must be swapped for a DS3231 library.
When should I choose the DS3231MZ+ over the DS3231 (original)?
Choose the DS3231MZ+ when you want the smallest BOM count, no external crystal layout, and ±5 ppm accuracy without calibration. Choose the original DS3231 (e.g., DS3231SN#) when you need tighter ±2 ppm accuracy for instrumentation or scientific timing, or when you prefer a discrete quartz resonator for EMI reasons. Both share the same I2C register map and the same 8-SOIC footprint, so PCB layout is unchanged between them.
Where can I download the DS3231MZ+ datasheet PDF?
The official DS3231MZ+ datasheet PDF is hosted on the Analog Devices product page at https://www.analog.com/en/products/ds3231m.html. Maxim/Analog Devices also publishes the DS3231M datasheet on alldatasheet.com and through authorized distributor document libraries. The datasheet contains the I2C register map, accuracy curves, alarm programming examples, and recommended battery-backup circuit.
Where can I find the DS3231MZ+ pinout?
The DS3231MZ+ pinout for the 8-SOIC package is: pin 1 = SQW/INT, pin 2 = SDA, pin 3 = SCL, pin 4 = VBAT, pin 5 = GND, pin 6 = VCC, pin 7 = NC, pin 8 = NC. This pinout is consistent with the DS3231 family reference design and matches the ZS-042 / DS1307 module pad layout. A visual pinout diagram is available on the XAIPART product page and in the manufacturer datasheet.
What are the key specifications of the DS3231MZ+ that engineers should know?
The DS3231MZ+ integrates a MEMS resonator, a TCXO compensation circuit, and an I2C RTC in an 8-SOIC package, with key parameters: ±5 ppm accuracy (0°C to +50°C), 2.3 V to 5.5 V supply, 400 kHz I2C interface, two programmable alarms, 1 Hz/1.024 kHz/4.096 kHz/8.192 kHz square-wave output, 3 µA battery-backup current, and -40°C to +85°C industrial operating range. The integrated MEMS resonator eliminates the external 32.768 kHz crystal required by the original DS3231.

Engineering reference data for DS3231MZ+ — comparison, design guidance, and compliance information.

Selection Guide

Choose the DS3231MZ+ when you want the simplest battery-backed RTC implementation with the smallest BOM - the integrated MEMS resonator eliminates the external 32.768 kHz crystal and load capacitors required by older RTCs. Choose the DS3231M+ (no Z suffix) for the same electrical spec but a different reel packaging code. Choose the DS3232MZ+ if you also need 236 bytes of battery-backed SRAM for parameter storage. Choose the DS3231SN# when you require tighter ±2 ppm accuracy and are willing to add an external crystal. Choose the Microchip MCP79410-I/SN when you need a 1.8 V minimum supply (versus 2.3 V) or when Maxim supply is constrained, but plan a firmware port for the different register map.

Comparison with Alternatives

Parameter This Product DS3231M+ DS3232MZ+ DS3231SN# MCP79410-I/SN
Brand Maxim Integrated Maxim Integrated Maxim Integrated Maxim Integrated Microchip Technology
Package 8-SOIC (0.154", 3.90 mm) 8-SOIC - same 8-SOIC - same 8-SOIC - same 8-SOIC - same
Supply Voltage 2.3 V to 5.5 V 2.3 V to 5.5 V 2.3 V to 5.5 V 2.3 V to 5.5 V 1.8 V to 5.5 V
Accuracy ±5 ppm (0°C to +50°C) ±5 ppm ±5 ppm ±2 ppm (external crystal) ±5 ppm typical
External Crystal Required No (integrated MEMS) No No Yes (32.768 kHz) No (integrated resonator)
SRAM None None 236 bytes None 64 bytes
Interface Speed I2C up to 400 kHz 400 kHz 400 kHz 400 kHz 400 kHz
Operating Temperature -40°C to +85°C -40°C to +85°C -40°C to +85°C -40°C to +85°C -40°C to +85°C

Key Differentiators

  • Integrated MEMS resonator eliminates external crystal BOM (vs DS3231SN#)
  • Pin-compatible upgrade path for DS1307 module footprints (vs DS3231SN#)
  • Cross-brand drop-in option with broader voltage range (vs MCP79410-I/SN)

Design Notes

Estimated: with VCC = 3.3 V, a CR2032 backup cell (3 V, 240 mAh), and 3 µA backup draw, holdover time is approximately 240 mAh / 3 µA = 80,000 hours ≈ 9 years, neglecting self-discharge. Place a 0.1 µF decoupling capacitor on VBAT close to the IC, and a 1 µF + 0.1 µF pair on VCC. If the application experiences rapid VCC transients, add a 100 Ω series resistor on VCC to limit inrush into the internal supply switch.

Although the DS3231MZ+ integrates the resonator, it is still sensitive to nearby thermal gradients. Route the I2C lines (SCL, SDA) with 4.7 kΩ pull-ups to VCC and keep them short. Do not place the RTC directly above or below high-current switching converter inductors; ±5 ppm accuracy assumes the temperature-compensation circuit can read the chip's own temperature correctly, which is corrupted by adjacent heat sources. A ground pour under and around the SOIC improves thermal uniformity.

Common pitfalls: (1) leaving VBAT floating - the part still works but loses backup capability; always tie VBAT to a coin cell or supply through a series diode. (2) Forgetting I2C pull-ups - the SDA/SCL lines are open-drain and the bus will not function without external 4.7 kΩ pull-ups. (3) Driving the INT/SQW pin as an input - it is an open-drain output that needs a pull-up; shorting it to VCC can damage the die. (4) Using software-only library defaults that mask the alarm enable bits; verify the CONTROL and STATUS registers in the application code.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS and lead-free per Maxim Integrated product page; AEC-Q100 not applicable for this consumer/industrial-grade RTC. Halogen-free status not stated in provided data.

Data verified on: 2026-10-07 — data verified and curated by XAIPART's component engineering team

Related Searches

DS3231MZ+ DS3231MZ+ datasheet Maxim Integrated DS3231MZ+ ±5ppm I2C RTC 8-SOIC MEMS 8-SOIC real time clock battery backup DS3231MZ+ Arduino RTC module DS3231MZ+ vs DS3231SN# DS3231MZ+ drop-in replacement DS3231MZ+ buy price what is the accuracy of DS3231MZ+ DS3231MZ+ pinout 8-SOIC MEMS resonator I2C RTC no crystal

Related Components & Terms

Maxim Integrated Analog Devices DS3231MZ+ DS3231M DS3231 DS3232MZ+ MCP79410-I/SN Real-Time Clock RTC I2C TCXO MEMS resonator 8-SOIC RoHS AEC-Q100 ±5 ppm battery backup INT/SQW VBAT CR2032 Arduino Raspberry Pi data logger industrial controller point-of-sale
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details