Sale!

Real Time Clock Module – DS1307

,

C-4, R-1 , I-3

Original price was: ₪ 45.0.Current price is: ₪ 27.0.

Product ID: 1850 SKU: MOD-1850 Categories: , Tags: , , ,

This a cus­tom designed mod­ule for the DS1307 Real Time Clock. The mod­ule comes ful­ly assem­bled and pre-pro­grammed with the cur­rent time (ok, so it’s * our cur­rent time – *MST).  The DS1307 RTC is accessed via the I2C pro­to­col. We’ve writ­ten a test-bed to pro­gram the mod­ules. This test-bed code should give you some insight on how to inter­face the mod­ule to any micro­con­troller using our exam­ple soft­ware I2C and BCD rou­tines.

Fea­tures:

  • Two wire I2C inter­face
  • Hour : Min­utes : Sec­onds AM/PM
  • Day Month, Date – Year
  • Leap year com­pen­sa­tion
  • Accu­rate cal­en­dar up to year 2100
  • Bat­tery Not includ­ed
  • 1Hz out­put pin
  • 56 Bytes of Non-volatile mem­o­ry avail­able to user

Wiring the RTC to Arduino

Arduino Tiny RTC I2C Real Time Clock Pinout

PINDescrip­tionCom­ment
BATBat­tery volt­ageTo mon­i­tor the bat­tery volt­age, or not con­nect­ed
GNDGroundGround
VCC5V sup­plyPow­er the mod­ule and charge the bat­tery
SDAI2C dataI2C data for the RTC
SCLI2C clockI2C clock for the RTC
DSDS18B20 Temp. Sen­sor out­putOne wire inte­face
SQSquare wave out­putNor­mal­ly not used

The I2C wires “SDA” and “SCL” are the data line and clock line, they should be con­nect­ed to the cor­re­spond­ing pins depend­ing on the Arduino board.

BoardI2C / TWI pins
Uno, Eth­er­netA4 (SDA), A5 (SCL)
Mega256020 (SDA), 21 (SCL)
Leonar­do2 (SDA), 3 (SCL)
Due20 (SDA), 21 (SCL), SDA1, SCL1

Exam­ple code is avail­able here.

 

Doc­u­ments:

Soft­ware:

Reviews

There are no reviews yet.

Be the first to review “Real Time Clock Module – DS1307”

Your email address will not be published. Required fields are marked *