Skip to content

This is a very simple countdown timer I build with my daughter every year in the fall.

License

Notifications You must be signed in to change notification settings

irishismyname/HolidayCountdownTimer-Arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HolidayCountdownTimer-Arduino

This is a very simple countdown timer I build with my daughter every year in the fall to make 16x2 countdown timers for Halloween, Thanksgiving, Christmas, and her birthday. I used the schematic from makerguides.com. The gist of it is captured in this diagram from makerguies.com: Circuit Schematic.

Setup

  1. Set the constant nameOfDay to the name of the event you're counting down to. You may have to abbrevaite if it's not fitting on the screen.
  2. Set the constant daysPreset to the number of whole days until the event.
  3. Set the constant secondsPreset to represent the number of seconds left in the day today.
    Note: You can fill daysPreset and secondsPreset in based on another countdown timer such as Halloween, Thanksgiving, or Christmas.

Build/Run

Nothing new here, just open the file in the Arduino IDE and upload it (Reference). Every time you reboot this, it will reset the countdown to start from the presets defined above, so be ready to change those 😅.

Limitations

Since the millis() timer elapsed time is stored in an unsigned long, this timer will only work for 2^32 -1 (4,294,967,295) milliseconds which is about 49.7 days. After that time, you will have to load new preset times and restart the device.

Troubleshooting

If I had any sense, I would have written down some troubleshooting tips as they occurred. Needless to say... I did not. If the LCD has a row of white boxes, the wiring is not correct. If you get some jumbled up mess on the screen, also probably not wired correctly. Don't forget to adjust the potentiometer until it looks right!

Enhancements

This of course would benefit greatly from a realtime clock, but most of this code would be useless if you had one.

About

This is a very simple countdown timer I build with my daughter every year in the fall.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages