tolribeiro / vaynerclock

Countdown timer (24-hour format) that only considers hours left until bedtime.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vaynerclock

Countdown timer (24-hour format) that only considers hours left until bedtime.

garyv

Why?

One day while going through Instagram I saw a video from Gary Vaynerchuk talking about the fact that people always complain that they don't have enough hours during the day.

The message of this short video got stuck in my head. It sounds so obvious but well...we do not have 24 hours during the day, since roughly 1/3 of that has to be subtracted from the time we spend sleeping. If you sleep 6 hours a day, you end up with the magic number: 18.

What does this little thing do?

So since I had a DS3231 and a 5110 hanging around on my desk (and a UNO of course 😊), I decided to create a clock that would count the hours left until my bedtime.

It's as simple as this: if it's 7 PM and I go to sleep at 11 PM, the clock shows the number 4. If it's 4 PM then I'd see 7 (check image below).

Connections

schema

Circuit working

Now everytime I come by my desk, I can check how many hours I have left...good reminder not to waste them watching House of Cards 😂 (please check the video lol)

schema

Instructions

In order to run it, you'll need to include both RTClib.h and U8glib.h libraries.

IMPORTANT: the setTime function only runs the very first time you upload the sketch to the board. Also, since the DS3231 has an internal RTC (very precise, btw) and it will keep counting the hours (UTC) even if the Arduino doesn't have power.

Have fun! ✌️

About

Countdown timer (24-hour format) that only considers hours left until bedtime.

License:MIT License


Languages

Language:C++ 100.0%