Posts with «clock hacks» label

3D Printed Moon Phase Clock

Someone once observed that the moon is a harsh mistress. But that doesn’t mean you can’t keep track of her, specially with this awesome moon phase clock that [G4lile0] designed and built.

It uses a 3D printed moon model combined with a series of LEDs to create the phases. These LEDs are driven by an Arduino that calculates the phase to show, as well as driving a small OLED display that shows the date and time. There is even a party mode for all of those lunar raves that you host.

[G4lile0] has done an excellent job of documenting the code that drives the lamp, so it would be easy to add features, or adapt this design to show the phases of another moon or add other features. It’s an excellent overall design, and kudos to [G4lile0] for doing it all with open source tools like FreeCAD.


Filed under: Arduino Hacks, clock hacks
Hack a Day 19 Nov 09:01

Minimal Arduino Clock

Making a clock with a common microcontroller like an Arduino isn’t very difficult. However, if you’ve tried it, you probably discovered that keeping track of wall time is difficult without some external hardware. [Barzok] has a very minimal clock build. It takes a handful of LED arrays with an integrated driver, an Arduino Nano, a real-time clock module, and a voltage regulator.

The software uses a custom 6×9 font and handles addressing the LEDs as one single display. Because the real time clock module is so accurate, there’s no provision for setting the time. [Barzok] says that twice a year he just hooks the Arduino up and reflashes the program with a new start time and that seems to be sufficient.

It wouldn’t be too hard, though, to add a few buttons to allow for setting the time or accepting other user input. Then again, this is a minimal build. It would be a good starter project for someone looking to get into building microcontroller projects.

If you want really minimal, you could go with a 4 LED clock (but you better know the resistor color code). Of course, an ESP8266 can serve as a simple clock and it gets set via NTP which is even better.


Filed under: Arduino Hacks, clock hacks
Hack a Day 03 Nov 03:00

It’s a Clock! It’s a Puzzle! It’s The GoonieBox!

[Dr.Duino] recently completed the latest piece of what he calls “Interactive Furniture” – the GoonieBox. It took over 800 hours of design and assembly work and the result is fascinating. Part clock and part puzzle box, it’s loaded with symbols, moving parts, lights, riddles, sounds, switches, and locked compartments. It practically begs visitors to take a closer look.

The concept of Interactive Furniture led [Dr.Duino] to want to create a unique piece of decor that visitors could interact with. That alone wasn’t enough — he wanted something that wouldn’t require any explanation of how it worked; something that intrinsically invited attention, inspection, and exploration. This quest led to creating The GoonieBox, named for its twin inspirations of the 1985 film The Goonies as well as puzzles from the game “The Room“.

Embedded below are two short videos: the first demonstrates the functions of the box, and the second covers the build process. There’s laser-cut wood, plenty of 3D printed parts, and a whole lot of careful planning and testing.

Puzzle boxes let people show off their creativity over a wide range of different executions, like these simpler laser-cut puzzle boxes and on the other end of the spectrum is this timed, multi-stage puzzle rigged to blow. Not only is this build one of the more complex ones we’ve seen, but I don’t think we’ve ever seen a puzzle box so carefully designed to also serve as a functional piece of decor. Great work!


Filed under: clock hacks, misc hacks

Simple Clock from Tiny Chip

If you haven’t jumped on the ESP8266 bandwagon yet, it might be a good time to get started. If you can program an Arduino you have pretty much all of the skills you’ll need to get an ESP8266 up and running. And, if you need a good idea for a project to build with one of these WiFi miracle chips, look no further than [Ben Buxton]’s dated, but awesome, NTP clock.

While the ESP8266 started out as an inexpensive, reliable way to get WiFi capability on essentially anything (and paving the way for a plethora of Internet of Things projects), it was quickly hacked to become a fully programmable development board that can stand on its own. To that end, [Ben] has recognized its capability to run a very minimalistic NTP clock. The standard C++/Arduino environment is available, so he didn’t have to learn any new skills. The parts list is stripped down as well: besides the ESP8266, there’s little more than the four-part seven-segment display. There’s even an Arudino library for these chips that [Ben] made great use of. From there, it’s just a matter of wiring it all up and syncing it with an NTP server.

While it’s not the most involved hack ever, it’s good to be reminded that these chips are cheap and readily available for literally anything that you could imagine. If you haven’t started yet, there’s no reason not to. You can use them to control something like an irrigation system, or if you’re even more adventurous, they can run a 3D printer, too.

Thanks [Itay] for the tip!


Filed under: clock hacks
Hack a Day 11 Sep 15:00

VFD Clock Only Speaks Romanian

There’s no shortage of clock projects, but [niq_ro] has his own take using a vacuum fluorescent display (VFD), and Arduino, and a pair of MAX6921 ICs. Those chips are made to drive a VFD, and the use of two of the ICs required a bit of work. The Arduino is not a great time keeper, so the clock also uses a DS3231 clock module and a humidity and temperature sensor.

The clock is in Romanian, although there are some options for different text. You can find the code on GitHub and can see the result in the video below.

VFDs are often used in places where a display is meant to be read outdoors. It uses cathodoluminescence to actually generate light. The process is similar to a CRT, but at lower voltages. The tubes have a phosphor-coated anode and the cathode bombards it with electrons, making the phosphor glow. VFDs are available in different colors.

VFDs are popular for clocks, ranging from very polished looking ones, to something similar to this one, but with an MSP430. If you are interested in low-level interfacing for VFDs, we’ve talked about that too.


Filed under: Arduino Hacks, clock hacks

Puzzlingly Simple Tutorial On GPS Time Corrected Clock

We’re not sure if [Derek Lieber] is messing with us or proving a point. Why are you doing this [Derek]? We know there’s technically enough information to build the clock. You even included the code. Couldn’t you have at least thrown in a couple of words? Do we have to skip straight to mediaglyphics?

Anyway, if we follow the equation. The equation… If you take a gps module, a 7 segment display with an HT16K33 backpack, a digital potentiometer, a piezo, and a boarduino we suppose we could grudgingly admit that these would all fit together to make a clock. We still don’t like it though, but we’ll admit that the nice handmade case was a nice touch, and that the pictures do give us enough details to do it ourselves.

It was also pretty cool when you added the Zelda theme song as an alarm sound. Also pretty neat that, being GPS corrected, there’s no need to ever set the time. We may also like the simplicity of the only inputs being the potentiometer, which is used to set the alarm time. It’s just. Dangit [Derek]. Nice clock build, we like it.


Filed under: clock hacks

Simple Clock is Great Stepper Motor Project

You’d think that we’ve posted every possible clock here at Hackaday. It turns out that we haven’t. But we have seen enough that we’ve started to categorize clock builds in our minds. There are the accuracy clocks which strive to get every microsecond just right, the bizzaro clocks that aim for most unique mechanism, and then there are “hello world” clocks that make a great introduction to building stuff.

Today, we’re looking at a nice “hello world” clock. [electronics for everyone]’s build uses a stepper motor and a large labelled wheel that rotates relative to a fixed pointer. Roll the wheel, and the time changes. It looks tidy, it’s cyclical by design, and it’s a no-stress way to get your feet wet driving stepper motors. And it comes with a video, embedded below.

The clock is driven by the ubiquitous 28BYJ-48 stepper motors that can be found on eBay for a few bucks. They don’t have much torque, but all they have to do here is turn a cardboard disk. It’s the perfect match.

There is one caveat with these motors, though: they don’t have an integral number of steps per turn. If you have the “1:64” geared version, it’s actually geared 8910:567424. The upshot? Instead of 2,048 steps per turn, you need 2,037.8864. Get this wrong and you’re losing 14 minutes per day with a 12-hour wheel.

So between just driving the motors, and the low torque and the non-integral gearing, there’s more to learn here than you’d think. You can add a real-time-clock circuit if you want it precise. With all this room to expand, you can get it built and running in a weekend for a few bucks. And that makes it the perfect “hello world”.


Filed under: clock hacks

Walnut Guitar Back Yields Wood for Classy Word Clock

Word clocks are cool, but getting them to function correctly and look good is all about paying attention to the details. One look at this elegant walnut-veneered word clock shows what you can accomplish when you think a project through.

Most word clocks that use laser-cut characters like [grahamvinyl]’s effort suffer from the dreaded “stencil effect” – the font has bridges to support the islands in the middle of characters like “A” and “Q”. While that can be an aesthetic choice and work perfectly well, like in this word clock we featured a few months back, [grahamvinyl] was going for a different look. The clock’s book-matched walnut guitar back was covered in tape before being laser cut; the tape held the letters and islands in place. After painstakingly picking out the cutouts and tweaking the islands, he used clear epoxy resin to hold everything in place. The result is a fantastic Art Deco font and a clean, sleek-looking panel to sit on top of an MDF light box for the RGB LED strips.

The braided cloth cable adds a vintage look to the power cord, and [grahamvinyl] mentions some potential upgrades, like auto-dimming and color shifting. This is very much a work in progress, but even at this point we think it looks fabulous.

[via r/diy]


Filed under: clock hacks

A Slide Viewer Makes An Excellent Case For An OLED Project

Sometimes when browsing the websites of our global hackspace community you notice a project that’s attractive not necessarily because of what it does or its technology but because of its presentation. So it is with the subject of this article, [Kris] needed a house temperature monitor and found a 1960s slide viewer made an excellent choice for its housing.

The monitor itself is a fairly straightforward Arduino build using a couple of DS18B20 1-wire temperature sensors and a real-time-clock module and displaying their readings on a small OLED screen. Its code can be found on this mailing list thread if you are interested. The display presented a problem as it needed to be reasonably large, yet fairly dim so it could be read at night without being bright enough to interrupt sleep.

A variety of projection techniques were tried, involving lenses from a projection clock, a magnifying glass, and a Google Cardboard clone. Sadly none of these lenses had the required focal length. Eventually the slide viewer was chosen because it was pointed out that the OLED screen was about the same size as a photographic slide.

Slide viewers are part of the familiar ephemera of the analog era that most people over 60 may still have taking up drawer space somewhere but may well be completely alien to anyone under about 30. They were a magnification system packaged up into a console usually styled to look something like a small portable TV of the day, and different models had built-in battery lights, or collected ambient light with a mirror. The screen was usually a large rectangular lens about 100mm(4″) diagonal.

[Kris]’s Vistarama slide viewer came via eBay. It’s not the smallest of viewers, other models folded their light paths with mirrors, however the extra space meant that the Arduino fit easily. The OLED was placed where the slide would go, and its display appeared at just the right magnification and brightness. Job done, and looking rather stylish!

We’ve not featured a slide viewer before here at Hackaday, though we did recently feature a similar hack on an Ikea toy projector. We have however featured more than one digital conversion on a classic slide projector using LCD screens in place of the slide.

Via Robots and Dinosaurs makerspace, Sydney.


Filed under: Arduino Hacks, classic hacks, clock hacks

Hackaday Prize Entry: ForEx Display is A Well Executed Hack

[Stefan] works in a place where knowing the exact state of the foreign-exchange market is important to the money making schemes of the operation. Checking an app or a website was too slow and broke him out of his workflow. OS desktop widgets have more or less departed this earth for the moment. The only solution then, was to build a widget for his actual desk.

The brains of the device is a ESP8266 board, some peripherals and a small backlit TFT display. The device can run off battery or from a wall wart. [Stefan] even added some nice features not typically found in hacks like this, such as a photocell that detects the light level and dims the screen accordingly.

The software uses an interesting approach to get the latest times and timezones. Rather than use a chart or service made for the task, he uses an open weather API to do the task. Pretty clever.

The case is 3D printed and sanded. To get the nice finish shown in the picture [Stefan] spray-painted the case afterwards. All put together the device looks great and gives him the desktop widget he desired.

The HackadayPrize2016 is Sponsored by:

Filed under: clock hacks
Hack a Day 13 May 06:01