r/AskElectronics • u/gm310509 • Sep 26 '26
Is there a Hexadecimal to 7 segment decoder IC
Out of curiosity from a post I saw that used an Arduino to decode 4 bits of input data (from 4 switches) into a hexadecimal digit displayed on a 7 segment LED, I was wondering it there was a hexadecimal to 7 segment decoder IC?
I couldn't find such a beast
I found plenty of BCD to 7 segment decoders such as 74ls47, 74ls48, 4511 and some others, but these only do the digits 0 to 9. They don't decode A to F - at least not "properly".
So, I was wondering if there was a dedicated decoder IC that could take 4 bits of input data and decode the digits 0 through F inclusive for display on a seven segment display?
To be clear, I get that I could do this with something preprogrammed such as an EEPROM or my own digital logic. But I was wondering about a specific chip along the lines of the 74ls47 (etc) that was specifically dedicated to decoding a full 4 bits into a hexadecimal digit.
TIA
Update
It seems like a suitable chip isn't available any more - at least not for the specific use case I had in mind.
The reason I went in search of it was because someone was sharing their Arduino (i.e. AVR) project where they recreated an old binary to hexadecimal "decoder" box that they saw as a kid.
I was going to suggest trying to do it with just electronics and give them a clue being a currently available Hex -> 7 segment decoder.
Since they already used an Arduino to do this, options like SPI or using a Microcontroller weren't really meeting the requirements I had in mind.
I was really looking for a single IC that, without programming (which in my mind excludes the EEPROM option), could decode 4 bits of hexadecimal input into a 7 segment display - as per the 74ls47 (and friends) can do but just for BCD.
Anyway, thanks for all of the replies.
Update 2 - there is a part still available?
I just found that one chip that meets the need is still available: https://www.digipart.com/part/MC14495P1
I don't plan on buying it - especially at that price, and I've not heard of digipart before. But it is interesting that they claim to have 3 of them (when I looked). https://www.digipart.com/part/MC14495P1
22
u/CranberryInner9605 Sep 26 '26
MC14495P1
20
u/JonJackjon Sep 26 '26
Have you considered googling "Hexadecimal to 7 segment decoder IC"?
3
u/Enlightenment777 Sep 26 '26 edited Sep 26 '26
Currently no IC company manufactures such an IC, an obvious opportunity for an asia or india IC company.
All of the following were binary to hex 7seg decoders, but all are now obsolete:
Alternate solutions:
2
u/Southern-Stay704 Sep 26 '26
I did this research about 4 years ago, and came to the conclusion that the optimal option was a microcontroller.
https://www.reddit.com/r/electronics/s/Sa8MMrWMzM
In terms of cost and board size, it beats all other options.
4
u/NE558 hobbyist Sep 26 '26
MC14495 iirc but that is obsolete part.
I used myself ATF16V8 PLD's for this job like 15-20 years ago. It was displaying content of address and data bus in my homebrew Z80 computer.
1
u/duane11583 Sep 26 '26
its not hard to do this with gpios
and if you have several digits its just a tiner interrupt and some mulitplexing sw
6
u/anothercorgi Sep 26 '26
I remember using CMOS MC14495's to quickly display hex on 7-seg. Nowadays it's easier just to do it in software....
3
u/Linker3000 LED astray Sep 26 '26
Shameless plug for a GAL-based version:
https://github.com/linker3000/GALBinaryTo7Seg
1
u/tlbs101 Analog electronics Sep 26 '26
TTL type 7447 (74LS47), or the CMOS 4511. The 7448 is
BCD to 7-segment, if you don’t need A-F displayed. The ‘47 and ‘11 are both for common anode displays. The ‘48 drives common cathode displays
2
u/EmotionalEnd1575 Analog electronics Sep 27 '26
I was reminded of the TIL311.
Back in the day these were “magic”!
I still have a few on my bench.
1
u/crb3 Sep 26 '26
There's an ancient Fairchild TTL chip that does this: DM9368.
1
u/darni01 Sep 26 '26
Xinluda (Asian manufacturer, they sell through LCSC) sells a XD7221 in DIP24/SOP24 versions that are controlled via SPI and can drive 8 digit 7-segment displays arbitrarily (you'll have to do more software).
I-core has a similar family, aip16xx, some of them have a keyboard matrix controller
1
u/EmotionalEnd1575 Analog electronics Sep 27 '26
I’m not aware of any ICs for this function that are still available. There were some that are now obsolete.
It can be implemented easily in a single chip MCU. Four input lines A-D and seven output LED segment drivers.
1
u/nixiebunny Sep 26 '26
I think the reason these chips never existed was that by the time that they were needed for microprocessors, circuit designers realized that the 7 segment decoder could be written into the software, so there was no market for the hardware solution.
0
u/Creative_Shame3856 Sep 26 '26
I remember playing with the TIL311 display modules ages ago and reading somewhere that you could buy the chip that ran it by itself but heck if I can remember what the designation was. Maybe it lurks in TI's old datasheets?
Clickety click on t3h interwebz
MC14595 is what I was thinking of, and lo but they are long out of production too. Pretty sure Radio Shack used to have them.
Maybe a really cheap microcontroller with ≥11 gpios? It's a crap solution, but it's a solution. Probably want a strobe and a blank input too so ≥13 gpios I guess. You could always go the eprom route if you have them sitting around. Or a 74HC154 and a bunch of diodes and a handful of transistors to drive the segments. If it's stupid but it works........
0
u/AffekeNommu Sep 26 '26
Some shift registers, clock the values and latch them. Easy done with Arduino
0
u/tes_kitty Sep 26 '26
In addition to all the specialized ICs and an MCU with software that were mentioned so far, you can also use an old EPROM that you program the proper bit patterns into.
Total overkill of course, but if you have a 2716 or 2516 laying around and just need one...
0
u/[deleted] Sep 26 '26
[deleted] — view deleted comment