Posts with «rtc» label

Low-Power Challenge: Making an Analog Clock Into a Calendar With a 50-Year Life

You have to be pretty ambitious to modify a clock to run for 50 years on a single battery. You also should probably be pretty young if you think you’re going to verify your power estimates, at least in person. According to [Josh EJ], this modified quartz analog clock, which ticks off the date rather than the time, is one of those “The March of Time” projects that’s intended to terrify incentivize you by showing how much of the year is left.

Making a regular clock movement slow down so that what normally takes an hour takes a month without making any mechanical changes requires some clever hacks. [Josh] decided to use an Arduino to send digital pulses to the quartz movement to advance the minute hand, rather than let it run free. Two pulses a day would be perfect for making a 30-day month fit into a 60-minute hour, but that only works for four months out of the year. [Josh]’s solution was to mark the first 28 even-numbered minutes, cram 29, 30, and 31 into the last four minutes of the hour, and sort the details out in code.

As for the low-power mods, there’s some cool wizardry involved with that, like flashing the Arduino Pro Mini with a new bootloader that reduces the clock speed to 1 MHz. This allows the microcontroller and RTC module to run from the clock movement’s 1.5 V AA battery. [Josh] estimates a current draw of about 6 μA per day, which works out to about 50 years from a single cell. That’s to be taken with a huge grain of salt, of course, but we expect the battery will last a long, long time.

[Josh] built this clock as part of the Low-Power Challenge contest, which wrapped up this week. We’re looking forward to the results of the contest — good luck to all the entrants!

World’s Cutest Pomodoro Timer Is Also a Clock

Student and hacker [prusteen] recently fell in love with the Pomodoro method of time management. That’s where you concentrate on your task for 25 minutes, then take a five-minute break, and repeat this four times with a longer break at the end. Initially, [prusteen] was keeping track on their phone, but hated having to change the timer value between Pomodoros and break times. In order to keep the flow mode engaged, [prusteen] came up with this darling little study buddy that does it all with the push of a button.

By default, this tomato shows the current time, which we think is a handy and often-overlooked feature of Pomodoro timer builds. Press that momentary switch on the front, and it starts counting upward to 25 minutes. Then it beeps in stereo through a pair of buzzers when the time is up, and automatically starts a five-minute break timer. Press it again and the display goes back to clock mode, although judging by the code, doing this will cancel the timer.

Inside the juicy enclosure is an Arduino Nano, an RTC, and a 7-segment display. We love the attention to detail here, from the little green leaves on top to the anatomically-correct dimple on the underside. And we always like to see lids that snap on with magnets. So satisfying. Check out the brief demo after the break, which unfortunately does not include any lid-snapping action.

Do you need more interaction with your Pomodoro timer? Build yourself a pomo-dachi instead.

A Linear Stencil Clock Built for Quiet Operation

We around the Hackaday shop never get tired of seeing new ways to mark the passage of time. Hackers come up with all manner of interesting timekeeping modalities using every imaginable material and method of moving the mechanism once per whatever minimum time unit the hacker chooses to mark.

But honestly, there are only so many ways to make a clock, and while we’re bound to see some repeats, it’s still nice to go over old ground with a fresh approach. Take this linear sliding stencil clock for instance. [Luuk Esselbrugge] has included some cool design elements that bear a closer look. The video below shows that the display is made up of four separate stepper motors, each driving a vertical stencil via a rack-and-pinion mechanism. There a simple microswitch for homing the display, and a Neopixel for lighting things up.

The video below shows that the stencils move very, very slowly; [Luuk] says that this is to keep the steppers as quiet as possible. Still, this means that some time changes take more than a minute to accomplish, which is a minor problem. The Neopixel also doesn’t quite light up just one digit, which should be a pretty easy fix for version 2. Still, even with these issues, we like the stately movements of this clock, and appreciate [Luuk]’s attempts to make it easier to live with.

Don’t let the number of clocks you see on these pages dissuade you from trying something new, or from putting your twist on an old design. Start with fridge magnets, an old oscilloscope, or even a bevy of steel balls, and let your imagination run wild. Just make sure to tell us all about it when you’re done.

[via r/Arduino]

Building This Mechanical Digital Clock Took Balls

In the neverending quest for unique ways to display the time, hackers will try just about anything. We’ve seen it all, or at least we thought we had, and then up popped this purely mechanical digital clock that uses nothing but steel balls to display the time. And we absolutely love it!

Click to embiggen (you’ll be glad you did)

One glimpse at the still images or the brief video below shows you exactly how [Eric Nguyen] managed to pull this off. Each segment of the display is made up of four 0.25″ (6.35 mm) steel balls, picked up and held in place by magnets behind the plain wood face of the clock. But the electromechanical complexity needed to accomplish that is the impressive part of the build. Each segment requires two servos, for a whopping 28 units plus one for the colon. Add to that the two heavy-duty servos needed to tilt the head and the four needed to lift the tray holding the steel balls, and the level of complexity is way up there. And yet, [Eric] still managed to make the interior, which is packed with a laser-cut acrylic skeleton, neat and presentable, as well he might since watching the insides work is pretty satisfying.

We love the level of craftsmanship and creativity on this build, congratulations to [Eric] on making his first Arduino build so hard to top. We’ve seen other mechanical digital displays before, but this one is really a work of art.

Thanks to [Ruhan van der Berg] for the tip.

Concentric Rings Keep this Calendar Perpetually Up to Date

The variety of ways that people find to show the passage of time never ceases to amaze us. Just when you think you’ve seen them all, someone comes up with something new and unusual, like the concentric rings of this automated perpetual calendar.

What we really like about the design that [tomatoskins] came up with is both its simplicity and its mystery. By hiding the mechanism, which is just a 3D-printed internal ring gear attached to the back of each ring, it invites people in to check it out closely and discover more. Doing so reveals that each ring is hanging from a pinion gear on a small stepper motor, which rotates it to the right point once a day or once a month. Most of the clock is made from wood, with the rings themselves made using the same technique that woodturners use to create blanks for turning bowls — or a Death Star. We love the look the method yields, although it could be even cooler with contrasting colors and grains for each segment. And there’s nothing stopping someone from reproducing this with laser-cut parts, or adding rings to display the time too.

Another nice tip in this write up is the trick [tomatoskins] used to label the rings, by transferring laser-printed characters from paper to wood using nothing but water-based polyurethane wood finish. That’s one to file away for another day.

Cakeday Countdown Clock is a Sweet Little Scroller

If you want strangers to give you well wishes on your birthday out in the real world, you have call attention to the occasion by wearing a pointy hat or a button that says ‘today is my birthday, gimme presents’. But on your reddit cakeday, aka the day you joined, you’re automatically singled out with the addition of a slice of 8-bit cake next to your username. The great thing about your cakeday is that you’re almost guaranteed to get some karma for once, especially if you make something cakeday related like [ScottyD]’s cakeday countdown clock. But plenty of people forget what their cakeday is and miss out on the fun.

This countdown clock works like you might expect — every day that isn’t your cakeday, a message scrolls by with the number of days remaining until your next one. When the big day comes, the message becomes TODAY IS YOUR CAKE DAY. Both messages are bookended by cute little pixelated cake slices that we would apply liberally to the day-of message if we made one of these.

This simple but fun project shouldn’t put too big of a dent in your parts box, since it’s essentially an Arduino, a real-time clock module, and a 32×8 LED matrix to display the text. We love the uni-body design of the enclosure because it creates a shelf for the Arduino and gives easy access for gluing in the display from the rear. If for some reason you don’t reddit, then make one anyway and use it to count down to your IRL birthday or something. We’ve got the build video cut and plated for you to consume after the break.

We would understand if 2020 is supplying you with enough existential crises, but if not, consider building a clock that counts down the rest of your life expectancy.

Via r/duino

Measuring the Time is a Breeze With This Air Flow Clock

If you’ve ever had surgery, and you’re over a certain age, chances are good you’re familiar with the dreaded incentive spirometer. It’s a little plastic device with one or more columns, each of which has a plastic ball in it. The idea is to blow into the thing to float the balls, to endure that your lungs stay in good shape and reduce the chance of pneumonia. This unique air-powered clock reminds us a little of that device, without all the pain.

Like a spirometer, [Nir Tasher]’s clock has three calibrated tubes, each big enough to hold a foam ball loosely. At the bottom of each tube is a blower whose motor is under PWM control. A laser rangefinder sits below each ball and measures its height; the measurement is used by a PID loop to control the speed of each fan and thus the height of each ball. The video below shows that the balls are actually pretty steady, making the clock easy to read. It doesn’t, however, reveal what the clock sounds like; we’re going to go out on a limb here and guess that it’s pretty noisy. Still, we think it’s a fantastic way to keep time, and unique in the extreme.

[Nir]’s Air Flow clock is an early entry in the 2020 Hackaday Prize, the greatest hardware design contest on Earth. Everyone should enter something, or at least check out the cool things people are coming up with. It’s still early in the process, but there are so many neat projects already. What are you waiting for?

The HackadayPrize2020 is Sponsored by:

Passing The Time By Reading The Time

Binary clocks are a great way to confuse your non-technical peers when they ask the time from you — not that knowing about the binary system would magically give you quick reading skills of one yourself. In that case, they’re quite a nice little puzzle, and even a good alternative to the quarantine clocks we’ve come across a lot recently, since you can simply choose not to bother trying to figure out the exact time. But with enough training, you’ll eventually get the hang of it, and you might be in need for a new temporal challenge. Well, time to level up then, and the Cryptic Wall Clock built by [tomatoskins] will definitely keep you busy with that.

Diagram of the clock showing 08:44:47

If you happen to be familiar with the Mengenlehreuhr in Berlin, this one here uses the same concept, but is built in a circular shape, giving it more of a natural clock look. And if you’re not familiar with the Mengenlehreuhr (a word so nice, we had to write it twice), the way [tomatoskins]’ clock works is to construct the time in 24-hour format by lighting up several sections in the five LED rings surrounding a center dot.

Starting from the innermost ring, each section of the rings represent intervals of 5h, 1h, 5m, 1m, and 2s, with 4, 4, 11, 4, and 29 sections per ring respectively. The center dot simply adds an additional second. The idea is to multiply each lit up section by the interval it represents, and add the time together that way. So if each ring has exactly one section lit up, the time is 06:06:02 without the dot, and 06:06:03 with the dot — but you will find some more elaborate examples in his detailed write-up.

This straightforward and yet delightfully unintuitive concept will definitely keep you scratching your head a bit, though you can always go weirder with the Roman numerals palm tree clock for example. But don’t worry, [tomatoskins] has also a more classic, nonetheless fascinating approach in his repertoire.

Hack a Day 15 May 00:00

Servo-Powered 7-Segments Choreograph This Chronograph

Good clocks are generally those that keep time well. But we think the mark of a great clock is one that can lure the observer into watching time pass. It doesn’t really matter how technical a timepiece is — watching sand shimmy through an hourglass has its merits, too. But just when we were sure that there was nothing new to be done in the realm of 7-segment clocks, [thediylife] said ‘hold my beer’ and produced this beauty.

A total of 28 servos are used to independently control four displays’ worth of 3D-printed segments. The servos pivot each segment back and forth 90° between two points: upward and flat-faced to display the time when called upon, and then down on its side to rest while its not needed.

Circuit-wise, the clock’s not all that complicated, though it certainly looks like a time-consuming build. The servos are controlled by an Arduino through a pair of 16-channel servo drivers, divided up by HH and MM segments. The Arduino fetches the time from a DS1302 RTC module and splits the result up into four-digit time. Code-wise, each digit gets its own array, which stores the active and inactive positions for each servo. Demo and full explanation of the build and code are waiting after the break.

When it comes to 7-segment displays, we say the more the merrier. Here’s a clock that uses pretty much all of them.

This Creepy Skull Shows Time With Its Eyes

Sometimes you have an idea, and despite it not being the “right” time of year you put a creepy skull whose eyes tell the time and whose jaw clacks on the hour into a nice wooden box for your wife as a Christmas present. At least, if you’re reddit user [flyingalbatross1], you do!

The eyes are rotated using 360 degree servos, which makes rotating the eyes based on the time pretty easy. The servos are connected to rods that are epoxied to the spheres used as eyes. Some water slide iris decals are put on the eyes offset from center in order to point in the direction of the minutes/hours. An arduino with a real time clock module keeps track of the time and powers the servos.

Check out the video after the break:

The jaw opens and closes on the hours – springs are screwed to the inside of the jaw to the outside of the skull behind the bones that surround the eyes; they’re hidden when the skull is in its box. A third servo is used as a winch to pull the jaw open from the inside of the bottom of the chin. When it releases, the springs close the mouth and the clack of the teeth replaces an hourly chime.

A bit late (or early) for Halloween, but it’s a really fun project. [Flyingalbatross1] has made the arduino code available, as well as showing plenty of images of how the parts are put together. Take a look at this this atomic clock-in-a-skull, or you make your own talking skull for Halloween!

via Reddit

Hack a Day 02 Feb 06:00