Seven segment display

Hardware Help

I have this old seven segment led display. I have no idea where it came from and I can't figure out how to run it from an arduino. The problem is the pins are used both as cathode and anode . For example if I want to turn on the A->F segment I do A - HIGH and F - LOW, but then any other pin that's connected is LOW by default and A -> B, A -> C, etc. turn on as well. I could turn them off by making them HIGH but then C -> F, B -> F, etc. would turn on. I need a way to disconnect the unused pins entirely so they don't have HIGH or LOW state. I tried with some transistors as switches but then the pins could be used only as cathode or anode and not both. I could use relays, but I don't have enough and it seems sub-optimal. I could use with some ideas on how to run this display.

​

https://preview.redd.it/5in47ut9lnu31.jpg?width=7008&format=pjpg&auto=webp&s=b5b1bea96aa2a2578d8a36980c53bb91aa5c3739

Posted Oct 25, 2019, 9:08 AM UTC

115

So you want to drive the LEDs through some 74125.

2
countDeckoOP•

Never heard of these but based on their on description it seems it might work.

1
entotheenth•

Connect it to 6 pins of a micro and drive them accordingly, one pin high, one low and the others disabled. An arduino is probably the easiest. Never seen a display like that before, odd.

1
countDeckoOP•

That's the thing tho, how do I "disable" a pin so it's neither high nor low?

1
entotheenth•

on a micro, set it to be an input

Edit: hmm, downvoted, lol

1
countDeckoOP•

Then it would still act as LOW and allow current flow.

0
entotheenth•

err, no, it wont. its an input, it is not supposed to draw current.

3
Krististrasza•

No, they are set to high impedance when cinfigured as inputs. That's what makes charlieplexing work.

https://www.arduino.cc/en/Tutorial/DigitalPins

3
NoBulletsLeft•

That is a multiplexed display. 8 of the pins are for the decimal point and each segment. The remaining 4 pins are the common for each digit. The way it works (assuming common anode) is you power the common anode for a particular digit, then ground the segments you want to light up, then do the same for the next digit but do it fast enough so through persistence of vision it looks like multiple digits are on at the same time.

There should be a part number on the top or bottom of the display. You can handle the multiplexing with an Arduino (not advised), or buy a 7-segment backpack to do it for you. Adafruit carries them.

0
countDeckoOP•

There are only 6 pins.

https://imgur.com/kiXVx9y

1
NoBulletsLeft•

Then it either has to be an intelligent display or some pins are missing. No part numbers anywhere?

2
countDeckoOP•

Definitely not an intelligent display, no pins missing and no number.

2
NoBulletsLeft•

Well, I'm out of ideas. No idea how to get 24 segments out of 6 pins without some form of decoding.

2