Depending on the device in hand and one’s temperament, bringing up a new part can be a frolic through the verdant fields of discovery or an endless slog through the grey marshes of defeat. One of the reasons we find ourselves sticking with tried and true parts we know well is that interminable process of configuration. Once a new display controller is mostly working, writing convenience functions to make it easier to use can be very satisfying, but the very first thing is figuring out how to make it do anything at all. Friend of Hackaday [Dan Hienzsch] put together a post describing how to use a particular LED controller which serves as a nice walkthrough of figuring out the right bitmath to make things work, and includes a neat trick or two.
The bulk of the post is dedicated to describing the way [Dan] went about putting together his libraries for a 7-segment display demo board he makes. At its heart the board uses the IS31FL3728 matrix driver from ISSI. We love these ISSI LED controllers because they give you many channels of control for relatively low cost, but even with their relative simplicity you still need to do some bit twiddling to light the diodes you need. [Dan]’s post talks about some strategies for making this easier like preconfigured lookup tables with convenient offsets and masking bits to control RGB LEDs.
There’s one more trick which we think is the hidden star of the show; a spreadsheet which calculates register values based on “GUI” input! Computing the bit math required to control a display can be an exercise in frustration, especially if the logical display doesn’t fit conveniently in the physical register map of the controller. A spreadsheet like this may not be particularly sexy but it gets the job done; exactly the kind of hack we’re huge fans of here. We’ve mirrored the spreadsheet so you can peek at the formulas inside, and the original Excel document is available on his blog.
The clock project will always be a hacker staple, giving the builder a great way to build something useful and express their individual flair. [Mosivers] was undertaking a build of their own and decided to go for a twist, creating a timepiece with a photochromic display.
The clock uses an Arduino Nano to run the show, hooked up to a 4-digit, 7-segment display that is custom built on protoboard. By using ultraviolet LEDs and placing them behind a reactive screen, it’s possible to create a unique display. The clock can be used with two different screens: a photochromic display created with UV-reactive PLA filament that turns purple when excited by UV light, and a glow-in-the-dark screen for night use.
It’s a fun twist on a simple clock design, and the purple-on-white digits are sure to raise some eyebrows among curious onlookers. Photochromic materials are fun to play with, and can make eggs and glass much more visually interesting. Video after the break.
Continue reading “Photochromic Screen Makes For An Interesting Clock”
For those of us who remember LED calculators, the HP 5082-7400 series red “bubble” displays hold a special charm. Available in 3, 4, or 5-digit varieties, these multiplexed 7-segment displays provided countless hours of entertainment to those who would spell upside-down words on their pocket calculators. In case you happen to be lucky enough to have access to a few of these beautiful vintage display sticks, [Gigawipf] has designed a small driver PCB that lets you easily interface them to a modern microcontroller.
At the heart of the board, aimed at either the 5082-7405 or 5082-7415 5-digit modules, are a pair of 74HC595 shift registers in tiny QFN packages. Five lines from one register drive one of the common cathodes for the selected digit, while the other register drives the eight anode lines through 330-Ohm resistors. The boards are slightly smaller than the width of the displays allowing you to stack them seamlessly for more digits, and eight header pins on each allow you to plug them into solderless breadboards for prototyping. The result is easy to drive with some simple code, and [Gigawipf] provides an example for Arduino as part of the project. The Eagle design files are supplied, as well as Gerbers for those who just want to have some boards made. This sounds like a great way to get some of these vintage displays going again.
If you can’t find any of these displays to play, with, you can try making some larger digits from individual surface-mount LEDs.
We live in an era in which all manner of displays are cheap and readily available. A few dollars spent online can net you a two-line alphanumeric LCD, a graphical OLED screen, or all manner of other options. Years ago however, people made do with little monolithic LED devices. [sjm4306] wanted to recreate something similar, and got down to work (Youtube link, embedded below).
The resulting device uses 0603 sized SMD LEDs, soldered onto a tiny PCB. 20 LEDs are used per digit, which can display numbers 0-9 and letters A-F. The LEDs are laid out in a pattern similar to Hewlett-Packard designs from years past. This layout gives the numerals a more pleasant appearance compared to a more-classic 7-segment design. Several tricks are used to make the devices as compact as possible, such as putting vias in the LED pads. This is normally a poor design technique, but it helps save valuable space.
[sjm4306] has developed a breadboard model, and a more advanced version that has a pad on the rear to mount a PIC16F88 microcontroller directly. We look forward to seeing these modules developed further, and can imagine they’d prove useful in a variety of projects.
For reference, check out these Soviet-era 7-segment displays. Video after the break.
Continue reading “Make Your Own Old School LED Displays”
[Sean Hodgins] has a knack for coming up with simple solutions that can make a big difference, but this is one of those “Why didn’t I think of that?” things: addressable seven-segment LED displays.
[Sean]’s design is basically a merging of everyone’s favorite Neopixel RGB LED driver with the ubiquitous seven-segment display. The WS2811 addressable RGB driver chip doesn’t necessarily have to drive three different color LEDs – it can drive three segments of the same display. With three of the chips on a single board, all seven segments plus the decimal point of a display can be controlled over a single data line. No more shift registers, no more multiplexing. And as a nice touch, individual displays can be ganged together with connectors on the back of each module. [Sean] has some code to support the display but is looking for someone to build a standalone library for it, so you might want to pitch in. Yes, he plans to sell the boards in his shop, but as with all his projects, this one is open source and everything you need to build your own is up on GitHub. The brief video below shows a few daisy-chained displays in action.
Like many of [Sean]’s designs, including this Arduino rapid design board, this is a simple way to get a tedious job done, and it wrings a lot of functionality from a single IO pin.
Continue reading “Addressable 7-Segment Displays May Make Multiplexing A Thing Of The Past”
We’ve seen a variety of oddball 7-segment displays in the past, but this one uses a new material: both for the display and the mechanical mechanism that drives it; cardboard. Yup, the whole thing is made from cardboard, wood and a few rubber bands. [The Q] shows how he put together in this nice video, starting from first principles that show how the segments are made: simple pieces of cardboard painted on one side with fluorescent paint. A piece of wood pushes the element out to blank it, and each element is connected to a cam wheel that pushes the wood in or out.
The really clever bit is that [The Q] mapped digits 0 – 9 onto a matrix for which of the 7 segments is “on” or “off”. He then used this information to create a stack of 7 cams on a central axle. As you rotate the axle, the cams turn, moving the wooding arms. The arms then cause the elements to flip as they count up through the digits. In essence, he engineered a physical decimal to 7 segment decoder, much like the electronic one inside the SN74LS47. The whole assembly is capped by a knob that indicates which digit is currently displayed. If mechanical displays like this are your thing, check out this one made from LEGO parts, or this awesome 3D printed creation.
Continue reading “7 Segment Clockwork Display Made From Cardboard”
In our time here at Hackaday, we have seen many display builds, but this one from [Brian Lough] has to be a first. He’s created a 7-segment display made from shoelaces, and it works rather well.
Before you imagine the fabric cords you’re used to with your trainers, it’s worth explaining that these aren’t shoelaces in the traditional sense, but transparent light pipe taken from commercially available light-up shoelaces. He’s created a 3D-printed frame with receptacles for each end of the light pipe sections he’s used as segments, and spaces for addressable LEDs on the rear. He makes no bones about his soldering job being less than perfect, but the result when hooked up to an Arduino is very impressive. A large 7-segment LED display that’s visible in the glare of his bench lighting and not just in subdued illumination. Future plans include replacing the messy wiring with stripboard sections for a better result.
This isn’t the first 7-segment display using a light pipe that we’ve seen here at Hackaday, a previous effort used a more novel substance. But perhaps this Nixie-inspired take on the same idea also deserves a mention.
Continue reading “A Display Made From Shoelaces”