Introduction: To Display Time and Date Using DS1307RTC

In this project in the virtual terminal time and date will be displayed using DS1307RTC.

DS1307RTC:

The DS1307 is a low power Full Binary (BCD) Real Time Clock (RTC) IC with 56 bytes of SVRAM that communicates through I2C Protocol. The IC can work from directly supply on Vcc and switch to Battery automatically when required.

This project is done in Proteus Software using Arduino software.

Through simulation from the Proteus we are making the circuit to work.

The added advantage of using Proteus is we no need to have hardware components, if we have a laptop Proteus software and Arduino software we can make this project.

components required for making this project are

Arduino Uno

crystal

Resistors

Virtual Terminal

DS1307

Step 1: Connect the Circuit

click on this link for DS1307 library

Include the above library in Proteus

Now,

1. Open the Proteus click on new file.

2. Then go to component mode and select the required components.

3. From virtual instrument mode select Virtual terminal and from terminal mode select power and ground.

4. Then connect the circuit as shown in figure.

Step 2: Write the Program in Arduino

click here for Arduino Program

we have to upload some libraries in Arduino:

click on the below links to include libraries in Arduino

https://github.com/PaulStoffregen/DS1307RTC

https://github.com/amorellgarcia/arduino-timer-lib

https://github.com/PaulStoffregen/Time

After writing the program save the Arduino file in .hex extension

For saving into .hex extension click ctrl+shift+s.

Then the Arduino code will be saved in .hex extension.

Step 3: Then Upload Arduino Code Into Arduino Uno and Run the Proteus

Then upload the Arduino code into Arduino Uno in Proteus and then run the Proteus.

Then the output will be displayed as shown.

We have done it !......