DS3231M RTC: Pinout, Application, Circuit
16 Terminations 3.3V 16 Pin DS3231 Real Time Clocks 0.4MHz
The DS3231M is a low-cost, extremely accurate, I2C real-time clock (RTC).

How to use DS3231 RTC module , connect it to I2C bus and build cool looking OLED clock
DS3231M Pinout

DS3231M CAD Model
Symbol

Footprint

3D Model

DS3231M Description
The DS3231M is a low-cost, extremely accurate, I2C real-time clock (RTC). The device incorporates a battery input and maintains accurate timekeeping when the main power to the device is interrupted. It is available in the same footprint as the popular DS3231 RTC.
DS3231M Features
●Highly Accurate RTC With Integrated MEMS Resonator Completely Manages All Timekeeping Functions
• Complete Clock Calendar Functionality Including Seconds, Minutes, Hours, Day, Date, Month, and Year, with Leap-Year Compensation Up to the Year 2100
• Timekeeping Accuracy ±5ppm (±0.432 Second/Day) from -45°C to +85°C
• Footprint and Functionally Compatible to DS3231
• Two Time-of-Day Alarms
• 1Hz and 32.768kHz Outputs
• Reset Output and Pushbutton Input with Debounce
• Digital Temp Sensor with ±3°C Accuracy
• +2.3V to +5.5V Supply Voltage
● 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
● Operating Temperature Range: -40°C to +85°C
● 8-Pin or 16-Pin SO Packages
● Underwriters Laboratories® (UL) Recognized
DS3231M Block Diagram
The DS3231M is a serial real-time clock (RTC) driven by an internal, temperature-compensated, micro-electromechanical systems (MEMS) resonator. The Block Diagram shows the device's main elements given below.

Specifications
- TypeParameter
- Factory Lead Time6 Weeks
- Mount
In electronic components, the term "Mount" typically refers to the method or process of physically attaching or fixing a component onto a circuit board or other electronic device. This can involve soldering, adhesive bonding, or other techniques to secure the component in place. The mounting process is crucial for ensuring proper electrical connections and mechanical stability within the electronic system. Different components may have specific mounting requirements based on their size, shape, and function, and manufacturers provide guidelines for proper mounting procedures to ensure optimal performance and reliability of the electronic device.
Surface Mount - Mounting Type
The "Mounting Type" in electronic components refers to the method used to attach or connect a component to a circuit board or other substrate, such as through-hole, surface-mount, or panel mount.
Surface Mount - Package / Case
refers to the protective housing that encases an electronic component, providing mechanical support, electrical connections, and thermal management.
16-SOIC (0.295, 7.50mm Width) - Number of Pins16
- Operating Temperature
The operating temperature is the range of ambient temperature within which a power supply, or any other electrical equipment, operate in. This ranges from a minimum operating temperature, to a peak or maximum operating temperature, outside which, the power supply may fail.
-40°C~85°C - Packaging
Semiconductor package is a carrier / shell used to contain and cover one or more semiconductor components or integrated circuits. The material of the shell can be metal, plastic, glass or ceramic.
Tube - Published2010
- Pbfree Code
The "Pbfree Code" parameter in electronic components refers to the code or marking used to indicate that the component is lead-free. Lead (Pb) is a toxic substance that has been widely used in electronic components for many years, but due to environmental concerns, there has been a shift towards lead-free alternatives. The Pbfree Code helps manufacturers and users easily identify components that do not contain lead, ensuring compliance with regulations and promoting environmentally friendly practices. It is important to pay attention to the Pbfree Code when selecting electronic components to ensure they meet the necessary requirements for lead-free applications.
yes - Part Status
Parts can have many statuses as they progress through the configuration, analysis, review, and approval stages.
Active - Moisture Sensitivity Level (MSL)
Moisture Sensitivity Level (MSL) is a standardized rating that indicates the susceptibility of electronic components, particularly semiconductors, to moisture-induced damage during storage and the soldering process, defining the allowable exposure time to ambient conditions before they require special handling or baking to prevent failures
3 (168 Hours) - Number of Terminations16
- ECCN Code
An ECCN (Export Control Classification Number) is an alphanumeric code used by the U.S. Bureau of Industry and Security to identify and categorize electronic components and other dual-use items that may require an export license based on their technical characteristics and potential for military use.
EAR99 - TypeClock/Calendar
- HTS Code
HTS (Harmonized Tariff Schedule) codes are product classification codes between 8-1 digits. The first six digits are an HS code, and the countries of import assign the subsequent digits to provide additional classification. U.S. HTS codes are 1 digits and are administered by the U.S. International Trade Commission.
8542.39.00.01 - Voltage - Supply
Voltage - Supply refers to the range of voltage levels that an electronic component or circuit is designed to operate with. It indicates the minimum and maximum supply voltage that can be applied for the device to function properly. Providing supply voltages outside this range can lead to malfunction, damage, or reduced performance. This parameter is critical for ensuring compatibility between different components in a circuit.
2.3V~5.5V - Terminal Position
In electronic components, the term "Terminal Position" refers to the physical location of the connection points on the component where external electrical connections can be made. These connection points, known as terminals, are typically used to attach wires, leads, or other components to the main body of the electronic component. The terminal position is important for ensuring proper connectivity and functionality of the component within a circuit. It is often specified in technical datasheets or component specifications to help designers and engineers understand how to properly integrate the component into their circuit designs.
DUAL - Supply Voltage
Supply voltage refers to the electrical potential difference provided to an electronic component or circuit. It is crucial for the proper operation of devices, as it powers their functions and determines performance characteristics. The supply voltage must be within specified limits to ensure reliability and prevent damage to components. Different electronic devices have specific supply voltage requirements, which can vary widely depending on their design and intended application.
3.3V - Terminal Pitch
The center distance from one pole to the next.
1.27mm - Base Part Number
The "Base Part Number" (BPN) in electronic components serves a similar purpose to the "Base Product Number." It refers to the primary identifier for a component that captures the essential characteristics shared by a group of similar components. The BPN provides a fundamental way to reference a family or series of components without specifying all the variations and specific details.
DS3231 - Pin Count
a count of all of the component leads (or pins)
16 - Operating Supply Voltage
The voltage level by which an electrical system is designated and to which certain operating characteristics of the system are related.
3.3V - Interface
In electronic components, the term "Interface" refers to the point at which two different systems, devices, or components connect and interact with each other. It can involve physical connections such as ports, connectors, or cables, as well as communication protocols and standards that facilitate the exchange of data or signals between the connected entities. The interface serves as a bridge that enables seamless communication and interoperability between different parts of a system or between different systems altogether. Designing a reliable and efficient interface is crucial in ensuring proper functionality and performance of electronic components and systems.
I2C, 2-Wire Serial - Clock Frequency
Clock frequency, also known as clock speed, refers to the rate at which a processor or electronic component can execute instructions. It is measured in hertz (Hz) and represents the number of cycles per second that the component can perform. A higher clock frequency typically indicates a faster processing speed and better performance. However, it is important to note that other factors such as architecture, efficiency, and workload also play a significant role in determining the overall performance of a component. In summary, clock frequency is a crucial parameter that influences the speed and efficiency of electronic components in processing data and executing tasks.
0.4MHz - Logic Function
In electronic components, the term "Logic Function" refers to the specific operation or behavior of a component based on its input signals. It describes how the component processes the input signals to produce the desired output. Logic functions are fundamental to digital circuits and are used to perform logical operations such as AND, OR, NOT, and XOR.Each electronic component, such as logic gates or flip-flops, is designed to perform a specific logic function based on its internal circuitry. By understanding the logic function of a component, engineers can design and analyze complex digital systems to ensure proper functionality and performance. Different logic functions can be combined to create more complex operations, allowing for the creation of sophisticated digital devices and systems.
Clock - Number of Timers1
- Time Format
Time is based on a 24 hour system. This is frequently referred to as "military time". The 24 hour system is the default format.
HH:MM:SS (12/24 hr) - Date Format
The international standard recommends writing the date as year, then month, then the day:?YYYY-MM-DD.
YY-MM-DD-dd - Current - Timekeeping (Max)
The parameter "Current - Timekeeping (Max)" in electronic components refers to the maximum current that a device can draw while performing timekeeping functions. Timekeeping functions typically involve maintaining accurate time and date information within a device, such as in a real-time clock (RTC) or a microcontroller with a built-in clock. The maximum current specified for timekeeping is important for determining the power consumption of the device when it is in standby or low-power modes, as excessive current draw can drain the battery quickly. Designers need to consider this parameter when selecting components for battery-powered devices to ensure efficient power management and longer battery life.
130μA~200μA @ 3.63V~5.5V - Time-Min
Time-Min is a parameter in electronic components that refers to the minimum amount of time required for a specific operation or function to be completed. This parameter is crucial in determining the speed and efficiency of the component's performance. It is often specified in datasheets and technical documentation to provide users with information on the component's timing characteristics. Understanding the "Time-Min" parameter is essential for designing and integrating electronic components into circuits to ensure proper functionality and timing synchronization.
SECONDS - Interrupt Capability
Returns the number of interrupts available for a specified hardware device and interrupt type.
Y - Voltage - Supply, Battery
Voltage - Supply, Battery refers to the nominal voltage level provided by a battery to power electronic components or circuits. It indicates the standard voltage output that a battery can deliver under typical operating conditions. This parameter is crucial for ensuring compatibility between the battery and the electronic device, as it affects performance and functionality. The voltage supply rating helps in selecting the appropriate battery for specific applications, ensuring that the device operates efficiently and safely.
2.3V~5.5V - Volatile
In the context of electronic components, the term "Volatile" refers to a type of memory or storage that requires power to maintain the stored data. When power is removed or lost, the data stored in volatile memory is also lost. This is in contrast to non-volatile memory, which retains data even when power is turned off.Volatile memory is commonly used in devices like RAM (Random Access Memory) in computers, where data needs to be quickly accessed and modified. However, it is not suitable for long-term storage of important data as it requires continuous power supply to retain information.Overall, the volatile nature of this type of memory makes it fast and efficient for temporary data storage and processing, but it is not ideal for permanent data storage due to its dependency on power supply.
NO - Information Access Method
Information Access Method refers to the techniques and protocols used to retrieve, manage, and manipulate data stored in electronic systems. It encompasses various approaches such as direct memory access, polling, interrupts, and data buses, enabling efficient communication between different components within a system. This method is crucial for optimizing data retrieval speed and ensuring effective interaction between hardware and software in electronic devices.
I2C - Features
In the context of electronic components, the term "Features" typically refers to the specific characteristics or functionalities that a particular component offers. These features can vary depending on the type of component and its intended use. For example, a microcontroller may have features such as built-in memory, analog-to-digital converters, and communication interfaces like UART or SPI.When evaluating electronic components, understanding their features is crucial in determining whether they meet the requirements of a particular project or application. Engineers and designers often look at features such as operating voltage, speed, power consumption, and communication protocols to ensure compatibility and optimal performance.In summary, the "Features" parameter in electronic components describes the unique attributes and capabilities that differentiate one component from another, helping users make informed decisions when selecting components for their electronic designs.
Alarm, Leap Year, Square Wave Output - Length10.3mm
- Height Seated (Max)
Height Seated (Max) is a parameter in electronic components that refers to the maximum allowable height of the component when it is properly seated or installed on a circuit board or within an enclosure. This specification is crucial for ensuring proper fit and alignment within the overall system design. Exceeding the maximum seated height can lead to mechanical interference, electrical shorts, or other issues that may impact the performance and reliability of the electronic device. Manufacturers provide this information to help designers and engineers select components that will fit within the designated space and function correctly in the intended application.
2.65mm - Width7.5mm
- Radiation Hardening
Radiation hardening is the process of making electronic components and circuits resistant to damage or malfunction caused by high levels of ionizing radiation, especially for environments in outer space (especially beyond the low Earth orbit), around nuclear reactors and particle accelerators, or during nuclear accidents or nuclear warfare.
No - RoHS Status
RoHS means “Restriction of Certain Hazardous Substances” in the “Hazardous Substances Directive” in electrical and electronic equipment.
ROHS3 Compliant
DS3231M Application
Power Meters
Industrial Applications
DS3231M Typical Operating Circuit

DS3231M Manufacturer
Datasheet PDF
- Datasheets :
- Environmental Information :
- Application Notes :
- Other Related Documents :
- ConflictMineralStatement :
Popularity by Region
What package is DS3231M available in?
It is available in 8-pin or 16-pin SO packages.
Does DS3231M have a temperature sensor?
The DS3231M RTC has a built-in alarm function as well as a temperature sensor with a resolution of 0.25 and an accuracy of ±3°C which makes this project easier.
How do I set the date and time in RTC DS3231?
Simple Guide to Setting Time on a DS3231/DS3107/DS1337 Real Time Clock With Arduino UNO Step 1: Parts. You'll need only Step 2: Connect RTC to Arduino. Place the coin-cell battery in the RTC. Step 3: Download the Arduino Library and Run the SetTime Sketch. 3 People Made This Project! ... 9 Comments.
LM7805CT Voltage Regulator: Feature, Specification, and Datasheet16 June 20214528
UPD78F0730 MCCAB-AX: Microcontroller Datasheet Overview29 February 2024141
An Introduction to the AD7545 Digital to Analog Converter (DAC)06 March 2024214
TL072CP Operational Amplifier: Datasheet, Functional Block Diagram, and Pinout16 July 20219414
2N2222 Switches: Pinout, Datasheet and Schematic12 July 202112985
Overview of CH340 USB Converter Chip12 October 202117143
Improving Device Performance with the MPM-30-12 Power Supply27 May 202586
RS3000-AP Rectifier Diode: Features, Alternatives, Comparison26 July 2021272
Msemitek Authorized Distributor | UTMEL Electronics21 November 20232187
Silicon Carbide Substrate Manufacturing: Advancing Technology to New Heights08 June 20233098
What Sensors does a Car Engine Have?28 March 202524544
What is a SAW Sensor? Types, Working and Applications29 March 202118791
Dismantling and Analyzing Each Component in the Switching Power Supply16 February 20226348
Applications of Sensors on CNC Machine Tools13 September 202118595
Comparing Popular Jumper Wires for Electronics Projects10 July 20251025
How Does the A4988 Stepper Motor Driver Work27 February 20233812
Maxim Integrated
In Stock: 10006
United States
China
Canada
Japan
Russia
Germany
United Kingdom
Singapore
Italy
Hong Kong(China)
Taiwan(China)
France
Korea
Mexico
Netherlands
Malaysia
Austria
Spain
Switzerland
Poland
Thailand
Vietnam
India
United Arab Emirates
Afghanistan
Åland Islands
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antigua & Barbuda
Argentina
Armenia
Aruba
Australia
Azerbaijan
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia
Bonaire, Sint Eustatius and Saba
Bosnia & Herzegovina
Botswana
Brazil
British Indian Ocean Territory
British Virgin Islands
Brunei
Bulgaria
Burkina Faso
Burundi
Cabo Verde
Cambodia
Cameroon
Cayman Islands
Central African Republic
Chad
Chile
Christmas Island
Cocos (Keeling) Islands
Colombia
Comoros
Congo
Congo (DRC)
Cook Islands
Costa Rica
Côte d’Ivoire
Croatia
Cuba
Curaçao
Cyprus
Czechia
Denmark
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Eswatini
Ethiopia
Falkland Islands
Faroe Islands
Fiji
Finland
French Guiana
French Polynesia
Gabon
Gambia
Georgia
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guam
Guatemala
Guernsey
Guinea
Guinea-Bissau
Guyana
Haiti
Honduras
Hungary
Iceland
Indonesia
Iran
Iraq
Ireland
Isle of Man
Israel
Jamaica
Jersey
Jordan
Kazakhstan
Kenya
Kiribati
Kosovo
Kuwait
Kyrgyzstan
Laos
Latvia
Lebanon
Lesotho
Liberia
Libya
Liechtenstein
Lithuania
Luxembourg
Macao(China)
Madagascar
Malawi
Maldives
Mali
Malta
Marshall Islands
Martinique
Mauritania
Mauritius
Mayotte
Micronesia
Moldova
Monaco
Mongolia
Montenegro
Montserrat
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
North Korea
North Macedonia
Northern Mariana Islands
Norway
Oman
Pakistan
Palau
Palestinian Authority
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Pitcairn Islands
Portugal
Puerto Rico
Qatar
Réunion
Romania
Rwanda
Samoa
San Marino
São Tomé & Príncipe
Saudi Arabia
Senegal
Serbia
Seychelles
Sierra Leone
Sint Maarten
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Sudan
Sri Lanka
St Helena, Ascension, Tristan da Cunha
St. Barthélemy
St. Kitts & Nevis
St. Lucia
St. Martin
St. Pierre & Miquelon
St. Vincent & Grenadines
Sudan
Suriname
Svalbard & Jan Mayen
Sweden
Syria
Tajikistan
Tanzania
Timor-Leste
Togo
Tokelau
Tonga
Trinidad & Tobago
Tunisia
Turkey
Turkmenistan
Turks & Caicos Islands
Tuvalu
U.S. Outlying Islands
U.S. Virgin Islands
Uganda
Ukraine
Uruguay
Uzbekistan
Vanuatu
Vatican City
Venezuela
Wallis & Futuna
Yemen
Zambia
Zimbabwe

















