Epic Clock Clocks The Unix Epoch

Admit it: when you first heard of the concept of the Unix Epoch, you sat down with a calculator to see when exactly 2³¹-1 seconds would be from midnight UTC on January 1, 1970. Personally, I did that math right around the time my company hired contractors to put “Y2K Suspect” stickers on every piece of equipment that looked like it might have a computer in it, so the fact that the big day would come sometime in 2038 was both comforting and terrifying.

[Forklift] is similarly entranced by the idea of the Unix Epoch and built a clock to display it, at least for the next 20 years or so. Accommodating the eventual maximum value of 2,147,483,647, plus the more practical ISO-8601 format, required a few more digits than the usual clock – sixteen to be exact. The blue seven-segment displays make an impression in the sleek wooden case, about which there is sadly no detail in the build log. But the internals are well documented, and include a GPS module and an RTC. The clock parses the NMEA time string from the satellites and syncs the RTC. There’s a brief video below of the clock in action.

We really like the look of [Forklift]’s clock, and watching the seconds count up to the eventual overflow seems like a fun way to spend the next two decades. It’s not the first Epoch clock we’ve featured, of course, but it’s pretty slick.

Continue reading “Epic Clock Clocks The Unix Epoch”

The Tide Is High, And This Clock Lets You Know

In case you happen to have an ocean nearby, you’re probably familiar with its rising and falling tides. And if mudflat hiking is a thing in your area, you’re also aware of the importance of good timing and knowing when the water will be on its way back. Tide clocks will help you to be prepared, and they are a fun alternative to your usual clock projects. If you’re looking for a starting point, [rabbitcreek] put together an Arduino-based tide clock kit for educational purposes.

If you feel like you’re experiencing some déjà vu here, this indeed isn’t [rabbitcreek]’s first tide clock project. But unlike his prior stationary clock, he has now created a small and portable, coin-cell version to take with you out on the sea. And what shape would better fit than a 3D printed moon — unfortunately the current design doesn’t offer much waterproofing.

For the underlying tide calculation itself, [rabbitcreek] uses just like in his previous project [Luke Miller]’s location-based library for the ubiquitous DS1307 and DS3213 real-time clocks. Of course, if you also want to keep track of other events on your clock, why not set up calendar events for the next rising tide?

How To Run A Clock For A Century

What’s going to keep a clock running for a century, unattended? Well, whatever’s running it will have to sip power, and it’s going to need a power source that will last a long time. [Jan Waclawek] is looking into solar power for daytime, and capacitors for nighttime, to keep his clock running for a hundred years.

This project carries on from [Jan]’s previous project which looked at what kind of power source could power the gadgets around his house for a century without needing intervention – ie., no batteries to replace, no winding etc. [Jan] whittled his choices down to a combination of solar power and polypropylene film capacitors. Once the power had been sorted, a clock was chosen in order to test the power supply. The power consumption for a clock will be low during the night – it would only need a RTC circuit keeping track of the time – so a few low-leakage capacitors can be used. When daylight returns or a light is switched on, the solar circuit would power the clock’s display.

At the moment, [Jan] has a proof of concept circuit working, using the ultra-low-power microcontroller on a STM32L476 DISCOVERY board and a few 10 μF 0805 size capacitors, when fully charged by the solar panel, the clock’s display lasts for about two minutes.

Take a look at [Jan]’s project for more details, and check out his previous project where he narrowed down the components for a hundred-year power supply. [Jan]’s prototype can be seen in action after the break. Also take a look at this master clock that signals slave clocks and runs for a year on a single AA battery.

Continue reading “How To Run A Clock For A Century”

Clock Plays A Game Of Pong With Itself To Pass The Time

Would you play a game of Pong where each set lasts exactly one minute and the right player is guaranteed to win 60 times more than the left player? Of course not, but if you were designing a clock that displays the time using a Pong motif, then perhaps it would make sense.

There are some neat design tips in [oliverb]’s Pong Clock that are worth taking a look at. Foremost is the case, which is a retasked jewelry box with a glass lid, procured on the cheap from eBay. It’s a good size for a clock meant to be seen from across the room, and already finished to fit into modern decor. The case holds all the goodies, from the 24×16 green LED matrix display to the Uno that runs the show, as well as an RTC module, a sound chip, a temperature sensor, and a PIR module to turn the display off when the room is unoccupied. To prevent disrupting the sleek lines of the case, all the controls are mounted in a remote panel, itself a clean and modern-looking device thanks to the chrome-plated duplex outlet cover used to house it. The clock has several display modes, from normal time and temperature to a word clock, as well as the Pong mode, where the machine plays itself and the score shows the time. It’s fascinating to watch, and we like everything about it, although we think the tick-tock would drive us nuts pretty quickly.

We recently covered the life and times of [Ted Dabney], one of Pong’s fathers and co-founder of Atari. We tend to think he’d like the design of this clock, both as a nod to his game and for its simple but functional design.

Continue reading “Clock Plays A Game Of Pong With Itself To Pass The Time”

Don’t Flake On Your Fish—Feed Them Automatically

We get it. You love your fish, but they can’t bark or gently nip at your shin flesh to let you know they’re hungry. (And they always kind of look hungry, don’t they?) One day bleeds into the next, and you find yourself wondering if you’ve fed them yet today. Or are you thinking of yesterday? Fish deserve better than that. Why not build them a smart fish feeder?

Domovoy is a completely open-source automatic fish feeder that lets you feed them on a schedule, over Bluetooth, or manually. This simple yet elegant design uses a small stepper motor to drive a 3D-printed auger to deliver the goods. Just open the lid, fill ‘er up with flakes, and program up to four feedings per day through the 3-button and LCD interface. You can even set the dosage, which is measured in complete revolutions of the auger.

It’s built around an ATMega328P, but you’ll have to spin your own board and put the feeder together using his excellent instructions. Hungry to see this feeder in action? Just swim past the break.

Can’t be bothered to feed your fish automatically? Train them to feed themselves.

Continue reading “Don’t Flake On Your Fish—Feed Them Automatically”

It’s A Nixie! It’s A VFD! No, It’s A Custom LED Display In A Tube

Like the look of Nixies but they just seem a little overdone? Or perhaps you just don’t want the hassles of a high-voltage power supply? Then maybe these faux-Nixie LED “tube” displays will find a way into your next clock build.

For his 2018 Hackaday Prize entry, [bobricius] decided that what the world needs is a Nixie that’s not a Nixie. To that end, each display is formed by seven surface-mount LEDs soldered to a seven-segment shaped PCB and slipped into a glass tube. The LEDs are in 4014 packages so they’re only 4 millimeters long, but what they lack in size they make up for in brightness. We’re not sure if it’s a trick of the camera, but the LEDs certainly seem to put off a bluish glow that’s reminiscent of vacuum-fluorescent displays — it’s like a Nixie and a VFD all rolled up in one package.  The current case, which hides the clock circuitry on the lower part of the PCB, is just plastic, but this would look spiffy in a fine wooden case.

Could this be another Nixie tube killer that never was? Perhaps, but wherever it ends up, we like the look of it, and we’re glad it’s one of the early Hackaday Prize entries. Have you got something to enter in the greatest hardware competition on Earth? If not, get cracking!

Arduino Clock Jots Down The Time, In UV

We’re big fans of the impractical around here at Hackaday. Sure there’s a certain appeal to coming up with the most efficient method to accomplish your goal, the method that does exactly what it needs to do without any superfluous elements. But it’s just not as much fun. If at least one person doesn’t ask “But why?”, then you probably left something on the table, design wise.

So when we saw this delightfully complex clock designed by [Tucker Shannon], we instantly fell in love. Powered by an Arduino, the clock uses an articulated arm with a UV LED to write out the current time on a piece of glow-in-the-dark material. The time doesn’t stay up for long depending on the lighting in the room, but at least it only takes a second or two to write out once you press the button.

Things are pretty straightforward inside the 3D printed case. There’s an Arduino coupled with an RTC module to keep the time, which is connected to the two standard hobby servos mounted in the front panel. A UV LED and simple push button round out the rest of the Bill of Materials. The source code is provided, so you won’t have to figure out the kinematics involved in getting the two servos to play nicely together if you want to try this one at home.

We’ve seen many clocks powered by Arduinos over the years, occasionally they even have hands. But few can boast their own robotic arm.

Continue reading “Arduino Clock Jots Down The Time, In UV”