[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-720505-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-720505-en":130,"doc-similar-720505":161},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","adafruit-ds3231-precision-rtc-breakout-guide","Adafruit DS3231 Precision RTC Breakout - Guide","","A practical guide to the Adafruit DS3231 Precision RTC Breakout, explaining its purpose as an extremely accurate I2C real-time clock with integrated crystal and temperature-compensated timekeeping. The document describes how the built-in temperature sensor corrects drift caused by temperature-induced oscillator variation. It covers what’s included, how to assemble the breadboard-friendly breakout with a header, which battery is needed for backup, and the meaning of key power, I2C, and auxiliary pins.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/adafruit-ds3231-precision-rtc-breakout-guide/720505/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/adafruit-ds3231-precision-rtc-breakout-guide/720505.png","ImageObject",300,407,{"name":42,"@type":43},"Đào","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-27","2026-11-18",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",5,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why is the DS3231 considered highly accurate for timekeeping?","Question",{"text":63,"@type":64},"It uses an integrated crystal inside the chip and includes a temperature sensor that compensates for frequency drift when temperature changes.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What battery is required for backup mode?",{"text":68,"@type":64},"A coin cell is required for battery-backup capabilities; use a CR1220 or an ACR1220-style battery as referenced in the guide.",{"name":70,"@type":61,"acceptedAnswer":71},"Which pins connect the module to a microcontroller for I2C communication?",{"text":72,"@type":64},"Connect SCL to the microcontroller’s I2C clock line and SDA to the I2C data line; both lines include 10K pullups to Vin per the pinout description.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},720505,1795037639,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":55,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":127,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":80,"read_time":143,"preview_page_count":33,"preview_urls":144},1374402968488,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Adafruit DS3231 Precision RTC Breakout  \nCreated by lady ada  \nLast updated on 2016-02-05 04:43:25 PM EST  \nGuide Contents  \nGuide Contents 2 Overview 3 Pinouts 7 Power Pins: 7 I2C Logic pins: 7 Other Pins: 8 Assembly 9 Prepare the header strip: 9 Add the breakout board: 9 And Solder! 10 Wiring & Test 12 Download RTCLib 13 First RTC Test 13 Load Demo 14 Reading the Time 16 Downloads 18 Datasheets &c 18 Schematic 18 Fabrication Print 18  \n© Adafruit Industries [https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout](https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout) Page 2 of 19  \nOverview  \nThe datasheet for the DS3231 explains that this part is an \" Extremely Accurate I²C-Integrated RTC/TCXO/Crystal\" . And , hey , it does exactly what it says on the tin! This Real Time Clock ( RTC) is the most precise you can get in a small, low power package.  \n© Adafruit Industries [https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout](https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout) Page 3 of 19  \nMost RTC's use an external 32kHz timing crystal that is used to keep time with low current draw. And that's all well and good , but those crystals have slight drift , particularly when the temperature changes (the temperature changes the oscillation frequency very very very slightly but it does add up!) This RTC is in a beefy package because the crystal is inside the chip! And right next to the integrated crystal is a temperature sensor . That sensor compensates for the frequency changes by adding or removing clock ticks so that the timekeeping stays on schedule  \n© Adafruit Industries [https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout](https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout) Page 4 of 19  \nThis is the finest RTC you can get , and now we have it in a compact , breadboard-friendly breakout. With a coin cell plugged into the back, you can get years of precision timekeeping , even when main power is lost. Great for data logging and clocks , or anything where you need to really know the time.  \n© Adafruit Industries [https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout](https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout) Page 5 of 19  \nComes as a fully assembled and tested breakout plus a small piece of header . You can solder header in to plug it into a breadboard , or solder wires directly.  \nA coin cell is required to use the battery-backup capabilities! We don't include one by default , to make shipping easier for those abroad , but we do stock them so pick one up or use any CR1220 you have handy. ([http://adafru.it/380](http://adafru.it/380))  \n© Adafruit Industries [https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout](https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout) Page 6 of 19  \nPinouts  \nPower Pins:  \n Vin-this is the power pin. Since the RTC can be powered from 2.3V to 5.5V power , you do not need a regulator or level shifter for 3.3V or 5V logic/power . To power the board , give it the same power as the logic level of your microcontroller -e.g. for a 5V micro like Ard uino , use 5V  \n GND-common ground for power and logic I2C Logic pins:  \n SCL- I2C clock pin , connect to your microcontrollers I2C clock line. This pin has a 10K pullup resistor to Vin  \n SDA- I2C data pin , connect to your microcontrollers I2C data line. This pin has a 10K pullup resistor to Vin  \n© Adafruit Industries [https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout](https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout) Page 7 of 19  \nOther Pins:  \n BAT-this is the same connection as the positive pad of the battery. You can use this if you want to power something else from the coin cell, or provide battery backup from a different seperate batery. VBat can be between 2.3V and 5.5V and the DS3231 will switch over when main Vin power is lost  \n 32K-32KHz oscillator output. Open drain , y","cbCailMgRah76UzH","https://ap.wps.com/l/cbCailMgRah76UzH","pdf",3421956,"English","# Overview\n# Pinouts\n## Power Pins\n## I2C Logic Pins\n## Other Pins\n# Assembly\n## Prepare the header strip\n## Add the breakout board\n## And Solder!\n# Wiring & Test\n# Download RTCLib\n# First RTC Test\n# Load Demo\n# Reading the Time\n# Downloads\n# Datasheets &c\n## Schematic\n## Fabrication Print","[{\"question\":\"Why is the DS3231 considered highly accurate for timekeeping?\",\"answer\":\"It uses an integrated crystal inside the chip and includes a temperature sensor that compensates for frequency drift when temperature changes.\"},{\"question\":\"What battery is required for backup mode?\",\"answer\":\"A coin cell is required for battery-backup capabilities; use a CR1220 or an ACR1220-style battery as referenced in the guide.\"},{\"question\":\"Which pins connect the module to a microcontroller for I2C communication?\",\"answer\":\"Connect SCL to the microcontroller’s I2C clock line and SDA to the I2C data line; both lines include 10K pullups to Vin per the pinout description.\"}]","Adafruit DS3231 Precision RTC Breakout - Guide | PDF",48,[145,149,153,157],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3f4a2d1d28f33e907a59e2ebcab0d693.webp",983,1272,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3079803d2b6c24f54bcdf99b34506cfd.webp",982,1270,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c3d634611f3ee2724908caded11c2791.webp",981,1269,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/1f6a55aab76eddcb3eec5043add86738.webp",980,1268,{"list":162,"token":11},[163,169,174,179,184,190,196,202,208,214],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":55,"category_name":29,"create_tm":168},720501,"Adafruit DS3231 Precision RTC Breakout","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397560/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=dr%2BHf3EDtRofJRfW1jteRxmNAWY%3D","adafruit-ds3231-precision-rtc-breakout-720501",1795037628,{"doc_id":170,"doc_title":165,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":33,"category_name":29,"create_tm":173},720499,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397556/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=dVX1TO1ha%2BnW%2FNWk%2B%2FK7vOPNlzU%3D","adafruit-ds3231-precision-rtc-breakout",1795037624,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":55,"category_name":29,"create_tm":173},720500,"DS3231 RTC Module - DS3231 Mini Real-Time Clock Module","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023674393/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=7UqdIKBtM%2BTC2pzIM7r6MhvjSuQ%3D","ds3231-rtc-module-ds3231-mini-real-time-clock-module",{"doc_id":180,"doc_title":181,"file_type":137,"home_preview_img_url":182,"slug":183,"view_count":55,"category_name":29,"create_tm":173},720498,"DS3231 I2C Real-Time Clock Arduino and chipKit library - Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397555/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=N0xIOgNq4ue6y4fl7k%2Fau4JSHnY%3D","ds3231-i2c-real-time-clock-arduino-and-chipkit-library-manual",{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":33,"category_name":29,"create_tm":189},720502,"Pico RTC DS3231 - Precision RTC Module for Raspberry Pi Pico","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397564/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=E9RZWVuiFWouy4rZFF3Dov7BKKU%3D","pico-rtc-ds3231-precision-rtc-module-for-raspberry-pi-pico",1795037631,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":55,"category_name":29,"create_tm":195},690039,"Adafruit MCP23017 I2C GPIO Expander Breakout","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001921785/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=aW6TaiyQ0hzu4ke1DMvXsZhjmJY%3D","adafruit-mcp23017-i2c-gpio-expander-breakout",1794145753,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":105,"category_name":29,"create_tm":201},720588,"MCP4725 12-Bit DAC Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024400689/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=bE0Q0Dxpxidbr6PlsaRS6d8WITM%3D","mcp4725-12-bit-dac-tutorial-720588",1795038320,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":110,"category_name":29,"create_tm":207},720204,"ATMEGA328P Breadboard Kit - Chip Specifications - Pinout","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024388150/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=BMnUoYMqSnVXUsCyX%2BVOI59vegY%3D","atmega328p-breadboard-kit-chip-specifications-pinout",1795035417,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":105,"category_name":29,"create_tm":213},691520,"Adafruit MLX90640 IR Thermal Camera - Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002048763/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=U6A1dYsQrUCohtgZ9M%2FA2Qed2Hg%3D","adafruit-mlx90640-ir-thermal-camera-guide",1794174824,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":30,"category_name":29,"create_tm":219},720503,"High Accuracy RTC (DS3231) for Raspberry Pi - Industrial Product Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397562/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=3NqeivxEACLK3n8IaPuuj3q79mY%3D","high-accuracy-rtc-ds3231-for-raspberry-pi-industrial-product-datasheet",1795037633]