7 segment display Pin outs?

Are you building a cockpit, planning to build one or just dreaming, this is your cockpit builder meeting point

Moderators: russ, Ralph

Message
Author
Kaellis991
Posts: 581
Joined: Mon Sep 07, 2020 8:49 am

Re: 7 segment display Pin outs?

#11 Post by Kaellis991 »

So if what I have wont work, what do you suggest for the driver?

User avatar
Ralph
Posts: 7924
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: 7 segment display Pin outs?

#12 Post by Ralph »

You can directly drive them from an Arduino, you don't need any special chip.

Kaellis991
Posts: 581
Joined: Mon Sep 07, 2020 8:49 am

Re: 7 segment display Pin outs?

#13 Post by Kaellis991 »

Never heard of that...back to the research again.

Kaellis991
Posts: 581
Joined: Mon Sep 07, 2020 8:49 am

Re: 7 segment display Pin outs?

#14 Post by Kaellis991 »

This siminnovations wiki tutorial, is the only one I see for connecting 7 segment displays.
Why does it refer to the max7219?

I am getting thoroughly confused.....

image.png


Kaellis991
Posts: 581
Joined: Mon Sep 07, 2020 8:49 am

Re: 7 segment display Pin outs?

#16 Post by Kaellis991 »

The .3 inch displays I have are not 8 segments.

User avatar
Ralph
Posts: 7924
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: 7 segment display Pin outs?

#17 Post by Ralph »

They have a dot, so they are 8 segment. But 7 or 8, doesn't matter.

SimPassion
Posts: 5339
Joined: Thu Jul 27, 2017 12:22 am

Re: 7 segment display Pin outs?

#18 Post by SimPassion »

Kaellis991 wrote: Sun Dec 04, 2022 8:21 pm The .3 inch displays I have are not 8 segments.
We call them mostly 7 segment, but it's correct to say 8 segments while including the decimal point "." we can see as a segment purely electronic LEDs display speaking, so no issue with the provided advice from Ralph and indeed the following will work :

image.png

Notice the whole page provide samples for different parts which will be addressed using Air Manager "hw_chr_display_add" statement, this is why they all fit on the same page, as well as the MAX7219 sample
 

Kaellis991
Posts: 581
Joined: Mon Sep 07, 2020 8:49 am

Re: 7 segment display Pin outs?

#19 Post by Kaellis991 »

So the diagram that Ralph posted shows how to wire (2) 3-digit displays to an Arduino?

User avatar
jph
Posts: 2856
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: 7 segment display Pin outs?

#20 Post by jph »

Under no circumstances connect more than 1 x 7 segment display digit directly to an arduino without a high or low side driver transistor depending on CA or CC. That would be 1 transistor per digit, 1 base resistor and 1 current limit resistor per digit load transistor. So, no, you cannot use an arduino directly, you would have to use npn transistors. 1 per digit, or you could use a ULN Darlington array, but why bother when you have already bought a driver ic?.
You could, in theory, use 32 pins of a mega in a non mux arrangement for a 4 digit example but you would be limited to 6mA per led without overloading the mega. Direct drive, even muliplexed on a mega without transistors or buffers is a non starter. The device is simply not capable.
Joe. CISSP, MSc.

Post Reply