Please sign in to access this page

Countdown to School

Countdown to School

4 devlogs
4h 48m
•  Ship certified

Hardware project! A countdown timer built with an Arduino, RTC Module, and LCD to let you know how long before the summer ends 😭

Also displays (motivational?) messages

Timeline

Ship 1

1 payout of shell 86.0 shells

Mateo Desuasido

about 1 month ago

Mateo Desuasido • Covers 4 devlogs and 4h 48m

The Summer Countdown timer is complete! Check it out yourself (and maybe build it, too?) on GitHub. We got dates working. I ended up forgoing the compacted dates (removing the highest values in order if they're zero) for a more consistent style on the LCD. I also began using padded zeros for each of the values, because they're all two digits max (hopefully no one is countdowning to 160 years in the future). We're just gonna clean up the code and README, take a video, and then ship!

Update attachment

WE GOT LIQUID CRYSTAL DISPLAY DISPLAYING—Hello, Hack Club!

Update attachment

WE GOT FORMATTED DATES BABY

On another note, I hate C++ so much. (/s) Coming from a JS/TS background, fixed-size arrays, pointers, integer sizes (uint16t vs uint32t), and a lot more were totally foreign to me though not unheard of. I've learned a lot about the language, but my lack of proficiency in it definitely slowed me down.

Anyways, we can now get the time difference between two dates and have it nicely formatted. Plurals, redundant dates, and dates in the past are all taken care of. Nice.

Next, we need to hook everything up to the LCD and add some neat messages! Should be easier than this.

Update attachment

I've gotten all the wiring ready (jumpers for now, since I don't know how to solder lol)
You can see the RTC module and the LCD in the photo. Next step is to sync the RTC module since I haven't used it in a while.

Update attachment