Real-Time Clock TinyShield


25 in stock

  • Free Shipping for orders over $50
  • Available Worldwide


    This TinyShield lets you add a battery-backed real-time clock (RTC) to your TinyDuino projects. This lets your project keep accurate time even through the TinyDuino being reprogrammed or power losses. It is based around the Maxim DS1339 RTC and supports counting in seconds, minutes, hours, days, date, month and year with leap-year compensation (valid up to 2100).

    The RTC has two time-of-day alarms that can be set to wake up the main TinyDuino processor from sleep (very useful in long term data logging applications) and will automatically switch to using the backup battery upon power loss. The backup battery is a rechargeable Lithium coin cell which is soldered onto the TinyShield and will keep the RTC time for 2.5 years before being recharged. Trickle charging of the backup battery can be enabled using a software command.

    To learn more about the TinyDuino Platform, click here


      To see what other TinyShields this will work with or conflict with, check out the TinyShield Compatibility Matrix

      Maxim DS1339 Real-Time Clock (RTC) Specs

      • Real-Time Clock (RTC) Counts Seconds, Minutes, Hours, Day, Date, Month, and Year with Leap-Year Compensation Valid Up to 2100
      • Two Time-of-Day Alarms
      • Oscillator Stop Flag
      • Automatic Power-Fail Detect and Switch Circuitry
      • Backup battery trickle charge (software controlled)

      TinyDuino Power Requirements

      • Voltage: 3.0V - 5.5V 
      • Current: 450uA (Active Mode).  Due to the low current, this board can be run using the TinyDuino coin cell option
      • Built in Backup Battery
        • 11mAh rechargeable Lithium 3.0V backup battery.
        • Provides 2.5 years of timekeeping backup
        • Backup battery trickle charging under software control
        • Backup battery current: 600 nA

      Pins Used

      • A5/SCL - I2C Serial Clock line
      • A4/SDA - I2C Serial Data line


      • 20mm x 20mm (.787 inches x .787 inches)
      • Max Height (from lower bottom TinyShield Connector to upper top TinyShield Connector): 5.11mm (0.201 inches)
      • Weight: 1.58 grams (.06 ounces)


      • The backup battery can be recharged from the main TinyDuino power supply via a software command, see the example code or the datasheet for more information. 



        Using the Real-Time Clock TinyShield
        Using the Real-Time Clock TinyShield
        Learn how to program the Real-Time Clock TinyShield using this easy tutorial!

        Related Items

        Combo Sensor TinyShield (13-DOF) 9-Axis, Temperature/Humidity, Pressure, Light
        Combo Sensor TinyShield (13-DOF) 9-Axis, Temperature/Humidity, Pressure, Light
        This TinyShield features four of our popular TinyShield Sensors on a single board!
        9-Axis IMU TinyShield
        9-Axis IMU TinyShield
        This TinyShield lets you measure 9 degrees of freedom (9DOF) with your TinyDuino and features the ST LSM9DS1 - a system-in-package featuring a 3D d...