Connect Arduino UNO to 3 Digit, 7 Segment, 12 Pins Display

Hi,
i have an Arduino UNO and a 7 segment display with 12 pins (6 on each side). I want to connect that display to my arduino, but I don’t know, where the pins had to be connected and how I can display a number or a text.
I don’t know much about displays :confused:

Sorry for my bad english, I’m german :slight_smile:

iComputerfreak

You first need to find out if you have a common anode or a common cathode display. You can't tell just by looking at it.

Do you have a part number?
If not you will have to map what you have by using a resistor and power supply to see what pins are connected to what segments.

Yes there are two numbers on it…
I think its KPT-4301 and FHBD15.
Searching the first number I found that:
http://www.etradeasia.com/products_detail/61014/61014/0/Prodcut.html
but there is nothing written about common anode and common cathode.

I think it's common anode, because I found that:
https://www.ledpaketim.com/Urunler/KPT-5361BSRND-14MM-3Lu-Anot-Display-.html
google translator says that
anot means anode

Okay. I’m done!

For all who have the same problem:

I downloaded the SevenSegmentLibrary (http://playground.arduino.cc/Main/SevenSegmentLibrary#.UyR5dNwmVv0)
and uploaded it to my arduino.
Then, i connected the pins as written in the description.
It has displayed anything wrong, so I tested out, what pin I have to connect to which port.
So I have now this configuration: (Display pins counted from bottom to top counterclockwise, Thanks to floresta)
Digital Pin 2: Display pin 11 A
Digital Pin 3: Display pin 7 B
Digital Pin 4: Display pin 4 C
Digital Pin 5: Display pin 2 D
Digital Pin 6: Display pin 1 E
Digital Pin 7: Display pin 10 F
Digital Pin 8: Display pin 5 G
Digital Pin 9: Display pin 3 dp

Digital Pin 11: Display pin 12 Digit 1
Digital Pin 12: Display pin 9 Digit 2
Digital Pin 13: Display pin 8 Digit 3

In SevSeg_Counter.ino I have edited:

sevseg.Begin(1,10,11,12,13,2,3,4,5,6,7,8,9);

the first number is for anode (1) or cathode (0)
the following four numbers are for the 4 digits. I have only three, so I left digital pin 10 on my arduino unconnected.
and the last 8 numbers are for the digital pins for the Segments (a-g and dp)
When I run the program, it counts up to 100, but I only see the counting up to 10, because I have only three digits.

THANK GOD ! FINALLY , A NEWBIE WITH ENOUGH CONSIDERATION FOR OTHERS TO POST THE SOLUTION INSTEAD OF JUST TAKING THE INFO AND DISAPPEARING !
THANK YOU iComputerfreak for thinking of others instead of just yourself !
(GOOD JOB BY THE WAY !)

Thanks :slight_smile:
I have searched for hours, before and found no answer. Then I found the library and have tried all ways until, I found the solution ^^

That was your initiation.

Now it is time to refine your solution to use standard terminology.

These devices are designed to plug into IC sockets and possibly for that reason the pins are numbered in the same way that ICs are numbered, counterclockwise looking down from the top.

Therefore the first four lines of your solution look like this and the others follow suit.

Digital Pin 2: Display pin 2 (top) 11 A
Digital Pin 3: Display pin 6 (top) 7 B
Digital Pin 4: Display pin 4 (bottom) 4 C
Digital Pin 5: Display pin 2 (bottom) 2 D

I have searched for hours, before and found no answer.

It helps when you know what term to search for and a few Google tricks (if you are using Google).
The device is a 7-segment three digit LED.

So if you do a search for 7-segment three digit then limit your search to images and further limit it to black and white you will see lots of pinout diagrams pop right up!

Don

Okay. Thanks.
I've searched for 3 digit 7 segment display with 12 pins, but I found nothing about that. I've also searched on google pictures and the websites linked to the pictures.

DOES

7-segment three digit

=

3 digit 7 segment

in a search engine ?

raschemmel:
DOES

7-segment three digit

=

3 digit 7 segment

in a search engine ?

I tried it with Google and although the results were not exactly the same I still got pages and pages of results.

I also tried searching for 3 digit 7 segment display with 12 pins and again got pages and pages of results.

Don

iComputerfreak:
Okay. Thanks.
I’ve searched for 3 digit 7 segment display with 12 pins, but I found nothing about that. I’ve also searched on google pictures and the websites linked to the pictures.

Maybe it doesn’t work for ghosts in nowhere land**.

What search engine in what country were you using?

I have attached the first result that I got. It happens to be common-cathode but the pinout is the same for common-anode.

Don

** Try answering more of the questions in your profile!

SG1003_SPEC.jpg

Now I see the problem... his user name begins with a lowercase 'i'.

Don

iComputerfreak:
Searching the first number I found that:
http://www.etradeasia.com/products_detail/61014/61014/0/Prodcut.html
but there is nothing written about common anode and common cathode.

The proliferation of those totally useless sites on the 'net is truly maddening.

One wishes that Google if not excluding them completely from all searches, could at least provide a search parameter for excluding them! ("prodcut" for starters!)

Just like the option for porn filtering (which coincidentally, filters out most genuine medical information), a "safe search" option for engineers. :smiley:

this has 12 pins
Does KPT-4301 ring any bells ? (see attached pdf)
Google (GOOGLE)

BL-T36A-31-3-digit-LED-seven-segment-display.gif

kpt-4301.pdf (142 KB)

Let's try the Google explanation again with some more details.

The technique varies as Google changes it's interface along with the phase of the moon, and it may be different in other countries, but right now, in the US, here is how to proceed.

(1) Search for the term 3 digit 7 segment display with 12 pins.

(2) When the results come back don't look at any of them yet. Instead, first limit the search to images. There are several initial 'Search tools' that appear under the search window and 'Images' is one of them. That does a pretty good job of sorting things out.

(3) When looking for data sheets a good way to get rid of some more of the junk is to limit the color to 'Black and White'. If 'Color' is not one of the current search tools then click the 'Search Tools' button and 'Color' should appear as one of the new tools. When you click 'color' then 'Black and White' should appear as an option.

I get slightly different results each time I do this. Somehow I'm now getting some 4 digit displays first.

Don

So this is your explanation for why I was able to find the pinout for the OPs display using Google after you tried and couldn't ?

raschemmel:
So this is your explanation for why I was able to find the pinout for the OPs display using Google after you tried and couldn't ?

Not at all.

What makes you think that I was unable to find the pinout for his specific display?
What makes you think that I even tried to do so (which I didn't).
Where did I say that there was something that I couldn't find?

In the second part of reply #8 I did explain, in general terms, how I go about finding pinouts for generic devices such as 7-segment displays.

When he said that it didn't work for him I responded (in reply #16) with some more specific instructions.

Don

iComputerfreak:
In SevSeg_Counter.ino I have edited:

sevseg.Begin(1,10,11,12,13,2,3,4,5,6,7,8,9);

the first number is for anode (1) or cathode (0)
the following four numbers are for the 4 digits. I have only three, so I left digital pin 10 on my arduino unconnected.
and the last 8 numbers are for the digital pins for the Segments (a-g and dp)
When I run the program, it counts up to 100, but I only see the counting up to 10, because I have only three digits.

Hello!
I’m trying to get my 3 digit 7 segment display working with your instructions. Now my screen “counts” by randomly blinking all segments… You have that part where you edited SevSeg_counter with that line. Where did you put it exactly?