{"product_id":"ds3231-real-time-clock-module-i2c-rtc-with-battery-backup","title":"DS3231 Real-Time Clock Module - I2C RTC with Battery Backup","description":"\u003ch1\u003eDS3231 Real-Time Clock Module (RTC) – Accurate I2C RTC with Battery Backup\u003c\/h1\u003e\u003cp\u003eThe DS3231 is a precision real-time clock module designed for microcontrollers like Arduino and Raspberry Pi. It keeps accurate time even when the main device is powered off, thanks to a built-in temperature-compensated crystal oscillator (TCXO) and a coin cell battery backup. Ideal for data logging, timers, and any project requiring reliable timekeeping.\u003c\/p\u003e\u003ch2\u003eKey Specifications\u003c\/h2\u003e\u003ctable\u003e\n\u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eSpecification\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eChip\u003c\/td\u003e\n\u003ctd\u003eDS3231\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003eI2C (address 0x68)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSupply Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V to 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBattery Backup\u003c\/td\u003e\n\u003ctd\u003eCR2032 (battery not included)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccuracy\u003c\/td\u003e\n\u003ctd\u003e±2ppm (~1 minute\/year)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eDimensions\u003c\/td\u003e\n\u003ctd\u003e~25mm x 25mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003e\u003ca href=\"\/products\/arduino-digital-clock-kit-build-your-own-real-time-clock-with-ds3231-rtc\"\u003eDigital clock display on an LCD or OLED screen\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"\/products\/kit-soil-sensor-data-logger\"\u003eData logger with timestamp for sensor readings\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"\/products\/kit-automated-irrigation-system\"\u003eAutomated timer for home appliances or irrigation systems\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003eScheduling events in IoT projects or alarms\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eCompatibility\u003c\/h2\u003e\u003cp\u003eWorks with any microcontroller that supports I2C, including Arduino Uno, Mega, Nano, Raspberry Pi, ESP32, and STM32. Operates at both 3.3V and 5V logic levels, making it easy to interface with a wide range of boards.\u003c\/p\u003e\u003ch2\u003eWiring Notes\u003c\/h2\u003e\u003cp\u003eConnect SDA to your board's SDA pin (A4 on Arduino Uno), SCL to SCL (A5), VCC to 5V (or 3.3V) and GND to GND. The module includes pull-up resistors, so no external ones are needed. Insert a CR2032 battery in the holder for backup timekeeping when main power is off.\u003c\/p\u003e\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\u003cp\u003eEvery component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.\u003c\/p\u003e\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino Uno?\u003c\/summary\u003e\u003cp\u003eYes, the DS3231 works seamlessly with Arduino Uno using the Wire library. Just connect the four pins and use an RTC library like RTClib.\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eDoes it include the battery?\u003c\/summary\u003e\u003cp\u003eThe module includes a battery holder but the CR2032 coin cell battery is sold separately to comply with shipping regulations.\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eWhat is the accuracy of the clock?\u003c\/summary\u003e\u003cp\u003eThe DS3231 has an accuracy of ±2ppm, which translates to about ±1 minute per year, thanks to its temperature-compensated crystal oscillator.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdiv class=\"compoden-handoff\" style=\"margin-top:24px;padding:16px;background:#f0f4ff;border-left:4px solid #2B4D8F;border-radius:4px;\"\u003e\n  \u003cp style=\"margin:0 0 6px 0;font-weight:600;color:#1A3560;\"\u003e📦 Free Setup Handoff Document Included\u003c\/p\u003e\n  \u003cp style=\"margin:0;font-size:0.95em;color:#333;\"\u003eEvery Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.\u003c\/p\u003e\n\u003c\/div\u003e\n","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53445038637421,"sku":"CDN-0840","price":180.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_e34cc77b-0a2d-4d3b-bff0-58485b48bb9d.jpg?v=1781513018","url":"https:\/\/compoden.com\/products\/ds3231-real-time-clock-module-i2c-rtc-with-battery-backup","provider":"Compoden","version":"1.0","type":"link"}