Posts with «7 segment» label

The Seven-Segment Display That’s Also an Input Device

We’re used to seeing all manner of seven-segment displays, be they mechanical, electronic, or something in between. But what all these displays have in common is that they’re, you know, displays. Using them as inputs would just be crazy talk, right?

Perhaps, but we like where [Dave Ehnebuske] is going with “InSlide,” the seven-segment input device. The idea for this comes from the “DigiTag” display, which we covered back in October, and divides a standard seven-segment character into three vertical strips — two skinny ones for the outside vertical segments, and one wide strip holding the horizontal elements. By sliding these strips up and down relative to each other, the standard nine digits, plus a few other characters, can be composed.

[Dave]’s take on this theme started by building his display from laser-cut plywood pieces, which is a nice choice because of the good contrast between the white wood and the engraver segments. Next, he embedded rare earth magnets in the slides and installed seven Hall effect sensors in the frame. The sensors are connected to an Arduino Nano via a 74HC165 parallel-load shift register, which lets multiple modules be daisy-chained together. He also built an Arduino library to read the current state of the segments; it supports the full hexadecimal character set, or even duodecimal if you like.

[Dave] has shared the library, and it looks like you can get the build files for the mechanism from the original project. That’s good, because this looks ripe for hacking. It looks like it would be pretty easy to motorize a display like this by adding rack-and-pinion gearing and steppers — something like that could make an interesting clock.

Large Seven-Segment Clock Build Takes Time To Perfect

[Kevin Rye] built a discrete TTL based seven-segment clock, and he wasn’t too happy with the ugly insides compared to the nice enclosure he built for it. He embarked on creating another large seven-segment clock to put inside that enclosure.

Clocks, and specifically seven-segment based ones, aren’t anything new to write about. This particular project, which is still work in progress, is interesting. [Kevin] is an experienced hacker, but the problems he encountered and resolved along the way could prove useful to a fellow hacker someday.

To start with, he tried rectifying his old build. But in his own words “You can polish a turd, but it’s still a turd.” Five years later, he’d had enough. He’s built a lot of other clocks, but rather than repurposing them, he decided to start from scratch. He quickly breadboarded an Arduino, some displays and drove them using the Multiplex7seg library. That library supports only four characters, so he was back to the drawing board. With a fresh start, his design is now moving along nicely. For now, he’s designed three boards for the display, two boards for the colons between digits, the main Arduino-clone controller board and a 3D printed front frame to hold the displays. It will be nice to finally see that enclosure receive some fitting occupants and bring this build to closure.


Filed under: clock hacks

Master Clock Keeps Time for All Other Clocks

[Brett] just finished construction and long-term testing of this extremely accurate timepiece. It keeps such great time by periodically syncing with the atomic clock in Mainflingen, Germany.

The core of the project is an ATMega328 which uses the new DCF77 library for decoding the signal broadcast by an atomic clock. The libraries written by Udo Klein significantly increase the noise tolerance of the device reading the signal, but they will not work with any project that use a resonator rather than a crystal.

In the event of a complete signal loss from the atomic clock, the micro driving the clock also has a backup crystal that can keep the clock running to an accuracy of within 1 second per day. The clock can drive slave clocks as well, using pulses with various timings depending on what [Brett] needs them to do. The display is no slouch either: six seven-segment displays show the time and an LCD panel reads out data about the clock. It even has chimes for the hour and quarter hour, and is full of many other features to boot!

One of the most annoying things about timekeeping is daylight savings time corrections, and this clock handles that with a manual switch. This can truly take care of all of your timekeeping needs!


Filed under: clock hacks