[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-720502-105":59,"doc-detail-720502-en":130,"doc-similar-720502":162},{"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","pico-rtc-ds3231-precision-rtc-module-for-raspberry-pi-pico","Pico RTC DS3231 - Precision RTC Module for Raspberry Pi Pico","","Pico RTC DS3231 is an RTC expansion module designed for Raspberry Pi Pico, using the high-precision DS3231 chip and an I2C bus for communication. The stackable design allows additional external sensors to be connected. It provides accurate timekeeping for seconds through year, with leap-year compensation valid up to 2100, and supports 24-hour or 12-hour formats with AM/PM. The module includes a backup battery holder, two programmable alarm clocks, and online documentation with Raspberry Pi Pico C/C++ and MicroPython examples.",{"@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/pico-rtc-ds3231-precision-rtc-module-for-raspberry-pi-pico/720502/",{"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/pico-rtc-ds3231-precision-rtc-module-for-raspberry-pi-pico/720502.png","ImageObject",300,407,{"name":92,"@type":93},"Chumphorn","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-28","2026-11-18",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What chip and interface does the Pico RTC DS3231 use?","Question",{"text":112,"@type":113},"It uses the onboard high-precision DS3231 RTC chip and communicates via an I2C bus.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What time information does it count, and how long is leap-year compensation valid?",{"text":117,"@type":113},"It counts seconds, minutes, hours, date of the month, month, day of the week, and year, with leap-year compensation valid up to 2100.",{"name":119,"@type":110,"acceptedAnswer":120},"How can you run the Pico RTC DS3231 examples on Raspberry Pi?",{"text":121,"@type":113},"Log in to Raspberry Pi, download and unzip the demo codes to the Pico C/C++ SDK directory (typically ~/pico/), then build with the provided C/C++ commands and copy the generated rtc .uf2 to the Pico mass storage for execution.","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},720502,1795037631,{"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":19,"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":144,"preview_page_count":19,"preview_urls":145},2336475401981,"https://ap-avatar.wpscdn.com/avatar/22000c94efd8d5204d?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786935347598174694","Pico RTC DS3231  \nFrom Waveshare Wiki  \nJump to: navigation, search  \nOverview  \nThe Pico-RTC-DS3231 is an RTC expansion module specialized for Raspberry Pi Pico. It incorporates high precision RTC chip DS3231 and uses an I2C bus for communication. More external sensors are allowed to be connected thanks to the stackable design.  \n Features  \n Standard Raspberry Pi Pico header, supports Raspberry Pi Pico series.  \n Onboard high precision RTC chip DS3231, with backup battery holder.  \nPico RTC DS3231  \n( [https://www.waveshare.com/pico](https://www.waveshare.com/pico)rtc-ds3231.htm)  \nPrecision RTC Module for Raspberry Pi Pico, Onboard DS 3231 Chip  \n Real-Time Clock Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year Compensation Valid Up to 2100.  \n Optional format: 24-hour OR 12-hour with an AM/PM indicator.  \n 2 x programable alarm clock.  \n Provide online documentation (Raspberry Pi Pico C/C++ and MicroPython example demos) .  \n Specification  \n Operating voltage: 3.3V  \n Backup battery voltage: 2.3V~5.5V  \n Operating temperature: -40°C ~ 85°C  \n Power consumption: 100nA (sustains data and clock information)  \n Pinout  \n(/wiki/File:Pico-RTC-DS3231-details-inter.jpg)  \n Dimensions  \n(/wiki/File:Pico-RTC-DS3231-details-dimension.jpg)  \nUser Guide  \n Setup environment  \n1. For an application development environment for Pico on Raspberry Pi, please refer to  \nthe Raspberry Pi Chapter ([https://datasheets.raspberrypi.com/pico/getting-started-with](https://datasheets.raspberrypi.com/pico/getting-started-with)[-pico.pdf](-pico.pdf) ) .  \n2. For the Windows environment setting, you can refer to link ([https://fi](https://files.waveshare.com/)[les.waveshare.com/](https://files.waveshare.com/)[ ](https://files.waveshare.com/)[upload/6/65/Getting-started-with-pico.pdf](upload/6/65/Getting-started-with-pico.pdf)) .  \nThis tutorial uses the VScode IDE for development in a Windows environment.  \n Raspberry Pi  \n1. Log in Raspberry Pi With SSH ([https://www.waveshare.com/wiki/Log_in_Raspberry_Pi_ter](https://www.waveshare.com/wiki/Log_in_Raspberry_Pi_ter)[minal_by_SSH](minal_by_SSH)) or press Ctrl+Alt+T at the same time while using the screen to open the terminal.  \n2. Download and unzip the demo codes to the directory Pico C/C++ SDK. Reference tutorial ([https://www.waveshare.com/wiki/Raspberry_Pi_Pico](https://www.waveshare.com/wiki/Raspberry_Pi_Pico)) for users who have not yet installed the SDK.  \n\\#Note that the directory of SDK may be different for different users, you need to check the actual directory. Generally, it should be ~/pico/ .  \nwget -P ~/pico [https://files.waveshare.com/upload/2/26/Pico-rtc-ds3231_code.zip](https://files.waveshare.com/upload/2/26/Pico-rtc-ds3231_code.zip)  \n[cd](cd) ~/pico  \nunzip Pico-rtc-ds3231_code.zip  \nc  \n1. Hold the BOOTSEL button of Pico, and connect the USB interface of Pico to Raspberry Pi then release the button.  \n2. Compile and run the pico-rtc-ds3231 examples:  \ncd ~/pico/pico-rtc-ds3231_code/c/build/ cmake ..  \nmake  \nsudo mount /dev/sda1 /mnt/pico && sudo cp rtc .uf2 /mnt/pico/ && sudo sync && sudo umount /mnt/pico && sleep 2 && sudo minicom -b 115200 -o -D /dev/ttyACM0  \n3. Open a terminal and use minicom to check the sensor's information.  \n(/wiki/File:Pico-RTC-DS3231004.jpg)  \npython   \n1. Refer to Raspberry Pi's guides to setup Micropython firmware for Pico.  \n2. Open the Thonny IDE, drag the demo to IDE, and run on Pico as below.  \n(/wiki/File:Pico-10DOF-IMU005.jpg)  \n(/wiki/File:Pico-RTC-DS3231005.jpg)  \n3. Click the \"run\" icon to run the MicroPython demo codes.  \n(/wiki/File:Pico-RTC-DS3231006.jpg)","cbCaid0C0nORPtPc","https://ap.wps.com/l/cbCaid0C0nORPtPc","pdf",3459966,31,"English","# Overview\n# Features\n# Specification\n# Pinout\n# Dimensions\n# User Guide\n## Setup environment\n## Raspberry Pi\n## MicroPython","[{\"question\":\"What chip and interface does the Pico RTC DS3231 use?\",\"answer\":\"It uses the onboard high-precision DS3231 RTC chip and communicates via an I2C bus.\"},{\"question\":\"What time information does it count, and how long is leap-year compensation valid?\",\"answer\":\"It counts seconds, minutes, hours, date of the month, month, day of the week, and year, with leap-year compensation valid up to 2100.\"},{\"question\":\"How can you run the Pico RTC DS3231 examples on Raspberry Pi?\",\"answer\":\"Log in to Raspberry Pi, download and unzip the demo codes to the Pico C/C++ SDK directory (typically ~/pico/), then build with the provided C/C++ commands and copy the generated rtc .uf2 to the Pico mass storage for execution.\"}]","Pico RTC DS3231 - Precision RTC Module for Raspberry Pi Pico | PDF",78,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4e3a77a4e8a03e81fc6e53f0cea1dfb9.webp",983,759,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ea62b0319f546d44dc6c183349b5cdd3.webp",982,758,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e084d25aa2e7e15ca389f637011855c8.webp",981,757,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/7f7ecb93f5a1f6147c28fcefb56249f4.webp",980,756,{"list":163,"token":66},[164,170,176,181,187,193,199,205,211,216],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":24,"category_name":30,"create_tm":169},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",1795037624,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":24,"category_name":30,"create_tm":175},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=1796110619&Signature=WCBydLEtLq8JzDZ%2BM9wp2dzTxcY%3D","ds3231-high-accuracy-rtc-real-time-clock-for-raspberry-pi",1795037633,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":81,"category_name":30,"create_tm":175},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",{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":24,"category_name":30,"create_tm":186},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":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":19,"category_name":30,"create_tm":192},720364,"Raspberry Pi Pico - Product Brief","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023672908/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=pQH11R%2Ft1QJW9hkfBG5Yii7LzbM%3D","raspberry-pi-pico-product-brief",1795036893,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":24,"category_name":30,"create_tm":198},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=1796110619&Signature=0FM2kE5bNVA02KLJ61Y5t%2F70NWU%3D","adafruit-ds3231-precision-rtc-breakout-guide",1795037639,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":44,"category_name":30,"create_tm":204},689890,"PCA9685 16-Channel 12-bit PWM Servo Motor Driver I2C Module","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002212463/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=Nzjj35sEWQe4a%2BlyblIsQsn%2BtmI%3D","pca9685-16-channel-12-bit-pwm-servo-motor-driver-i2c-module",1794133095,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":81,"category_name":30,"create_tm":210},689860,"RP2040 - Microcontroller Documentation Colophon - Legal Disclaimer","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002160218/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110619&Signature=uYf4qVz2Cq0u6IhONupcU2pmhB4%3D","rp2040-microcontroller-documentation-colophon-legal-disclaimer",1794129648,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":24,"category_name":30,"create_tm":169},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":217,"doc_title":183,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":19,"category_name":30,"create_tm":169},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"]