An electronic clock

By Alexsandar | 02 December 2017 | 4 Comments


Now, I will tech you how you can build a simple clock with date, time and day of the week using a 16x2 LCD display and a DS1302 RTC module. The current date and time is stored even after power outage so it will work, for example, when changing power supplies or moving to a different location. Some of the used parts were provided by KUMAN.

Step 1: Parts Needed


Arduino board
9 x Jumper wires
DS1302 module
USB cable

Step 2: Connecting the Components


So, you need to make the following connections:
LCD | Arduino
GND - GND
VCC - 5V
SDA - A4

DS1302 | Arduino
VCC - 5V
GND - GND
DAT - 2
RST - 3
CLK - 4

Step 3: Modifying and Uploading the Code


You can find the code that I've developed HERE. Take a look at the code which sets the date and time (for the first time). You need to modify it, upload the code and then to prevent it from overwritting the date and time which is beeing stored you can either comment-out the 3 lines or delete them. I've explained this in the code as well, using some comments. Feel free to modify it to your likings.
AStobeNota
December 07,2017 11:55
Four to five portions of this fruit juice should be consumed weekly to find the desired result. Once you discover the most effective natural treatments, it is possible to once more have full power over your sexual pleasures. <a href="http://www.generiq
Williamlot
December 06,2017 23:20
An easy way to lose weight in 21 days: https://sites.google.com/site/weightlossluxury/la-weight-loss-programs-diet-plans---effective-and-affordable Popular tags: best gym workouts to lose weight fast how to lose weight if obese diet chart f
AZINOhew
December 06,2017 15:26
Азино777 бонус 777 рублей https://youtu.be/QXkHkgG8m9U Как вывести на Азино777 бездепозитный бонус видео
Thomasmaw
December 03,2017 21:16
Living in France is one thing desired by many individuals. If you want to live in France then you have to get French property. You can read the advertisement section of the newspapers which has the section of houses for sale in France. After making a suit
Leave a Reply
Your email address will not be published.Required fields are marked. *
Name *
Email *
Content
Popular blog
Categories