[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-720499-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-720499-en":130,"doc-similar-720499":162},{"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":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","adafruit-ds3231-precision-rtc-breakout","Adafruit DS3231 Precision RTC Breakout","","Guide for the Adafruit DS3231 Precision RTC Breakout, describing its extremely accurate I²C real-time clock with integrated TCXO/crystal and temperature compensation. Covers why the DS3231 stays on schedule despite temperature-driven drift, and how the battery-backed design supports long-term precision when main power is lost. Includes assembly steps, pinout definitions for power, I2C, and backup/battery signals, and instructions for using the breakout with libraries and example tests to read time.",{"@graph":14,"@context":72},[15,34,55],{"@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/720499/",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/720499.png","ImageObject",300,407,{"name":42,"@type":43},"Putri","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-22","2026-11-18",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What makes the DS3231 RTC so accurate?","Question",{"text":62,"@type":63},"It uses an integrated crystal/TCXO inside the chip and includes a temperature sensor that compensates for frequency changes by adding or removing clock ticks.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How does the breakout handle battery backup?",{"text":67,"@type":63},"A coin cell connected to the BAT/positive battery pad enables battery-backed operation; when Vin power is lost, the DS3231 automatically switches over. A pullup is also needed to read open-drain outputs like 32K and SQW.",{"name":69,"@type":60,"acceptedAnswer":70},"How do I assemble and connect the breakout to a breadboard?",{"text":71,"@type":63},"Cut and prepare the header strip, insert long pins down into a breadboard-friendly position, place the board over the pins so short pins enter breakout pads, and solder all pins for reliable electrical contact.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},720499,1795037624,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"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":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"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":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":33,"preview_urls":145},962085571259,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Adafruit DS3231 Precision RTC Breakout  \nCreated by lady ada  \nLast updated on 2018-02-28 02:34:47 AM UTC  \nGuide Contents  \nGuide Contents 2  \nOverview 3  \nPinouts 6  \nPower Pins: 6 I2C Logic pins: 6 Other Pins: 6 Assembly 8 Prepare the header strip: 8 Add the breakout board: 9 And Solder! 9 Ard ui no Usage 12 Download RTCLib 12 First RTC Test 13 Load Demo 13 Reading the Time 15 CircuitPython 17 Downloads 21 Datasheets &c 21 Schematic 21 Fabrication Print 21  \n© Adafruit Industries [https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout](https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout) Page 2 of 22  \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 22  \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  \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 4 of 22  \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.  \n© Adafruit Industries [https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout](https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout) Page 5 of 22  \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  \nI2C 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 Other Pins:  \n BAT-this is the same connection as the positive pad of the battery. You can use this if you want to power  \nsomething else from the coin cell, or provide battery backup from a different separate 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, you need to attach a pullup to read this signal from a microcontroller pin  \n SQW-optional square wave or interrupt output. Open drain, you need to attach a pullup to read this signal from a microcontroller pin  \n RST-This one is a little different than most RST pins, rather than being just an input, it is designed to be used toreset an external device or indicate when main power is los","cbCaiqngsbkdCZCe","https://ap.wps.com/l/cbCaiqngsbkdCZCe","pdf",3407150,22,"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## Solder!","[{\"question\":\"What makes the DS3231 RTC so accurate?\",\"answer\":\"It uses an integrated crystal/TCXO inside the chip and includes a temperature sensor that compensates for frequency changes by adding or removing clock ticks.\"},{\"question\":\"How does the breakout handle battery backup?\",\"answer\":\"A coin cell connected to the BAT/positive battery pad enables battery-backed operation; when Vin power is lost, the DS3231 automatically switches over. A pullup is also needed to read open-drain outputs like 32K and SQW.\"},{\"question\":\"How do I assemble and connect the breakout to a breadboard?\",\"answer\":\"Cut and prepare the header strip, insert long pins down into a breadboard-friendly position, place the board over the pins so short pins enter breakout pads, and solder all pins for reliable electrical contact.\"}]","Adafruit DS3231 Precision RTC Breakout | PDF",55,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/74fbf0810971244754e5d9dac3921534.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/75998519fc87f1c4a7afcf5bdc2f88c7.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9036ef3c01cf939955664e6814cdbc0e.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/353e884dd92f3638a30ff13d73b7d275.webp",980,1268,{"list":163,"token":11},[164,170,175,180,186,192,198,203,209,215],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":96,"category_name":29,"create_tm":169},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=1796110499&Signature=iPBUw%2FRUL7%2BLYHXk9yY33jyela4%3D","adafruit-ds3231-precision-rtc-breakout-guide",1795037639,{"doc_id":171,"doc_title":10,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":96,"category_name":29,"create_tm":174},720501,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397560/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=ZLURkFLZTnhfldRdhdNOHyN%2BDlY%3D","adafruit-ds3231-precision-rtc-breakout-720501",1795037628,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":96,"category_name":29,"create_tm":79},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=1796110499&Signature=QDDWZQSCTysdglw%2B21eJ2oP5Gbg%3D","ds3231-rtc-module-ds3231-mini-real-time-clock-module",{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":33,"category_name":29,"create_tm":185},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=1796110499&Signature=LDiagr68vfhhl2uWmf4XUQRhPCg%3D","pico-rtc-ds3231-precision-rtc-module-for-raspberry-pi-pico",1795037631,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":96,"category_name":29,"create_tm":191},720504,"DS3231 High Accuracy RTC ( Real Time Clock) for Raspberry Pi","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397565/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=WjNqL3LuuyGe12WsB%2Bn%2F%2FLIwTvQ%3D","ds3231-high-accuracy-rtc-real-time-clock-for-raspberry-pi",1795037633,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":30,"category_name":29,"create_tm":197},720529,"Adafruit VL53L0X Time of Flight MicroLIDAR Distance Sensor Breakout","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024398388/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=CRlLagZOvaBc95Mnm7CMalUcjl4%3D","adafruit-vl53l0x-time-of-flight-microlidar-distance-sensor-breakout",1795037859,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":96,"category_name":29,"create_tm":79},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=1796110499&Signature=aFJBgpSN4Ts%2B27ry60VVwkA9%2BVg%3D","ds3231-i2c-real-time-clock-arduino-and-chipkit-library-manual",{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":96,"category_name":29,"create_tm":208},720490,"Adafruit INA219 Current Sensor Breakout - Overview, Assembly, Addressing, and Wiring","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023674161/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=qrrG7h81t2fGtP229E0xBx90FfY%3D","adafruit-ina219-current-sensor-breakout-overview-assembly-addressing-and-wiring",1795037523,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":115,"category_name":29,"create_tm":214},561757,"SST/U401 Series - Vishay Siliconix Monolithic N-Channel JFET Duals","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947773914/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=pf80WpGqnILd4O%2BIqStH0gbR5ns%3D","sstu401-series-vishay-siliconix-monolithic-n-channel-jfet-duals",1791806849,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":30,"category_name":29,"create_tm":220},720497,"DS3231M - Product Brief - ±5ppm I²C Real-Time Clock","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397378/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=nU8vUX6kAW6bhLNhGWlpoOLnhS4%3D","ds3231m-product-brief-5ppm-i2c-real-time-clock",1795037583]