{"title":"Real Time Clocks (RTC)","description":"\u003cp\u003eDS3231, DS1307 and PCF8523 real time clock modules with battery backup for accurate timekeeping, scheduling and data logging.\u003c\/p\u003e","products":[{"product_id":"ds3231-rtc-precision-real-time-clock","title":"DS3231 RTC Precision Real Time Clock","description":"\u003cp\u003eThe DS3231 Precision Real Time Clock module is a high accuracy RTC solution for Arduino, ESP32, ESP8266, Raspberry Pi, and other microcontroller projects that require reliable timekeeping. It uses a temperature compensated crystal oscillator to maintain accurate time even when the main system is powered off, making it ideal for data logging, clocks, automation systems, and IoT applications.\u003c\/p\u003e\n\u003cp\u003eUnlike basic RTC modules, the DS3231 provides excellent long term accuracy with minimal drift. A built in backup battery holder allows the module to keep time during power loss, while the I2C interface ensures simple integration with most development boards and libraries.\u003c\/p\u003e\n\u003ch2\u003eKey Features\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eHigh accuracy temperature compensated RTC\u003c\/li\u003e\n\u003cli\u003eVery low drift compared to DS1307 based modules\u003c\/li\u003e\n\u003cli\u003eIntegrated crystal oscillator\u003c\/li\u003e\n\u003cli\u003eBattery backup support for time retention\u003c\/li\u003e\n\u003cli\u003eI2C interface for easy wiring\u003c\/li\u003e\n\u003cli\u003eWidely supported by Arduino and Raspberry Pi libraries\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eRTC chip DS3231\u003c\/li\u003e\n\u003cli\u003eAccuracy typically ±2ppm from 0°C to 40°C\u003c\/li\u003e\n\u003cli\u003eSupply voltage 3.3V to 5V\u003c\/li\u003e\n\u003cli\u003eCommunication protocol I2C\u003c\/li\u003e\n\u003cli\u003eDefault I2C address 0x68\u003c\/li\u003e\n\u003cli\u003eBackup battery CR2032 coin cell -\u003cstrong\u003e NOT included\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eDimensions: 22x38x14mm\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eQuick Example Arduino DS3231 RTC\u003c\/h2\u003e\n\u003cp\u003eThis quick example shows how to read the current date, time, and internal temperature from the DS3231 RTC using the popular RTClib library. It prints a formatted timestamp and temperature to the Serial Monitor, making it ideal for testing wiring and confirming correct operation.\u003c\/p\u003e\n\u003cp\u003eNew to Arduino? First go through our \u003ca href=\"https:\/\/zaitronics.com.au\/blogs\/guides\/arduino-getting-started-guide-for-beginners\" title=\"Arduino Getting Started Guide for Beginners\"\u003eArduino Getting Started Guide for Beginners\u003c\/a\u003e, where we go over installing the Arduino IDE and how to upload code to your board.\u003c\/p\u003e\n\u003ch3\u003eDS3231 Arduino Wiring\u003c\/h3\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eDS3231 Pin\u003c\/th\u003e\n\u003cth\u003eArduino Uno Pin\u003c\/th\u003e\n\u003cth\u003eDescription\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eVCC\u003c\/td\u003e\n\u003ctd\u003e5V or 3.3V\u003c\/td\u003e\n\u003ctd\u003ePower supply\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003ctd\u003eGround\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSDA\u003c\/td\u003e\n\u003ctd\u003eA4\u003c\/td\u003e\n\u003ctd\u003eI2C data line\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSCL\u003c\/td\u003e\n\u003ctd\u003eA5\u003c\/td\u003e\n\u003ctd\u003eI2C clock line\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cdiv style=\"text-align: center;\"\u003e\u003cimg style=\"margin-bottom: 16px; float: none;\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0870\/0021\/9940\/files\/rtc-arduino-uno-wiring-diagram_1000x1000.png?v=1768126665\" alt=\"DS3231 RTC Arduino Uno Wiring Diagram Example\"\u003e\u003c\/div\u003e\n\u003ch3\u003eExample Code\u003c\/h3\u003e\n\u003cp\u003eThis sketch automatically sets the RTC time when power is lost and then continuously reads the current date, time, and temperature every three seconds.\u003c\/p\u003e\n\u003cpre style=\"font-family: monospace; color: rgb(201, 209, 217); background-color: rgb(13, 17, 23); font-weight: 400;\"\u003e\u003cspan style=\"color: rgb(139, 148, 158); font-weight: 400;\"\u003e\/*\n * Ethan Zaitchik\n * DS3231 RTC Precision Real Time Clock Basic Example\n * Product page: https:\/\/zaitronics.com.au\/products\/ds3231-rtc-precision-real-time-clock\n*\/\u003c\/span\u003e\n\u003cspan style=\"color: rgb(121, 192, 255); font-weight: 400;\"\u003e#\u003cspan style=\"color: rgb(255, 123, 114); font-weight: 400;\"\u003einclude\u003c\/span\u003e \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"RTClib.h\"\u003c\/span\u003e\u003c\/span\u003e\n\nRTC_DS3231 rtc;\n\n\u003cspan style=\"color: rgb(255, 123, 114); font-weight: 400;\"\u003echar\u003c\/span\u003e daysOfTheWeek[\u003cspan style=\"color: rgb(121, 192, 255); font-weight: 400;\"\u003e7\u003c\/span\u003e][\u003cspan style=\"color: rgb(121, 192, 255); font-weight: 400;\"\u003e12\u003c\/span\u003e] = {\n  \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"Sunday\"\u003c\/span\u003e, \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"Monday\"\u003c\/span\u003e, \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"Tuesday\"\u003c\/span\u003e, \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"Wednesday\"\u003c\/span\u003e, \n  \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"Thursday\"\u003c\/span\u003e, \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"Friday\"\u003c\/span\u003e, \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"Saturday\"\u003c\/span\u003e\n};\n\n\u003cspan style=\"color: rgb(201, 209, 217); font-weight: 400;\"\u003e\u003cspan style=\"color: rgb(255, 123, 114); font-weight: 400;\"\u003evoid\u003c\/span\u003e \u003cspan style=\"color: rgb(210, 168, 255); font-weight: 400;\"\u003esetup\u003c\/span\u003e \u003cspan style=\"color: rgb(201, 209, 217); font-weight: 400;\"\u003e()\u003c\/span\u003e \u003c\/span\u003e{\n  Serial.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003ebegin\u003c\/span\u003e(\u003cspan style=\"color: rgb(121, 192, 255); font-weight: 400;\"\u003e9600\u003c\/span\u003e);\n\n  \u003cspan style=\"color: rgb(255, 123, 114); font-weight: 400;\"\u003eif\u003c\/span\u003e (!rtc.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003ebegin\u003c\/span\u003e()) {\n    Serial.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eprintln\u003c\/span\u003e(\u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"RTC not detected\"\u003c\/span\u003e);\n    \u003cspan style=\"color: rgb(255, 123, 114); font-weight: 400;\"\u003ewhile\u003c\/span\u003e (\u003cspan style=\"color: rgb(121, 192, 255); font-weight: 400;\"\u003e1\u003c\/span\u003e);\n  }\n\n  \u003cspan style=\"color: rgb(255, 123, 114); font-weight: 400;\"\u003eif\u003c\/span\u003e (rtc.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003elostPower\u003c\/span\u003e()) {\n    Serial.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eprintln\u003c\/span\u003e(\u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"RTC lost power, setting time\"\u003c\/span\u003e);\n    rtc.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eadjust\u003c\/span\u003e(\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eDateTime\u003c\/span\u003e(\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eF\u003c\/span\u003e(__DATE__), \u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eF\u003c\/span\u003e(__TIME__)));\n  }\n}\n\n\u003cspan style=\"color: rgb(201, 209, 217); font-weight: 400;\"\u003e\u003cspan style=\"color: rgb(255, 123, 114); font-weight: 400;\"\u003evoid\u003c\/span\u003e \u003cspan style=\"color: rgb(210, 168, 255); font-weight: 400;\"\u003eloop\u003c\/span\u003e \u003cspan style=\"color: rgb(201, 209, 217); font-weight: 400;\"\u003e()\u003c\/span\u003e \u003c\/span\u003e{\n  DateTime now = rtc.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003enow\u003c\/span\u003e();\n\n  String yearStr = \u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eString\u003c\/span\u003e(now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eyear\u003c\/span\u003e());\n  String monthStr = (now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003emonth\u003c\/span\u003e() \u0026lt; \u003cspan style=\"color: rgb(121, 192, 255); font-weight: 400;\"\u003e10\u003c\/span\u003e ? \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"0\"\u003c\/span\u003e : \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"\"\u003c\/span\u003e) + \u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eString\u003c\/span\u003e(now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003emonth\u003c\/span\u003e());\n  String dayStr = (now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eday\u003c\/span\u003e() \u0026lt; \u003cspan style=\"color: rgb(121, 192, 255); font-weight: 400;\"\u003e10\u003c\/span\u003e ? \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"0\"\u003c\/span\u003e : \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"\"\u003c\/span\u003e) + \u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eString\u003c\/span\u003e(now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eday\u003c\/span\u003e());\n  String hourStr = (now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003ehour\u003c\/span\u003e() \u0026lt; \u003cspan style=\"color: rgb(121, 192, 255); font-weight: 400;\"\u003e10\u003c\/span\u003e ? \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"0\"\u003c\/span\u003e : \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"\"\u003c\/span\u003e) + \u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eString\u003c\/span\u003e(now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003ehour\u003c\/span\u003e());\n  String minuteStr = (now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eminute\u003c\/span\u003e() \u0026lt; \u003cspan style=\"color: rgb(121, 192, 255); font-weight: 400;\"\u003e10\u003c\/span\u003e ? \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"0\"\u003c\/span\u003e : \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"\"\u003c\/span\u003e) + \u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eString\u003c\/span\u003e(now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eminute\u003c\/span\u003e());\n  String secondStr = (now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003esecond\u003c\/span\u003e() \u0026lt; \u003cspan style=\"color: rgb(121, 192, 255); font-weight: 400;\"\u003e10\u003c\/span\u003e ? \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"0\"\u003c\/span\u003e : \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"\"\u003c\/span\u003e) + \u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eString\u003c\/span\u003e(now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003esecond\u003c\/span\u003e());\n  String dayOfWeek = daysOfTheWeek[now.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003edayOfTheWeek\u003c\/span\u003e()];\n\n  String formattedTime = dayOfWeek + \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\", \"\u003c\/span\u003e + yearStr + \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"-\"\u003c\/span\u003e + monthStr + \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"-\"\u003c\/span\u003e + dayStr +\n                         \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\" \"\u003c\/span\u003e + hourStr + \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\":\"\u003c\/span\u003e + minuteStr + \u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\":\"\u003c\/span\u003e + secondStr;\n\n  Serial.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eprintln\u003c\/span\u003e(formattedTime);\n\n  Serial.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eprint\u003c\/span\u003e(\u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\"Temperature \"\u003c\/span\u003e);\n  Serial.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eprint\u003c\/span\u003e(rtc.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003egetTemperature\u003c\/span\u003e());\n  Serial.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eprintln\u003c\/span\u003e(\u003cspan style=\"color: rgb(165, 214, 255); font-weight: 400;\"\u003e\" C\"\u003c\/span\u003e);\n\n  Serial.\u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003eprintln\u003c\/span\u003e();\n  \u003cspan style=\"color: rgb(255, 166, 87); font-weight: 400;\"\u003edelay\u003c\/span\u003e(\u003cspan style=\"color: rgb(121, 192, 255); font-weight: 400;\"\u003e3000\u003c\/span\u003e);\n}\u003c\/pre\u003e\n\u003cp\u003eFor Arduino Uno and Nano, SDA connects to A4 and SCL connects to A5. On ESP32 and ESP8266 boards, SDA and SCL can usually be assigned to multiple pins depending on your code. Raspberry Pi boards use dedicated I2C pins on the GPIO header.\u003c\/p\u003e\n\u003ch2\u003eBoard Compatibility\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eArduino Uno, Nano, Mega, Leonardo\u003c\/li\u003e\n\u003cli\u003eESP32 and ESP8266 development boards\u003c\/li\u003e\n\u003cli\u003eRaspberry Pi including Pi 3, Pi 4, and Pi Zero\u003c\/li\u003e\n\u003cli\u003eOther microcontrollers with I2C support\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eCommon Applications\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eData logging with accurate timestamps\u003c\/li\u003e\n\u003cli\u003eDigital clocks and time displays\u003c\/li\u003e\n\u003cli\u003eHome automation and scheduling\u003c\/li\u003e\n\u003cli\u003eIoT devices requiring persistent time\u003c\/li\u003e\n\u003cli\u003eEmbedded systems and low power projects\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eAlternative Real Time Clock Modules\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/zaitronics.com.au\/products\/adafruit-ds3231-precision-rtc-breakout\"\u003e Adafruit DS3231 Precision RTC Breakout \u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/zaitronics.com.au\/products\/adafruit-ds3231-precision-rtc-stemma-qt\"\u003e Adafruit DS3231 Precision RTC STEMMA QT \u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/zaitronics.com.au\/products\/adafruit-pcf8523-real-time-clock-assembled-breakout-board\"\u003e Adafruit PCF8523 Real Time Clock Assembled Breakout Board \u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/zaitronics.com.au\/products\/adafruit-ds1307-real-time-clock-assembled-breakout-board\"\u003e Adafruit DS1307 Real Time Clock Assembled Breakout Board \u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/zaitronics.com.au\/products\/adafruit-pirtc-pcf8523-real-time-clock-for-raspberry-pi\"\u003e Adafruit PiRTC PCF8523 Real Time Clock for Raspberry Pi \u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe DS3231 RTC module is an excellent choice when accuracy, reliability, and ease of use matter. It is a popular upgrade over older RTC modules and a solid option for both beginners and advanced electronics projects.\u003c\/p\u003e\n\u003cstyle\u003e\npre {\n    white-space: pre;\n    overflow-x: auto;\n    max-width: 100%;\n}\ncode {\n    white-space: inherit;\n}\n\u003c\/style\u003e","brand":"Zaitronics","offers":[{"title":"Default Title","offer_id":48458491265316,"sku":"Z0155","price":6.4,"currency_code":"AUD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0870\/0021\/9940\/files\/61KVmhZQemL._SL1000_-650x650.png?v=1712138749"},{"product_id":"adafruit-ds3231-precision-rtc-breakout","title":"Adafruit DS3231 Precision RTC Breakout","description":"\u003cp\u003eThe datasheet for the\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eDS3231\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eexplains 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\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eReal Time Clock (RTC)\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003eis the most precise you can get in a small, low power package.\u003c\/p\u003e\n\u003cp\u003eMost RTCs 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.\u003c\/p\u003e\n\u003cp\u003eThis 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 datalogging and clocks, or anything where you need to really know the time.\u003c\/p\u003e\n\u003cp\u003eComes 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.\u003c\/p\u003e\n\u003cp\u003eA coin cell is required to use the battery-backup capabilities! We don't include one by default, to make shipping easier for those abroad.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-ds3231-precision-rtc-breakout\/\"\u003eCheck out our detailed tutorial for pinouts, assembly, wiring \u0026amp; code for both Arduino and CircuitPython, and more!\u003c\/a\u003e\u003c\/p\u003e\n\u003cdiv class=\"tab-heading-row\"\u003e\n\u003ch5 id=\"tab-technical-details-heading\"\u003eTechnical Details\u003c\/h5\u003e\n\u003c\/div\u003e\n\u003cdiv id=\"tab-technical-details-content\" class=\"panel-collapse collapse in\"\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"\u003e\n\u003cp\u003e\u003cb\u003eRevision History:\u003c\/b\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cb\u003eAs of January 19, 2023\u003c\/b\u003e\u003cspan\u003e \u003c\/span\u003e– we've updated this PCB with \u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_Pinguin\"\u003eAdafruit Pinguin\u003c\/a\u003e to make a lovely and legible silkscreen - you may get the new PCB or the older version with vector fonts - both are identical other than the fancy silkscreen.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eSpecifications:\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e23mm x 17.6mm x 7.2mm \/ 0.9\" x 0.7\" x 0.28\"\u003c\/li\u003e\n\u003cli\u003eWeight: 2.1g\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-ds3231-precision-rtc-breakout\/downloads\"\u003eDatasheet, schematic, EagleCAD PCB files, and Fritzing available in the product tutorial\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cul id=\"product-files\"\u003e\u003c\/ul\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2011_65_EU.svg\" alt=\"RoHS 2 2011 65 EU Compliant\" width=\"145\" height=\"80\"\u003e\u003c\/div\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2015_863_EU.svg\" alt=\"RoHS 2 2015 863 EU Compliant\" width=\"145\" height=\"80\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":51340186583332,"sku":"ADA3013","price":33.0,"currency_code":"AUD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0870\/0021\/9940\/files\/3013-06.jpg?v=1763711265"},{"product_id":"adafruit-pcf8523-real-time-clock-assembled-breakout-board","title":"Adafruit PCF8523 Real Time Clock Assembled Breakout Board","description":"\u003cp\u003eThis is a great battery-backed real time clock (RTC) that allows your microcontroller project to keep track of time even if it is reprogrammed, or if the power is lost. Perfect for datalogging, clock-building, time stamping, timers and alarms, etc. Equipped with \u003cstrong\u003ePCF8523\u003c\/strong\u003e RTC - it can run from 3.3V\u003cspan\u003e \u003c\/span\u003e\u003cem\u003eor\u003c\/em\u003e\u003cspan\u003e \u003c\/span\u003e5V power \u0026amp; logic!\u003c\/p\u003e\n\u003cp\u003eWorks great with an\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-pcf8523-real-time-clock\/rtc-with-arduino\"\u003eArduino using our RTC library\u003c\/a\u003e, with\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-pcf8523-real-time-clock\/rtc-with-circuitpython\"\u003eCircuitPython\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003eor with a\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adding-a-real-time-clock-to-raspberry-pi\"\u003eRaspberry Pi (or similar single board linux computer)\u003c\/a\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003ePCB \u0026amp; header are included\u003c\/li\u003e\n\u003cli\u003ePlugs into any breadboard, or you can use wires\u003c\/li\u003e\n\u003cli\u003eTwo mounting holes\u003c\/li\u003e\n\u003cli\u003eWill keep time for 5 years or more\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eNote: This product does not come with a CR1220 coin cell battery.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe PCF8523 is simple and inexpensive but not a high precision device. It may lose or gain up to 2 seconds a day. For a high-precision, temperature compensated alternative,\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/zaitronics.com.au\/products\/adafruit-ds3231-precision-rtc-breakout\" rel=\"noopener\" target=\"_blank\"\u003eplease check out the DS3231 precision RTC\u003c\/a\u003e. If you need a DS1307 for compatibility reasons, check out our\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"http:\/\/www.adafruit.com\/products\/3296\"\u003eDS1307 RTC breakout\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-pcf8523-real-time-clock\/\"\u003eCheck out our detailed guide for code, libraries, schematics, Fritzing object and more!\u003c\/a\u003e\u003c\/strong\u003e\u003c\/p\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":51340270829860,"sku":"ADA3295","price":15.5,"currency_code":"AUD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0870\/0021\/9940\/files\/3295-03.jpg?v=1763712877"},{"product_id":"adafruit-ds1307-real-time-clock-assembled-breakout-board","title":"Adafruit DS1307 Real Time Clock Assembled Breakout Board","description":"\u003cp\u003eThis is a great battery-backed real time clock (RTC) that allows your microcontroller project to keep track of time even if it is reprogrammed, or if the power is lost. Perfect for datalogging, clock-building, time stamping, timers and alarms, etc. The\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eDS1307\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eis the most popular RTC - but it\u003cspan\u003e \u003c\/span\u003e\u003cem\u003erequires\u003c\/em\u003e\u003cspan\u003e \u003c\/span\u003e5V power to work (although we've used it with 5V power and 3.3V logic successfully)\u003c\/p\u003e\n\u003cp\u003eWorks great with an\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/adafruit\/RTClib\"\u003eArduino using our RTC library\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003eor with a\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adding-a-real-time-clock-to-raspberry-pi\"\u003eRaspberry Pi (or similar single board linux computer)\u003c\/a\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003ePCB \u0026amp; header are included\u003c\/li\u003e\n\u003cli\u003ePlugs into any breadboard, or you can use wires\u003c\/li\u003e\n\u003cli\u003eTwo mounting holes\u003c\/li\u003e\n\u003cli\u003eWill keep time for 5 years or more\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eNote: This product does not come with a CR1220 coin cell battery.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe DS1307 is simple and inexpensive but not a high precision device. It may lose or gain up to 2 seconds a day. For a high-precision, temperature compensated alternative,\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/zaitronics.com.au\/collections\/all-products\/products\/adafruit-ds3231-precision-rtc-breakout\" rel=\"noopener\" target=\"_blank\"\u003eplease check out the DS3231 precision RTC\u003c\/a\u003e. If you do not need a DS1307, or you need a 3.3V-power\/logic capable RTC please check out our affordable\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/zaitronics.com.au\/collections\/all-products\/products\/adafruit-pcf8523-real-time-clock-assembled-breakout-board\" rel=\"noopener\" target=\"_blank\"\u003ePCF8523 RTC breakout\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/ds1307-real-time-clock-breakout-board-kit\"\u003eCheck out our detailed guide for wiring diagrams, schematics, fritzing objects, library code and more!\u003c\/a\u003e\u003c\/p\u003e\n\u003cdiv class=\"tab-heading-row\"\u003e\n\u003ch5 id=\"tab-technical-details-heading\"\u003eTechnical Details\u003c\/h5\u003e\n\u003c\/div\u003e\n\u003cdiv id=\"tab-technical-details-content\" class=\"panel-collapse collapse in\"\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"\u003e\n\u003cp\u003e\u003cb\u003eRevision History:\u003c\/b\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cb\u003eAs of October 2022\u003c\/b\u003e\u003cspan\u003e \u003c\/span\u003e– we've updated this PCB with \u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_Pinguin\"\u003eAdafruit Pinguin\u003c\/a\u003e to make a lovely and legible silkscreen - you may get the new PCB or the older version with vector fonts - both are identical other than the fancy silkscreen. We also may have a slim metal or chunky plastic 32.768KHz crystal placed, both are functionally identical.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eDimensions:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eLength: 25.8mm\/1.02in\u003c\/li\u003e\n\u003cli\u003eWidth: 21.7mm\/0.85in\u003c\/li\u003e\n\u003cli\u003eHeight: 5mm\/0.2in\u003c\/li\u003e\n\u003cli\u003eWeight: 2.3g\/0.09oz\u003c\/li\u003e\n\u003cli\u003eMounting holes are 2.2mm(0.086in) diameter, 25mm(0.98in) apart\u003c\/li\u003e\n\u003cli\u003eThis board\/chip uses I2C 7-bit address 0x68\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cul id=\"product-files\"\u003e\u003c\/ul\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2011_65_EU.svg\" alt=\"RoHS 2 2011 65 EU Compliant\" width=\"145\" height=\"80\"\u003e\u003c\/div\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2015_863_EU.svg\" alt=\"RoHS 2 2015 863 EU Compliant\" width=\"145\" height=\"80\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":51340274958628,"sku":"ADA3296","price":13.6,"currency_code":"AUD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0870\/0021\/9940\/files\/3296-03.jpg?v=1763716569"},{"product_id":"adafruit-pirtc-pcf8523-real-time-clock-for-raspberry-pi","title":"Adafruit PiRTC - PCF8523 Real Time Clock for Raspberry Pi","description":"\u003cp\u003eThis is a great battery-backed real time clock (RTC) that allows your Raspberry Pi project to keep track of time if the power is lost. Perfect for data-logging, clock-building, time-stamping, timers and alarms, etc. Equipped with \u003cstrong\u003ePCF8523\u003c\/strong\u003e RTC, it works great with the Raspberry Pi and has native kernel support.\u003c\/p\u003e\n\u003cp\u003eWorks perfectly with any\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adding-a-real-time-clock-to-raspberry-pi\"\u003eRaspberry Pi (or similar single board linux computer)\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003eincluding the Pi 1, Pi 2, Pi 3, Pi Zero, A+, B+, Pi 4, etc.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eFully assembled \u0026amp; tested PCB plugs directly into your Pi's GPIO pins -\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eNo soldering required!\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eWill keep time for 5 years or more\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eNote: This product does not come with a CR1220 coin cell battery.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe PCF8523 is simple and inexpensive but not a high precision device. It may lose or gain a second or two per day.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adding-a-real-time-clock-to-raspberry-pi\/set-up-and-test-i2c\"\u003eFor setting up your Raspberry Pi to use the PiRTC, check out our detailed tutorial!\u003c\/a\u003e\u003c\/p\u003e\n\u003cdiv class=\"tab-heading-row\"\u003e\n\u003ch5 id=\"tab-technical-details-heading\"\u003eTechnical Details\u003c\/h5\u003e\n\u003c\/div\u003e\n\u003cdiv id=\"tab-technical-details-content\" class=\"panel-collapse collapse in\"\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"\u003e\n\u003cp\u003e\u003cb\u003eRevision History:\u003c\/b\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cb\u003eAs of January 18, 2023 – \u003c\/b\u003eThis version now comes with a smaller crystal, and we've updated this PCB with Adafruit Pinguin to make a lovely and legible silkscreen - you may get the new PCB or the older version with vector fonts.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eProduct Dimensions: 21.0mm x 20.0mm x 12.0mm \/ 0.8\" x 0.8\" x 0.5\"\u003c\/p\u003e\n\u003cp\u003eProduct Weight: 2.2g \/ 0.1oz\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cul id=\"product-files\"\u003e\u003c\/ul\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2011_65_EU.svg\" alt=\"RoHS 2 2011 65 EU Compliant\" width=\"145\" height=\"80\"\u003e\u003c\/div\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2015_863_EU.svg\" alt=\"RoHS 2 2015 863 EU Compliant\" width=\"145\" height=\"80\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":51340352160036,"sku":"ADA3386","price":14.9,"currency_code":"AUD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0870\/0021\/9940\/files\/3386-07.jpg?v=1763717778"},{"product_id":"adafruit-ds3231-precision-rtc-stemma-qt","title":"Adafruit DS3231 Precision RTC - STEMMA QT","description":"\u003cp\u003eThe datasheet for the\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eDS3231\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eexplains 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\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eReal Time Clock (RTC)\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003eis the most precise you can get in a small, low-power package.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/zaitronics.com.au\/products\/adafruit-ds3231-precision-rtc-breakout\" rel=\"noopener\" target=\"_blank\"\u003eWe've had a breakout board version of this RTC for a while\u003c\/a\u003e, but we want to make it even easier for folks to use, so now it comes with STEMMA QT connectors for plug-and-play simplicity.\u003c\/p\u003e\n\u003cp\u003eMost RTCs 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.\u003c\/p\u003e\n\u003cp\u003eThis 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. A coin cell is required to use the battery-backup capabilities! We don't include one by default, to make shipping easier for those abroad.\u003c\/p\u003e\n\u003cp\u003eTo 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!).  We've even included \u003ca href=\"https:\/\/www.sparkfun.com\/qwiic\"\u003eSparkFun qwiic\u003c\/a\u003e compatible\u003cstrong\u003e \u003ca rel=\"noopener\" href=\"https:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\" target=\"_blank\"\u003eSTEMMA QT\u003c\/a\u003e\u003c\/strong\u003e connectors for the I2C bus so \u003cstrong\u003eyou don't even need to solder!\u003c\/strong\u003e \u003ca href=\"https:\/\/zaitronics.com.au\/products\/4-pin-jst-sh-cable-qwiic-stemma-qt-compatible\" rel=\"noopener\" target=\"_blank\"\u003e\u003cstrong\u003eQT Cable is not included\u003c\/strong\u003e, but we have a variety in the shop\u003c\/a\u003e. Just wire up to your favorite micro and you can use our CircuitPython\/Python or \u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_DPS310\"\u003eArduino drivers\u003c\/a\u003e to easily interface with the DS3231.\u003c\/p\u003e\n\u003cp\u003eComes 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.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-ds3231-precision-rtc-breakout\/\"\u003eCheck out our detailed tutorial for pinouts, assembly, wiring \u0026amp; code for both Arduino and CircuitPython, and more!\u003c\/a\u003e\u003c\/p\u003e\n\u003cdiv class=\"tab-heading-row\"\u003e\n\u003ch5 id=\"tab-technical-details-heading\"\u003eTechnical Details\u003c\/h5\u003e\n\u003c\/div\u003e\n\u003cdiv id=\"tab-technical-details-content\" class=\"panel-collapse collapse in\"\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"\u003e\n\u003cp\u003e\u003cstrong\u003eRevision History:\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eAs of January 9, 2023 - \u003c\/strong\u003ewe've updated this PCB with \u003cstrong\u003e\u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_Pinguin\"\u003eAdafruit Pinguin\u003c\/a\u003e\u003c\/strong\u003e to make a lovely and legible silkscreen - you may get the new PCB or the older version with vector fonts - both are identical other than the fancy silkscreen. Additionally, this RTC breakout may come with black or tan STEMMA QT connectors. They work the same!\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-ds3231-precision-rtc-breakout\/downloads\"\u003eDatasheet, schematic, EagleCAD PCB files, and Fritzing available in the product tutorial\u003c\/a\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eProduct Dimensions: 25.4mm x 17.8mm x 7.8mm \/ 1.0\" x 0.7\" x 0.3\"\u003c\/p\u003e\n\u003cp\u003eProduct Weight: 2.5g \/ 0.1oz\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cul id=\"product-files\"\u003e\u003c\/ul\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2011_65_EU.svg\" alt=\"RoHS 2 2011 65 EU Compliant\" width=\"145\" height=\"80\"\u003e\u003c\/div\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2015_863_EU.svg\" alt=\"RoHS 2 2015 863 EU Compliant\" width=\"145\" height=\"80\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":51351089545508,"sku":"ADA5188","price":25.8,"currency_code":"AUD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0870\/0021\/9940\/files\/5188-05.jpg?v=1764058804"}],"url":"https:\/\/zaitronics.com.au\/collections\/real-time-clock-modules.oembed","provider":"Zaitronics","version":"1.0","type":"link"}