m (Explorer moved page A8.PIC Interfacing Utrasonic SR04 to Interfacing DS1307(RTC) with PIC16F877A: Interfacing DS1307(RTC) with PIC16F877A)
Line 1: Line 1:
 
[[Category:PIC Tutorials]]
 
[[Category:PIC Tutorials]]
[http://exploreembedded.com/wiki/images/1/10/Schematic_PIC_Interfacing_Utrasonic_SR04.pdf '''Schematic''']
+
In this tutorial we will see hot to interface DS1307(RTC) with Pic16f877a.<br>
 +
First we will see the internals of DS1307 and later how to read and write the date and time.<br>
  
[[File:Schematic PIC Interfacing Utrasonic_SR04.JPG|680px]]
+
=DS1307 Basics=
 
+
The Real time clock DS1307 IC basically is stand alone time clock with following features.
<span style="color:red">'''Code and Explanation will be updated soon..'''</span>
+
*Real-time clock (RTC) counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap-year compensation valid up to 2100.
 +
*56-byte, battery-backed, nonvolatile (NV) RAM for data storage
 +
*Two-wire(I2C) serial interface
 +
*Programmable squarewave output signal
 +
*Automatic power-fail detect and switch circuitry
 +
*Consumes less than 500nA in battery backup mode with oscillator running
 +
*Optional industrial temperature range: -40°C to +85°C

Revision as of 19:15, 17 May 2016

In this tutorial we will see hot to interface DS1307(RTC) with Pic16f877a.
First we will see the internals of DS1307 and later how to read and write the date and time.

DS1307 Basics

The Real time clock DS1307 IC basically is stand alone time clock with following features.

  • Real-time clock (RTC) counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap-year compensation valid up to 2100.
  • 56-byte, battery-backed, nonvolatile (NV) RAM for data storage
  • Two-wire(I2C) serial interface
  • Programmable squarewave output signal
  • Automatic power-fail detect and switch circuitry
  • Consumes less than 500nA in battery backup mode with oscillator running
  • Optional industrial temperature range: -40°C to +85°C