This item has closed 1 buyer bought 1 item
View other items offered by SteadyPower229

Similar products

R30 shipping
GSM Module (SIM900) Kit For Arduino
R650
REAL TIME CLOCK SMD SER I2C SOIC8 MCP79410-I/SN
R28.38
EASY-PLUG REED SWITCH MODULE FOR ARDUINO KS0118
R45.30
CLOCK / RTC BOARD FOR ARDUINO KE0050
R52.22

Real Time Clock Module for Arduino

New
Indicative market price: R125
R65.00 48% OFF
Closed 1 Sep 14 19:31
Shipping
Standard courier shipping from R60
R60 Standard shipping applies to orders under R100, in most areas in South Africa. R30 Standard shipping applies to orders over R100. Some areas may attract a R30 surcharge. This will be calculated at checkout if applicable.
Check my rate
Ready to ship in
The seller has indicated that they will usually have this item ready to ship within 3 business days. Shipping time depends on your delivery address. The most accurate delivery time will be calculated at checkout, but in general, the following shipping times apply:
 
Standard Delivery
Main centres:  1-3 business days
Regional areas: 3-4 business days
Remote areas: 3-5 business days
Get it now, pay later
Buyer Protection

Product details

Condition
New
Location
South Africa
Product code
RTC DS1307221
Bob Shop ID
158705975

 

This tiny RTC module is based on the clock chip DS1307 which supports the I2C protocol. It uses a Lithium cell battery (CR1225). The clock/calendar provides seconds, minutes, hours, day, date,month, and year information. The end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The clock operates in either the 24-hour or 12-hour format with AM/PM indicator.

 

Features

  • 5V DC supply
  • Programmable Square-Wave output signal
  • Automatic Power-Fail detect and switch circuitry
  • Consumes less than 500nA in Battery-Backup Mode with Oscillator Running
  • 56-Byte, Battery-Backed, Nonvolatile (NV)RAM for data storage

Usage

Hardware

Connect this sensor to your Arduino/Crowduino digital pins( D2 for example). Adjust the RT&CDS to change trigger sensitivity and duration of the trigger signal.Set the module as retriggerable or un- retriggerable with the switch, when the H position, the module is retriggerable and is unretrigerred when the switch is in L position.

Programming

You can set Tiny RTC time and get the current time from this module as the following:

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

#include
#include "RTClib.h"

RTC_DS1307 RTC;

void setup () {
Serial.begin(57600);
Wire.begin();
RTC.begin();
RTC.adjust(DateTime(__DATE__, __TIME__));
}


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(now.hour(), DEC);
Serial.print(':');
Serial.print(now.minute(), DEC);
Serial.print(':');
Serial.print(now.second(), DEC);
Serial.println();

Serial.println();
delay(3000);
}