Wish List 0

Tiny Rtc Module Compatible With Arduino I2C (24C32 And Ds1307)

Rs. 33.00 Rs. 38.00

  • Product Code: SEN-RTC
  • SKU -
  • Availability: In Stock
  • For Bulk Order 9962060070
    Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
  • This is Tiny RTC Real Time Clock DS1307 I2C IIC Module for Arduino. It contains a DS1307 real-time clock IC with a backup battery. It’s one of the easiest to use RTCs out there, with Arduino and other libraries or simply use I2C commands to set and retrieve the time and date. Includes a lithium coin cell battery which should be good for four years at least.
  • Along with the DS1307 real-time clock, the module also has an Atmel 24C32 EEPROM chip which is handy for storing data without worrying about power loss. There is also space on the board to solder your own DS18B20 temperature sensor.
  • This battery-powered clock allows you to keep a reasonably accurate time even when your Arduino is powered off.  It is very useful in data logging and other time-sensitive applications. The device uses I2C to communicate with your Arduino.

Note: 
Battery is not included in the package, you need to buy it separately.

SPECIFICATIONS:

Working voltage     5V

Two wire I2C interface

Hour    Minutes    Seconds AM/PM

-Day Month, Date - Year

-Leap year compensation

-Accurate calendar up to year 2100

-Consumes Less than 500nA in Battery-Backup

-Battery included

-1Hz output pin

-56 Bytes of Non-volatile memory available to user

-4KB of serial electrically erasable and programmable read only memory (EEPROM)

-Embed DS18B20 temperature sensor interface with the pull-up resistor


OVERVIEW:

-Operating Voltage        5V

-Two wire I2C interface

-Hour:    Minutes        Seconds AM/PM

-Leap year compensation

-Accurate calendar up to the year 2100

-Consumes Less than 500nA in Battery-Backup

PACKAGE INCLUDES:

1 PCS x Ds1307 Tiny Rtc Module Eprom I2C


//SOURCE CODE TAKEN FROM BELOW LINK

//https://create.arduino.cc/projecthub/electropeak/interfacing-ds1307-rtc-module-with-arduino-make-a-reminder-08cb61

// Date and time functions using a DS1307 RTC connected via I2C and Wire lib

#include <Wire.h>

#include "RTClib.h"

RTC_DS1307 rtc;

char daysOfTheWeek[7][12] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"};

void setup () {

 while (!Serial); // for Leonardo/Micro/Zero

 Serial.begin(57600);

 if (! rtc.begin()) {

   Serial.println("Couldn't find RTC");

   while (1);

 }

 if (! rtc.isrunning()) {

   Serial.println("RTC is NOT running!");

   // following line sets the RTC to the date & time this sketch was compiled

   rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));

   // This line sets the RTC with an explicit date & time, for example to set

   // January 21, 2014 at 3am you would call:

   // rtc.adjust(DateTime(2014, 1, 21, 3, 0, 0));

 }

}

void loop () {

 DateTime now = rtc.now();

 Serial.print(now.year(), DEC);

 Serial.print('/');

 Serial.print(now.month(), DEC);

 Serial.print('/');

 Serial.print(now.day(), DEC);

 Serial.print(" (");

 Serial.print(daysOfTheWeek[now.dayOfTheWeek()]);

 Serial.print(") ");

 Serial.print(now.hour(), DEC);

 Serial.print(':');

 Serial.print(now.minute(), DEC);

 Serial.print(':');

 Serial.print(now.second(), DEC);

 Serial.println();

 Serial.print(" since midnight 1/1/1970 = ");

 Serial.print(now.unixtime());

 Serial.print("s = ");

 Serial.print(now.unixtime() / 86400L);

 Serial.println("d");

 // calculate a date which is 7 days and 30 seconds into the future

 DateTime future (now + TimeSpan(7, 12, 30, 6));

 Serial.print(" now + 7d + 30s: ");

 Serial.print(future.year(), DEC);

 Serial.print('/');

 Serial.print(future.month(), DEC);

 Serial.print('/');

 Serial.print(future.day(), DEC);

 Serial.print(' ');

 Serial.print(future.hour(), DEC);

 Serial.print(':');

 Serial.print(future.minute(), DEC);

 Serial.print(':');

 Serial.print(future.second(), DEC);

 Serial.println();

 Serial.println();

 delay(3000);

}

15 DAYS 

Write a review

Please login or register to review