Gravity: I2C DS1307 RTC Module

SKU:DFR0151 Brand:DFRobot Reward Points: 44
In Stock
Topic: Gravity
Quantity Based Price
  • 2-4$4.30
  • 5-9$4.20
  • 10+$3.70
* Model:
Expected Restock Date: [[restockDate]]


After several months of "Out of Stock", DS1307 RTC module has experienced a huge upgrade. It comes with a Gravity I2C interface. Its size is also reduced to fit miniaturization applications. Gravity I2C DS1307 RTC module is an easy-to-use Real Time Clock module. It is cheap and affordable in most applications such as time clock, data logger, etc. The new version DS1307 RTC module adopts a high precision crystal oscillator which reduces time error dramatically. The test conducted shows the time error is only about 1 second in 24 hours (the average time error of Mechanical Watches is about 20s). The module is powered by single cell CR1220 (service life: 3~5 years). It is smaller and keeps EEPROM 4KB ROM to record information related to alarm clocks and events. Besides, you can set the I2C address by resistance adjustment. The Gravity DS1307 RTC module uses the Gravity I2C interface and you can plug it on the DFRobot Gravity IO expansion shield directly. Cooperate with the Arduino DS1307 library developed by DFRobot, it is easy to realize functions like setting time and time display. It can be widely used in DA (Data Acquisition).

Note: According to the latest Air Transport Regulations, the batteries, magnets, and liquids transport will be very stringent, so the cell battery CR1220 will not come with the module anymore. Please buy it from the local supermarket.


  • Operating voltage: 5V
  • Interface: I2C (Gravity PH2.0-4P Interface & XH2.54 Pins)
  • IC Output Data: Hour, Minutes, Seconds, Week, Day, Month, Year
  • Leap-year Compensation
  • Accurate calendar up to year 2100
  • 1Hz Output Pin
  • 56 Bytes of Non-volatile memory available to user
  • Size: 0.81inch x 1.06inch (22mm x 27mm)
  • Weight: 6g


Project 1. Hyduino - Automated Hydroponics with an Arduino
hydroponics is growing plants without the use of a traditional dirt medium by using a nutrient rich water solution. This is especially great for those people that that have limited areas in their backyard to grow in.
Hardware list:

Project 2. How to Monitor the Home Temperature&Humidity with BME680

Design Idea: Take DFRduino UNO R3 as the controller and DS1307 as a clock. Then BME680 Environmental Sensor collects environment data and pass it to UNO. Finally, UNO input data to SD card that received from the sensor in every second.

Materials List:


Shipping List

  • Gravity: I2C DS1307 RTC Module x1
  • Gravity-4Pin I2C/UART Cable x1
  • XH2.54-5P Pin Header x1




Gravity: I2C DS1307 RTC Module

In Stock
  • 2-4$4.30
  • 5-9$4.20
  • 10+$3.70