However, this timer only keeps track of time since the microcontroller was last powered which means that whenever the power is turned off, the timer is set back to zero! Most microcontrollers, including the Arduino, have a built-in timer that can keep track of longer time periods like minutes or days. In this tutorial I will look at the DS1307 RTC which is one of the common Real Time Clocks, the other one being DS3231 RTC. Real time clocks are required in applications where we need to keep track of the current time for example in data logging. Code for the Digital Clock using MAX7219 LED matrix, DS1307 RTC and Arduino.Schematic for Arduino digital clock with MAX7219 Led matrix and DS1307 RTC.Digital Clock using DS1307 RTC and MAX7219 LED matrix with Arduino.Code for displaying DS1307 RTC Time and Date on I2C LCD. Displaying the Time and Date on an I2C LCD.Code for Setting Time for the DS1307 RTC.Installing the necessary libraries in the Arduino IDE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |