Mechanical 7-segment display

A One-Servo Mechanical Seven-Segment Display

The seven-segment display may be a bit prosaic after all these years, but that doesn’t mean there aren’t ways to spice it up. Coming up with a mechanical version of the typical photon-based display is a popular project, of which we’ve seen plenty of examples over the years. But this seven-segment display is quite a mechanical treat, and a unique way to flip through the digits.

With most mechanical displays, we’re used to seeing the state of each segment changed with some kind of actuator, like a solenoid or servo. [Shinsaku Hiura] decided on a sleeker design using a 3D-printed barrel carrying one cam for each segment. Each hinged segment is attached to an arm that acts as a follower, riding on its cam and flipping on or off in a set pattern. Which digit is displayed depends on the position of the barrel, which is controlled with a single servo and a pair of gears. It trades mechanical complexity for electrical simplicity and overall elegance, and as you can see from the video below, it’s pretty snappy.

We think the best part of this build is figuring out the shape of the cams. We wonder how they compare to the cam profiles in [Greg Zumwalt]’s mechanical display; it uses two separate discs with grooves, but the principle is pretty much the same.

Continue reading “A One-Servo Mechanical Seven-Segment Display”

mechanical seven segment display

Mesmerizing Mechanical Seven-Segment Display

Seven-segment displays are ubiquitous. From where I’m writing this, I can see several without even having to swivel my chair. We’re all familiar with their classic visage; slightly italicized numbers that are brought to life by LEDs. There are a boatload of variants available– you can get displays with a decimal point, ones with multiple numbers, and even versions in just about any color you desire, but at the core they’re all basically the same thing- an array of LEDs sitting behind a faceplate. Except for those ones that have some gears inside.

Wait, what?

You read that right– a seven-segment display that contains gears, along with a handful of cams for good measure. Artist [Kango Suzuki] created this stunning all-mechanical seven-segment display that sequentially counts up from zero to nine when a thumbwheel is spun. All of the components are cut from wood and mesh together beautifully, complete with a satisfying click when the display rolls into a new digit, which you can hear in the video at the above link. You may recognize [Kango]’s style from this incredible mechanical clock he made a few years back. Unlike his earlier work, the seven-segment display is tiny, relatively speaking. Maybe we’ll see it integrated into a larger project some day, like a mechanical-digital clock.

We just love when somebody uses intricate mechanisms to artfully emulate some piece of existing tech. This isn’t even the first time we’ve seen a mechanical seven-segment display; [Peter Lehnér] built one back in 2019, and judging by [Kango]’s twitter feed, it appears to have inspired his design. There have even been a few other 3D printed ones over the years, but as far as we know this is the first wooden one– and, in true [Kango] fashion, its beautiful.

Thanks to [J. Peterson] for the tip!

Continue reading “Mesmerizing Mechanical Seven-Segment Display”

Mechanical Seven-Segment Display, Smaller And Better Than The Original

One thing we love here at Hackaday is when we get to track the evolution of a project over time. Seeing a project grow over time is pretty typical — scope creep is real, after all. But watching a project shrink can be a real treat too, as early versions get refined into sleeker and more elegant solutions.

This slimmed-down mechanical seven-segment display is a perfect example of that downsizing trend. When we saw [IndoorGeek]’s first vision of an electromechanical display, it was pretty chunky. Then as now, each segment is a 3D-printed piece with a magnet attached to the rear. The segments hover over solenoid coils, which when energized repel the magnet and protrude the segment, forming the desired digit. The old version used large, hand-wound coils, though, making the display pretty bulky front to back.

Version 2 of the display takes a page from [Carl Bugeja]’s playbook and replaces the wound coils with PCB coils. We’ve seen [Carl]’s coils on both rigid substrates and flex PCBs; [IndoorGeek] used plain old FR4 here. The coils occupy four layers so they have enough oomph to extend and retract each segment, and the PCB includes space for H-bridge drivers for each segment. The PCB forms the rear cover for the display, which is also considerably slimmed down for this version. What’s the same, though, is how good this display looks, especially with strong side-lighting — the shadows cast by the extended segments are striking against the plain white face of the display.

Congratulations to [IndoorGeek] on a great-looking build and a useful improvement over the original.

Continue reading “Mechanical Seven-Segment Display, Smaller And Better Than The Original”

DIY 8-Bit Computer Knows All The Tricks

Some projects are a rite of passage within their respected fields. For computer science, building one’s own computer from scratch is certainly among those projects. Of course, we’re not talking about buying components online and snapping together a modern x86 machine. We mean building something closer to a fully-programmable 8-bit computer from the ground up, like this one from [Federico] based on 74LS logic chips.

The computer was designed and built from scratch which is impressive enough, but [Federico] completed this project in about a month as well. It can be programmed manually through DIP switches or via a USB connection to another computer, and also includes an adjustable clock which can perform steps anywhere from 1 Hz to 32 kHz. Complete with a 1024 byte memory, a capable ALU, four seven-segment LEDs and (in the second version of the computer) a 2×16 LCD disply, this 8-bit computer has it all.

Not only is this a capable machine designed by someone who clearly knows his way around a logic chip, but [Federico] has also made the code and schematics available on his GitHub page. It’s worth a read even without building your own, but if you want to go that route without printing an enormous PCB you can always follow the breadboard route.

Thanks to [killergeek] for the tip!

Continue reading “DIY 8-Bit Computer Knows All The Tricks”

A Unique Display Makes An Unusual Clock

Do you know the clock speed of the computer you’re reading this article on? Maybe Hackaday readers are more likely to reply “Yes!” to that question than the general public, but if there’s a takeaway it’s that for most computer users their clock speed is now an irrelevance. It’s quick enough for the job in hand and that’s all that matters. This was not always the case though, and a few decades ago the clock speed of a PC was its major selling point. Beige boxes would have seven-segment displays lit up with the figure, and it was an unusual example of one that [Ken Yap] used to produce a clock that he believes is one-of-a-kind; unless by some slim chance somebody else has rescued the same part.

The displays were hard wired without any signals from the processor, and what makes this one unusual is that as well as having a couple of digits in yellow it also sports a segmented “MHz” in red. This would have been quite a big deal on your 486 back in about 1994. To make a clock from this unpromising start required a little creative thinking, and he manages it by using the “M” and the “H” digits to represent minutes and hours, and displaying each figure in turn. The display is wired on a piece of protoboard with an STM8 dev board, and yes, as you can see in the very short video below the break, it does tell the time.

Custom displays are more usually seen in the world of LCDs than LEDs, so this one remains a rarity on these pages. Happily there are projects out there in which people spin their own takes on the idea.

Continue reading “A Unique Display Makes An Unusual Clock”

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.

Continue reading “Building This Mechanical Digital Clock Took Balls”

Displaying Incoming Server Attacks By Giving Server Logs A Scoreboard

In the server world, it’s a foregone conclusion that ports shouldn’t be exposed to the greater Internet if they don’t need to be. There are malicious bots everywhere that will try and randomly access anything connected to a network, and it’s best just to shut them off completely. If you have to have a port open, like 22 for SSH, it’ll need to be secured properly and monitored so that the administrator can keep track of it. Usually this is done in a system log and put to the side, but [Nick] wanted a more up-front reminder of just how many attempts were being made to log into his systems.

This build actively monitors attempts to log into his server on port 22 and notifies him via a numerical display and series of LEDs. It’s based on a Raspberry Pi Zero W housed in a 3D-printed case, and works by interfacing with a program called fail2ban running on the server. fail2ban‘s primary job is to block IP addresses that fail a certain number of login attempts on a server, but being FOSS it can be modified for situations like this. With some Python code running on the Pi, it is able to gather data fed to it from fail2ban and display it.

[Nick] was able to see immediate results too. Within 24 hours he saw 1633 login attempts on a server with normal login enabled, which was promptly shown on the display. A video of the counter in action is linked below. You don’t always need a secondary display if you need real-time information on your server, though. This Pi server has its own display built right in to its case.

Continue reading “Displaying Incoming Server Attacks By Giving Server Logs A Scoreboard”