Bare-bones electronic advent calendar

posted Aug 31st 2011 3:01pm by
filed under: arduino hacks, clock hacks

It’s officially September now (in some parts of the world), and that means we’ve been watching the Christmas decorations go up on the floor of Costco, Walmart and Target for the last few weeks. As a small test of reality, [Eric] decided to build an electronic advent calendar that counts down the days until Christmas. As a simple build using parts lying around on the bench, [Eric] did a pretty good job at deferring his kid’s questions of, “How long until Christmas?” to a machine.

The build is fairly bare-bones, using only an Arduino Pro Mini, RTC and LCD display. For the real-time clock, [Eric] used the ever popular DS3231 RTC. The software reads the time from the clock and calculates the number of seconds between the present time and the hard-coded target date.

Everything is powered by a 9 Volt battery that wouldn’t last the remaining 115 days until Christmas. There is a power switch and the RTC has a battery backup, so the build will probably suffice for all but the most fanatical child.



12 Responses to Bare-bones electronic advent calendar

  • MobileWill says:

    Where is the chocolate drop? LOL. Pretty neat.

    • MobileWill says:

      I had a lot of problems getting my RTC working on my robot. You could have an alarm on the RTC to wake up the Arduino to update the LCD. Might make the battery last longer. I did the same thing to speed up sensor monitoring as to not monitor all the sensors and only update the rest when the alarm goes off every minute.

  • Hirudinea says:

    No Chocolate!? Advent calendar my ass! Nice countdown timer though.

    • Haku says:

      It’s the type of hack begging to be wired to a gumball dispencer filled with chocolate that automatically dispences a bit every day until christmas day.

      Thinking bigger, an advent calendar vending machine would be a nice hack, chocolate every day until christmas upon which you’ll probably have gained enough weight to fill out a santa suit :)

  • Rollyn01 says:

    He could of set it to wake up on interrupt from a push button, calculate the remaining time, display it for a few then have it go back to sleep. It would atleast last till Xmas(or longer).

  • Gian says:

    Sorry for the obvious point, but something involving a microcontroller is not so “barebone” in my point of view (not to be confused with “where’s the arduino” argument). Ok, here there’s an LCD to drive, but generally speaking: why is everybody so lazy and use expensive components to do simple stuff like counting? If you know what you’re doing, a logic-only clock is even easier than a uC-based one. Hint: i would like to see more discrete component/active-but-not-so-complex components stuff over here…

    • fred says:

      OK, build us a circuit that does exactly the same thing without a CPU. Give us the URL to your write up.

      People use CPUs with stuff like this because it is much easier than a board full of logic chips.

      There is a little bit less name calling now that the new comment system is here but HAD is still full of arm chair quarterbacks that are way smarter than the people actually doing the work and sharing.

      • Gian says:

        …wow.. easy to get personal! I’m not claiming i’m more smart or capable than the autor or than you or than anyone else. And I even said “Ok here there’s a dot matrix LCD to drive”… I’m just saying that things like this reminds me that when i was a beginner EVERY magazine was proposing discrete components builds to solve ANY problem. And it was complex. But it was instructive and awesome. While i think that all works proposed here are done witth tons of creativity and ability, i think there’s absolutely nothing special in placing a couple of hi-level language lines of code in a micro to do this and that. That’s it. Maybe not in this project, but generally speaking, over and mis-use of mCs nowadays is a fact.

  • Bigdeal says:

    That’s cool! Eric is the same person who made the morse-code beacon thingie that told his kids where to look for a treat, he’s a very cool dad :p

  • Mike says:

    You can buy those cheap “Obama countdown clocks” which are the “Bush countdown clocks” with a new sticker over the front. Those are simple enough to reprogram using the buttons on the back.

  • Rioexxo says:

    “As a simple build using parts lying around on the bench, [Eric] did a pretty good job at deferring his kid’s questions of, “How long until Christmas?” to a machine.”

    HAHAHAHAHAHahahahaha
    the REAL motivation!

  • Leave a Reply

    XHTML: You can use these tags: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

    Send us your hacks










         




    Hacks

    Resources