Arduino New Year Countdown Clock

by Progetto Company in Circuits > Arduino

1761 Views, 1 Favorites, 0 Comments

Arduino New Year Countdown Clock

New Year Countdown Demo
PXL_20211229_035309440.jpg

DISCLAIMER: CERTAIN COMPONENTS USED IN THIS TUTORIAL ARE FOR SALE BY THE AUTHOR

During this tutorial, you'll create an Arduino-based New Year countdown, which uses a real-time clock (RTC) module to get the current time and determine how much time there is remaining until the New Year. Be sure to see the video above for a demo!

Supplies

PXL_20211229_040306910.jpg

To build the New Year countdown, you'll need:

Familiarize Yourself With the Components

PXL_20211229_035344082.jpg
PXL_20211229_035410010.jpg

This tutorial assumes you have followed this amazing tutorial by Last Minute Engineers https://lastminuteengineers.com/i2c-lcd-arduino-tutorial/ so you know your LCD's I2C address and can wire it to your Arduino.

This tutorial also expects you have followed the Arduino Usage section of this outstanding tutorial by Adafruit https://learn.adafruit.com/adafruit-ds3231-precision-rtc-breakout/arduino-usage so you have correctly set your RTC's time and can wire it to your Arduino.

Wiring

Countdown_Wiring.JPG
PXL_20211229_035756751.jpg

Having followed the tutorials in the previous step, your LCD and RTC modules should already be wired correctly. If not, you can consult the wiring diagram above. As for power, this project runs fine powered through the Arduino's onboard USB port.

Upload the Code

PXL_20211229_035841861.jpg

Get the project's code from here: https://github.com/ProgettoCompany/New_Year_Countdown

If the LCD isn't working correctly:

Double-check your wiring, your LCD's I2C address, and that you've adjusted the contrast of the display correctly.


If the RTC isn't working correctly:

Double-check your wiring and that the RTC's onboard battery still has enough charge.

Conclusion

new_year_conclusion.jpg

Congratulations, you have created your own New Year countdown using an Arduino! Feel free to remix and improve this project to your heart's content, maybe add a case, battery power, a cooler output (remember to use a boolean if you only want to trigger the output once), correct RTC drift (https://create.arduino.cc/projecthub/philippedc/ds1307-rtc-drift-self-correction-0c9b36), or repurpose the project to countdown to another date.

If you have any questions, comments or concerns, feel free to email me at progettocompany@gmail.com

Happy hacking!

John Wolf

Progetto Company