[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-720501-105":59,"doc-detail-720501-en":130,"doc-similar-720501":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","adafruit-ds3231-precision-rtc-breakout-720501","Adafruit DS3231 Precision RTC Breakout","","Adafruit DS3231 Precision RTC Breakout guide explains an extremely accurate I2C real-time clock module with integrated TCXO and crystal, achieving ±2 ppm accuracy from 0°C to +40°C. The document details how the onboard temperature sensor compensates frequency drift, enabling roughly ±1 minute/year timekeeping. It also covers power options (including 2.3V–5.5V), battery backup via a coin cell, STEMMA QT plug-and-play connectivity, and board wiring for both Arduino and CircuitPython workflows.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/adafruit-ds3231-precision-rtc-breakout-720501/720501/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/adafruit-ds3231-precision-rtc-breakout-720501/720501.png","ImageObject",300,407,{"name":92,"@type":93},"Nguyễn Văn Học","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-24","2026-11-18",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What accuracy does the DS3231 RTC provide, and over what temperature range?","Question",{"text":112,"@type":113},"The DS3231 is described as extremely accurate, with ±2 ppm accuracy from 0°C to +40°C, which corresponds to about ±1 minute per year.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the DS3231 compensate for time drift caused by temperature changes?",{"text":117,"@type":113},"The integrated temperature sensor adjusts clock tick timing by adding or removing ticks so the timekeeping stays on schedule despite temperature-induced frequency changes.",{"name":119,"@type":110,"acceptedAnswer":120},"What is required to use battery backup on the breakout board?",{"text":121,"@type":113},"A coin cell is required to enable the battery-backup capabilities. The guide notes that a coin cell is not included by default for shipping reasons.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},720501,1795037628,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":26,"preview_page_count":19,"preview_urls":144},1374402739827,"https://ap-avatar.wpscdn.com/avatar/14000c97e7351f1a627?x-image-process=image/resize,m_fixed,w_180,h_180&k=1787885694763230660","Adafruit DS3231 Precision RTC Breakout  \nCreated by lady ada  \n[https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout](https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout)  \nLast updated on 2024-06-03 01:52:11 PM EDT  \n©Adafruit Industries Page 1 of 24  \nTable of Contents  \nOverview 3  \n\n| Pinouts | 6 |\n| --- | --- |\n| • Power Pins:\u003Cbr>• I2C Logic pins:\u003Cbr>• Other Pins:\u003Cbr>Assembly | 8 |\n| • Prepare the header strip:\u003Cbr>• Add the breakout board:\u003Cbr>• And Solder!\u003Cbr>Arduino Usage | 11 |\n| • Download RTCLib\u003Cbr>• First RTC Test\u003Cbr>• Load Demo\u003Cbr>• Reading the Time\u003Cbr>CircuitPython | 17 |\n| • CircuitPython Wiring\u003Cbr>• CircuitPython Library Installation\u003Cbr>• CircuitPython Usage\u003Cbr>Python Docs | 21 |\n| Downloads | 22 |\n\n• Datasheets  \n• Schematic and Fab Print for STEMMA QT Version  \n• 3D Model  \n• Schematic and Fab Print for Original Version  \n©Adafruit Industries Page 2 of 24  \nOverview  \nThe datasheet for the DS3231 explains that this part is an \"Extremely Accurate I ² CIntegrated RTC/TCXO/Crystal\". And, hey, it does exactly what it says on the tin! ±2ppm accuracy from 0°C to +40°C. This means ±1 minute/year.  \nThis Real Time Clock (RTC) is the most precise you can get in a small, low power package.  \nWe've had a breakout board version of this RTC for a while ([http://adafru.it/3013](http://adafru.it/3013)). We want to make it even easier for folks to use, so now it also comes with STEMMA QT  \n©Adafruit Industries Page 3 of 24  \nconnectors ([http://adafru.it/5188](http://adafru.it/5188)) for plug-and-play simplicity. Be sure you buy the correct version you wish to use.  \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 Page 4 of 24  \nThis is the finest RTC you can get, and now we have it in a compact, breadboardfriendly breakout. With a coin cell plugged into the back, you can get years of precision timekeeping, even when main power is lost. Great for datalogging and clocks, or anything where you need to really know the time.  \nTo make life easier so you can focus on your important work, we've taken the sensor and put it onto a breakout PCB along with support circuitry to let you use it with 3.3V (Feather/Raspberry Pi) or 5V (Arduino/ Metro328) logic levels. Additionally, since it speaks I2C you can easily connect it up with two wires (plus power and ground!) .  \nWe've even included SparkFun qwiic ([https://adafru.it/Fpw](https://adafru.it/Fpw)) compatible STEMMA QT ([https://adafru.it/Ft4](https://adafru.it/Ft4)) connectors for the I2C bus so you don't even need to solder! QT Cable is not included, but we have a variety in the shop ([https://adafru.it/](https://adafru.it/)[ ](https://adafru.it/)17VE). Just wire up to your favorite micro and you can use our CircuitPython ([https://](https://)[ ](https://)[adafru.it/C4w)](adafru.it/C4w)/Python or Arduino drivers ()[/Python or](adafru.it/C4w)/Python or Arduino drivers ()[ ](adafru.it/C4w)/Python or Arduino drivers ()[Arduino drivers](adafru.it/C4w)/Python or Arduino drivers ()[ (](adafru.it/C4w)/Python or Arduino drivers ()[https://adafru.it/c7r](https://adafru.it/c7r)) to easily interface with the DS3231 .  \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 ","cbCaivJxl7S0wciJ","https://ap.wps.com/l/cbCaivJxl7S0wciJ","pdf",6722643,24,"English","# Overview\n# Pinouts\n## Power Pins\n## I2C Logic pins\n## Other Pins\n# Assembly\n# Arduino Usage\n## Download RTCLib\n## First RTC Test\n## Load Demo\n## Reading the Time\n## CircuitPython\n# CircuitPython Usage\n## CircuitPython Wiring\n## CircuitPython Library Installation\n## Python Docs\n# Downloads","[{\"question\":\"What accuracy does the DS3231 RTC provide, and over what temperature range?\",\"answer\":\"The DS3231 is described as extremely accurate, with ±2 ppm accuracy from 0°C to +40°C, which corresponds to about ±1 minute per year.\"},{\"question\":\"How does the DS3231 compensate for time drift caused by temperature changes?\",\"answer\":\"The integrated temperature sensor adjusts clock tick timing by adding or removing ticks so the timekeeping stays on schedule despite temperature-induced frequency changes.\"},{\"question\":\"What is required to use battery backup on the breakout board?\",\"answer\":\"A coin cell is required to enable the battery-backup capabilities. The guide notes that a coin cell is not included by default for shipping reasons.\"}]","Adafruit DS3231 Precision RTC Breakout | PDF",[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3f404061d9f560ffcc443d40c392f153.webp",983,1390,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/364d22d91303c8def7dff855a4b31240.webp",982,1388,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6e22e0e75ab07c860beeee6b96b33fcd.webp",981,1387,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3796d16168b6d0bfc0fa6d9237687360.webp",980,1385,{"list":162,"token":66},[163,169,175,180,186,193,199,205,211,217],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":34,"category_name":30,"create_tm":168},720615,"Adafruit 4-Channel ADC Breakouts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023676115/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=LnxEIfuVCPgsgayk0Cjb47U%2BO4g%3D","adafruit-4-channel-adc-breakouts",1795038464,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":24,"category_name":30,"create_tm":174},720505,"Adafruit DS3231 Precision RTC Breakout - Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023674399/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=OTAQ3FxGqiVFUWl13ogcjEWUiqY%3D","adafruit-ds3231-precision-rtc-breakout-guide",1795037639,{"doc_id":176,"doc_title":65,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":19,"category_name":30,"create_tm":179},720499,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397556/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=Wjdu99RYIOfcGJbobX1ceVGj3tE%3D","adafruit-ds3231-precision-rtc-breakout",1795037624,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":29,"category_name":30,"create_tm":185},720580,"MCP4725 12-Bit DAC Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023675645/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=dgmsgMnHXvyyv5oBXb67adc9yPI%3D","mcp4725-12-bit-dac-tutorial",1795038301,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":191,"category_name":30,"create_tm":192},690357,"Adafruit LIS3DH Triple-Axis Accelerometer Breakout - Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002631446/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=dd6DO0xftj4LGga2TQcFQvqQktQ%3D","adafruit-lis3dh-triple-axis-accelerometer-breakout-guide",12,1794164631,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":29,"category_name":30,"create_tm":198},691700,"Adafruit TLV493 Triple-Axis Magnetometer - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002682239/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=VMHsE2gap8Ik%2F46laXMO0oRLFas%3D","adafruit-tlv493-triple-axis-magnetometer-overview",1794175797,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":19,"category_name":30,"create_tm":204},720477,"Adafruit BMP280 Barometric Pressure + Temperature Sensor Breakout","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396857/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=dlq2BhiHQvRus%2FV%2Fsn9eh5mflwA%3D","adafruit-bmp280-barometric-pressure-temperature-sensor-breakout",1795037493,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":34,"category_name":30,"create_tm":210},720517,"Adafruit BNO055 Absolute Orientation Sensor - Setup, Orientation Data, and Calibration Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397763/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=vkdWNwIFGM9XXhd1xBq4VwDWi58%3D","adafruit-bno055-absolute-orientation-sensor-setup-orientation-data-and-calibration-guide",1795037682,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":19,"category_name":30,"create_tm":216},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=1796111039&Signature=2bdmg0IPFPeIKihm%2F%2BDBBMhNhkw%3D","pico-rtc-ds3231-precision-rtc-module-for-raspberry-pi-pico",1795037631,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":34,"category_name":30,"create_tm":222},691511,"Adafruit MLX90640 IR Thermal Camera","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002678685/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=uExXOm6xT%2BoVCyqjQzwYjbJ490E%3D","adafruit-mlx90640-ir-thermal-camera",1794174814]