Quantcast
Viewing all articles
Browse latest Browse all 29

The Corona Clock

Schools are closed here in Germany until after Easter vacation, and that means that our almost-six-year-old son Max is staying at home with us. The good news is that my wife and I work from home anyway, so it’s not too stressful as long as he can look after himself for eight hours per day. The bad news is that there’s no way a kindergarten kid can take care of himself for such long stretches, and we don’t want to just park him in front of the boob tube. At least there’s two of us.

The new stay-at-home life has required some adjustment, but for at least the first five days (and counting) it’s working out pretty darn well. One trick: my wife came up with the idea of a visual schedule to help Max divide his day up into kindergarten-sized chunks, and then we added an LED strip behind it to turn it into a linear clock of sorts. And we did it with stuff we had lying around the house.

Image may be NSFW.
Clik here to view.

Granted, it’s not a super deep hacky-hack, and some of you out there could probably get it done with a handful of 555 timers. But it was quick, gets the job done, and heck, with NTP sync, it’s the most accurate kiddie clock in the world! So those of you out there who are stuck like we are, trying to balance childcare and working from home, here’s a quick project that can increase familial harmony while giving you an excuse to order more LED strips.

Ingredients

Image may be NSFW.
Clik here to view.
There isn’t much to the Corona clock. An ESP8266, in my case running NodeMCU firmware, connects over WiFi and displays the time on a WS2812 strip, connected on pin 4. In our case, I had a meter-long 60-LED strip, and we needed to cover approximately 15 waking hours, so it’s just a matter of lighting up one LED every 15 minutes. We spent more time coming up with a day-plan and looking for clip art than we did coding or soldering. I tried to think of cool things to do with the colors, but in the end just went with my son’s favorite: blue. (Any good ideas? Feel free to fork it and let me know.)

I mounted the strip to what I had in the basement: a conveniently 1 m aluminum U extrusion. If you’ve got a yardstick, or even a long-enough piece of cardboard, you’re in good shape. The LED strip had a sticky backing, but there’s no small amount of “magic” tape used to keep everything else together and in place. You can probably think up something smarter. On to the clock face!

Art, Aesthetics, and User Experience

Image may be NSFW.
Clik here to view.
The one trick was printing out the cells for the clock to match the spacing of the LEDs. They’re a maddening 1.66666 cm center-to-center, which means that I had to open up Inkscape to get the art done. But then you’re home-free, because in Document Properties, aside from setting up for landscape printing, you can set up a grid of any size that you want, and even darker lines every four grids, or one hour. Enabling snap-to-grid made all our boxes exactly the right sizes, and I imported and scaled all of the clip-art that my wife found.

If you’re looking for a nice diffused LED look, a 20 mm deep U channel with a paper front as diffuser is probably pretty close to ideal. I ran some rainbow fades up and down the length of it, and they look great. But for an “accurate” clock that doesn’t require color mixing, it’s probably a little blurry. Anyway, it works. Max can tell when it’s the last LED in his blocks of playing-alone time and hasn’t missed one yet. For a kid who can’t yet tell clock time, it’s a pretty neat experience for him to be able to say “Dad, come look at the clock, it’s time to go out with the dog!” and order us around for a change. I’ll get my revenge when kindergarten opens back up again.

Corona Clocks and Co.

It’s funny how small things like this can change what would be a daily conflict — the fight over Max’s schedule, and his feeling that it’s out of his control — into a pleasure. Granted, Max will be happier when he is back to playing with his friends, and we’ll be happier not working nights to make up for the “lost” couple hours of childcare during the day: free time got pushed somewhere off the timeline for the moment. But it’s also been a sincere pleasure to take an hour off to go on a bike ride in the forest with Max. Quality corona time?

Are you quarantining or working from home with kids? Got any cool projects, hacks or not, to help out? Post ’em up in the comments.


Viewing all articles
Browse latest Browse all 29

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>