Skip to the content
12345678910111213141516

DS3231SN#

Maxim Integrated (Analog Devices)Extended

-40℃~+85℃ 100nA 2.3V~5.5V 200uA Built-in I2C Temperature compensation、Backup power management and battery charging、Programmable clock output、Alarm function Yes SOIC-16-300mil Real Time Clocks ROHS

Part id
maxim/DS3231SN#
Category
Real Time Clocks
Package
SOIC-16-300mil
Pins
16
In stock
646 at JLCPCB (C722469)
Used on
15 open-source boards

Overview

The DS3231SN# is a real Time Clock made by Maxim Integrated (Analog Devices) in a SOIC-16-300mil package with 16 pins. -40℃~+85℃ 100nA 2.3V~5.5V 200uA Built-in I2C Temperature compensation、Backup power management and battery charging、Programmable clock output、Alarm function Yes SOIC-16-300mil Real Time Clocks ROHS.

PCBKit's library has its KiCad symbol (LibrePCB_Maxim:DS3231S, from Librepcb) and its footprint (Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm, from KiCad's library), ready for a KiCad board. 646 are in stock at JLCPCB (part C722469). 15 open-source boards in 14 repositories on GitHub use it.

Symbol

8N.C.2VCC3!INT/SQW132KHZ13GND15SDA16SCL4!RST14VBAT
LibrePCB_Maxim:DS3231SFrom Librepcb

Footprint

12345678910111213141516
Package_SO:SOIC-16W_7.5x10.3mm_P1.27mmFrom KiCad's library

From the datasheet

9
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 relative to ground absolute max · p. 2
Works from
-40 °C · DS3231SN operating ambient min · p. 2
Works up to
85 °C · DS3231SN operating ambient max · p. 2
Junction, hottest
125 °C · Junction temperature absolute max · p. 2
Takes working
200 µA · VCC active supply current max at VCC = 3.63V · p. 2
Takes at most
650 µA · VCC temperature conversion current max at VCC = 5.5V · p. 2
Takes asleep
110 µA · VCC standby supply current max at VCC = 3.63V, I2C inactive, 32kHz on, SQW off · p. 2

What it is and has

11
Crystal oscillator
Integrated temperature-compensated crystal oscillator and crystal · p. 1
Accuracy
±2ppm from 0°C to +40°C · p. 1
Accuracy
±3.5ppm from -40°C to +85°C · p. 1
Temperature sensor
Digital output, ±3°C accuracy · p. 1
Aging trim
Register for aging trim · p. 1
Reset
RST output and pushbutton reset debounce input · p. 1
Alarms
Two time-of-day alarms · p. 1
Square-wave output
Programmable · p. 1
I2C
Fast, 400kHz · p. 1
Battery backup
Battery-backup input for continuous timekeeping · p. 1
Approval
Underwriters Laboratories (UL) recognized · p. 1

Around it

5
cap 0.1µF to 1.0µF
between VCC and GND; Primary supply decoupling. · p. 9
cap 0.1µF to 1.0µF
between VBAT and GND; Low-leakage capacitor when VBAT is the primary power source; not required when VBAT is the backup source. · p. 9
res external pullup resistor
between 32kHz and supply; Required for the open-drain output when used; resistance value not specified. · p. 9
res external pullup resistor
between INT/SQW and supply at 5.5V or less; Required for the open-drain interrupt or square-wave output when used; resistance value not specified. · p. 9
res external pullup resistor
between SDA and supply at up to 5.5V; Required for the open-drain I2C data pin; resistance value not specified. · p. 9

Specifications

68
ParameterConditionsAs printedPage
Voltage Range on Any Pin Relative to Groundmin -0.3 · max 6 V2
Junction Temperaturemax 125 °C2
Junction-to-Case Thermal Resistance θJCNote 1; four-layer boardtyp 23 °C/W2
Storage Temperature Rangemin -40 · max 85 °C2
Lead Temperature (soldering, 10s)soldering, 10smax 260 °C2
Soldering Temperature (reflow, 2 times max)reflow, 2 times maxmax 260 °C2
Operating Temperature RangeDS3231SNmin -40 · max 85 °C2
Supply Voltage VCCTA = TMIN to TMAX; Notes 2, 3min 2.3 · typ 3.3 · max 5.5 V2
Supply Voltage VBATTA = TMIN to TMAX; Notes 2, 3min 2.3 · typ 3 · max 5.5 V2
Active Supply Current ICCAVCC = 3.63V; Notes 4, 5max 200 uA2
Active Supply Current ICCAVCC = 5.5V; Notes 4, 5max 300 uA2
Standby Supply Current ICCSI2C bus inactive, 32kHz output on, SQW output off; VCC = 3.63V; Note 5max 110 uA2
Standby Supply Current ICCSI2C bus inactive, 32kHz output on, SQW output off; VCC = 5.5V; Note 5max 170 uA2
Temperature Conversion Current ICCSCONVI2C bus inactive, 32kHz output on, SQW output off; VCC = 3.63Vmax 575 uA2
Temperature Conversion Current ICCSCONVI2C bus inactive, 32kHz output on, SQW output off; VCC = 5.5Vmax 650 uA2
Power-Fail Voltage VPFmin 2.45 · typ 2.575 · max 2.7 V2
Logic 0 Output, 32kHz, INT/SQW, SDA VOLIOL = 3mAmax 0.4 V2
Logic 0 Output, RST VOLIOL = 1mAmax 0.4 V2
Output Leakage Current 32kHz, INT/SQW, SDA ILOOutput high impedancemin -1 · typ 0 · max 1 uA2
Input Leakage SCL ILImin -1 · max 1 uA2
RST Pin I/O Leakage IOLRST high impedance (Note 6)min -200 · max 10 uA2
VBAT Leakage Current (VCC Active) IBATLKGVCC Activetyp 25 · max 100 nA2
Output Frequency fOUTVCC = 3.3V or VBAT = 3.3Vtyp 32.768 kHz3
Frequency Stability vs. Voltage Δf/Vtyp 1 ppm/V3
Trim Register Frequency Sensitivity per LSB Δf/LSBSpecified at: -40°Ctyp 0.7 ppm3
Trim Register Frequency Sensitivity per LSB Δf/LSBSpecified at: +25°Ctyp 0.1 ppm3
Trim Register Frequency Sensitivity per LSB Δf/LSBSpecified at: +70°Ctyp 0.4 ppm3
Trim Register Frequency Sensitivity per LSB Δf/LSBSpecified at: +85°Ctyp 0.8 ppm3
Temperature Accuracy TempVCC = 3.3V or VBAT = 3.3Vmin -3 · max 3 °C3
Active Battery Current IBATAVCC = 0V; EOSC = 0, BBSQW = 0, SCL = 400kHz (Note 5); VBAT = 3.63Vmax 70 uA3
Active Battery Current IBATAVCC = 0V; EOSC = 0, BBSQW = 0, SCL = 400kHz (Note 5); VBAT = 5.5Vmax 150 uA3
Timekeeping Battery Current IBATTVCC = 0V; EOSC = 0, BBSQW = 0, EN32kHz = 1, SCL = SDA = 0V or SCL = SDA = VBAT (Note 5); VBAT = 3.63Vtyp 0.84 · max 3 uA3
Timekeeping Battery Current IBATTVCC = 0V; EOSC = 0, BBSQW = 0, EN32kHz = 1, SCL = SDA = 0V or SCL = SDA = VBAT (Note 5); VBAT = 5.5Vtyp 1 · max 3.5 uA3
Temperature Conversion Current IBATTCVCC = 0V; EOSC = 0, BBSQW = 0, SCL = SDA = 0V or SCL = SDA = VBAT; VBAT = 3.63Vmax 575 uA3
Temperature Conversion Current IBATTCVCC = 0V; EOSC = 0, BBSQW = 0, SCL = SDA = 0V or SCL = SDA = VBAT; VBAT = 5.5Vmax 650 uA3
Data-Retention Current IBATTDRVCC = 0V; EOSC = 1, SCL = SDA = 0V, +25°Cmax 100 nA3
SCL Clock Frequency fSCLFast modemin 100 · max 400 kHz4
SCL Clock Frequency fSCLStandard modemin 0 · max 100 kHz4
Bus Free Time Between STOP and START Conditions tBUFFast modemin 1.3 us4
Bus Free Time Between STOP and START Conditions tBUFStandard modemin 4.7 us4
Hold Time (Repeated) START Condition (Note 7) tHD:STAFast mode; Note 7min 0.6 us4
Hold Time (Repeated) START Condition (Note 7) tHD:STAStandard mode; Note 7min 4 us4
Low Period of SCL Clock tLOWFast modemin 1.3 us4
Low Period of SCL Clock tLOWStandard modemin 4.7 us4
High Period of SCL Clock tHIGHFast modemin 0.6 us4
High Period of SCL Clock tHIGHStandard modemin 4 us4
Data Hold Time (Notes 8, 9) tHD:DATFast mode; Notes 8, 9min 0 · max 0.9 us4
Data Hold Time (Notes 8, 9) tHD:DATStandard mode; Notes 8, 9min 0 · max 0.9 us4
Data Setup Time (Note 10) tSU:DATFast mode; Note 10min 100 ns4
Data Setup Time (Note 10) tSU:DATStandard mode; Note 10min 250 ns4
START Setup Time tSU:STAFast modemin 0.6 us4
START Setup Time tSU:STAStandard modemin 4.7 us4
Rise Time of Both SDA and SCL Signals (Note 11) tRFast mode; Note 11; minimum omitted because its expression is split across linesmax 300 ns4
Rise Time of Both SDA and SCL Signals (Note 11) tRStandard mode; Note 11max 1000 ns4
Fall Time of Both SDA and SCL Signals (Note 11) tFFast mode; Note 11; minimum omitted because its expression is split across linesmax 300 ns4
Fall Time of Both SDA and SCL Signals (Note 11) tFStandard mode; Note 11max 300 ns4
Setup Time for STOP Condition tSU:STOFast modemin 0.6 us4
Setup Time for STOP Condition tSU:STOStandard modemin 4.7 us4
Capacitive Load for Each Bus Line CBNote 11max 400 pF4
Capacitance for SDA, SCL CI/Otyp 10 pF4
Pulse Width of Spikes That Must Be Suppressed by the Input Filter tSPtyp 30 ns4
Pushbutton Debounce PBDBtyp 250 ms4
Reset Active Time tRSTtyp 250 ms4
Oscillator Stop Flag (OSF) Delay tOSFNote 12typ 100 ms4
Temperature Conversion Time tCONVtyp 125 · max 200 ms4
VCC Fall Time; VPF(MAX) to VPF(MIN) tVCCFTA = TMIN to TMAXmin 300 us4
VCC Rise Time; VPF(MIN) to VPF(MAX) tVCCRTA = TMIN to TMAXmin 0 us4
Recovery at Power-Up tRECTA = TMIN to TMAX; Note 13typ 250 · max 300 ms4

Pins, by the datasheet

16
1 32kHz
32kHz output operates on either supply when enabled; requires an external pullup resistor; may be left open if unused. · p. 9
2 VCC
Primary supply input; decouple with a 0.1uF to 1.0uF capacitor; connect to ground if unused. · p. 9
3 INT/SQW
Active-low interrupt or programmable square-wave output selected by INTCN, RS2 and RS1; requires an external pullup to a supply at 5.5V or less; may be left unconnected if unused. · p. 9
4 RST
Active-low reset input/output indicates power failure and accepts a debounced pushbutton reset; internal nominal 50kΩ pullup to VCC; do not connect an external pullup. · p. 9
5 N.C.
No connection; must be connected to ground. · p. 9
6 N.C.
No connection; must be connected to ground. · p. 9
7 N.C.
No connection; must be connected to ground. · p. 9
8 N.C.
No connection; must be connected to ground. · p. 9
9 N.C.
No connection; must be connected to ground. · p. 9
10 N.C.
No connection; must be connected to ground. · p. 9
11 N.C.
No connection; must be connected to ground. · p. 9
12 N.C.
No connection; must be connected to ground. · p. 9
13 GND
Ground. · p. 9
14 VBAT
Backup supply input; decouple with a 0.1uF to 1.0uF low-leakage capacitor when used as the primary source; no capacitor required for backup use; connect to ground if unused. · p. 9
15 SDA
I2C serial data input/output; requires an external pullup resistor; pullup voltage may be up to 5.5V regardless of VCC. · p. 9
16 SCL
I2C serial clock input synchronizes data movement; accepts up to 5.5V regardless of VCC. · p. 9

Open-source boards using it

15See all 15
  • 2 layers62.7 × 44.4 mmDRM Watch v3, the printed circuit board in 3D

    DRM Watch v3

    drfailov/DRM_Watch_v3

    DRM Watch 3 - Наручний годинник з дисплеєм SHARP Memory LCD

    116 parts92GPL-3.0
  • 2 layers22 × 34.7 mmIO watch, the printed circuit board in 3D

    IO watch

    zyyan20h/PCBRenewal

    One other thing you can try is using the Python Scripting Console Click the button with the terminal icon at the top of the screen Type import pcbnew and press enter Type print(pcbnew.FULLBACKTRACE) and press enter The…

    39 parts4
  • 4 layers92 × 56 mmREIN R1, the printed circuit board in 3D

    REIN R1

    rein-baremetal/REIN_R1_KiCad

    Dual-MCU baremetal embedded development board featuring high-speed QSPI storage, hardware USB hub, and flexible power management. Open for PCB trace routing collaboration

    177 parts2
  • 2 layers100 × 50 mmKiwiigo, the printed circuit board in 3D

    Kiwiigo

    spdidle/kiwiigo

    kiwi on the go

    27 parts2
  • 2 layers74.5 × 80 mmPico2v2, the printed circuit board in 3D

    Pico2v2

    J-K-Kowalski/PCSK225-PICO2

    PCSK225 Pico2 SDR Receiver

    99 parts1BSD-3-Clause
  • 2 layers100 × 121.8 mmTemp Hum Asa V2, the printed circuit board in 3D

    Temp Hum Asa V2

    BreeJagdea/Temp_Hum_Asa

    PCB to Lcd_Thc_RTC_2.1

    85 parts
  • 2 layers140 × 100 mmPlts monitoring controller, the printed circuit board in 3D

    Plts monitoring controller

    desvandi/PLTSMonitoring_Firmware-Backend

    Integrated to PLTSMonitoring_PWA

    152 parts

Parts like it

8

Questions

Is there a KiCad symbol and footprint for the DS3231SN#?

Yes. The symbol is LibrePCB_Maxim:DS3231S and the footprint Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm, both drawn on this page. PCBKit places them on a board for you when you design with it.

What package is the DS3231SN#?

SOIC-16-300mil, with 16 pins. Its footprint is drawn on this page.

Where is the DS3231SN# datasheet?

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

Where can I order the DS3231SN#?

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

What can replace the DS3231SN#?

Parts like it in the library: the DS3231SN#T&R by Maxim Integrated (Analog Devices), the DS1339C-33#T&R by Maxim Integrated (Analog Devices), the DS3231M+TRL by Maxim Integrated (Analog Devices) and the PCA2129T/Q900/2,51 by NXP Semiconductors. Check their datasheets: a part that fits the footprint may still differ in its ratings.

Which open-source boards use the DS3231SN#?

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