Use Arduino to drive DS1302 clock module

Byamber

Use Arduino to drive DS1302 clock module

1)Objective

DS1302 clock module has an inner clock and 31 bytes memory which can communicate with Arduino through serial port. This project will use Arduino to drive DS1302 clock module, get date/time and display it into I2C LCD screen.

2)Parts and devices:

1 x arduino UNO R3

1 x DS1302 clock module

1 x IIC 1602 LCD display

1 x USB cable

jumper wires

3)Circuit graph:

ds1302_1_bb

4)Software download and installation:

First you need Download i2c LCD driver and DS1302 driver from following links:
LiquidCrystal_I2C download

DS1302 download link

Unzip above two files and move the unzipped library folder to Arduino IDE library folder.

Then download DS1302 running code from following link:
DS1302_test.ino download link

, load above code into Arduino.
If your LCD does not display anything, your LCD’s I2C address might be different from our code. Read the article http://kookye.com/2014/12/07/16×2-i2c-liquidcrystal-displaylcd/and find correct I2C address, then change the address 0x27 in DS1302_test.INO file to correct address(another very common address is 0x3f).

5)Result

After load DS1302_test.ino file into Arduino IDE, you should see your current date like “27/07/2016 Wed”, see following pictures:

IMG_20160727_120008

IMG_20160727_120108

About the Author

amber administrator

8 Comments so far

levitra couponPosted on  11:26 pm - May 3, 2020

levitra vs viagra

levitra 10mg password – levitra 20mg total topics – levitra dose medications similar threads

cialis over the counter at walmartPosted on  3:07 am - May 7, 2020

cialis over the counter

ed problems – cialis spam names – generic cialis no prescription

cialis buyPosted on  9:11 pm - May 15, 2020

cialis order online

canadian pharmacy cialis 20mg memberlist – cialis and alcohol side effects last post – cialis and woman

buy viagraPosted on  11:09 pm - Jun 3, 2020

viagra generic

http:mtg.ornl.govmembersnereeebuyviagrageneric.htmluy viagra generica – viagar or viagra – viagra for order

viagra without doctor prescriptionPosted on  11:01 pm - Jun 20, 2020

viagra without prescription

viagra viagra – theodore roosevelts viagra – viagra vs viagra cost clever.cgi

viagra for salePosted on  4:36 am - Aug 5, 2020

viagra generic

viagra for women blogs you are not logged in or you do not have permission to access this page. thi – viagra 5mg memberlist – viagra for women cancer contact us

cialis over counterPosted on  9:53 am - Aug 23, 2020

cialis over the counter at walmart

cialis and alcohol consumption website – cialis and insomnia – compare levitra viagra and cialis apeboard_plus.cgi?command=

best online pharmacies no prescriptionPosted on  5:50 pm - Apr 28, 2021

best online pharmacies no prescription

Use Arduino to drive DS1302 clock module – kookye.com

You must be logged in to post a comment