how to connect seven segment with PIC

Thread Starter

ect_09

Joined May 6, 2012
180
Hi,
i have seven segment (3 segment connected together), i attached the image.
please tell me how to interface with PIC18f452.
doses it connect with a single port.
please guide me..IMAG0132.jpg IMAG0133.jpg
 

ericgibbs

Joined Jan 29, 2010
18,848
hi,
I count 28 pins on those 3 Digit LED displays, I would say that they are 3 individual digits.
Do you have a datasheet or part number.?
E
 

MrChips

Joined Oct 2, 2009
30,802
Brand, model number and data sheet would be required. You will need to know pin functions and configuration, common anode or common cathode.

You can interface it with one 8-bit port, 4 bits for BCD decoder/driver and 3-bits for digit select.

If you want to wire it directly without a decoder/driver, it will require two ports, 7 bits and 3 bits.
 

RRITESH KAKKAR

Joined Jun 29, 2010
2,829
Hi,
I have seven segment (3 segment connected together), i attached the image.
please tell me how to interface with PIC18f452.
doses it connect with a single port.
Hi its very simple and easy in few step.
If you don't have any data sheet just use a cell or small battery with a ~220Ohm resistance.
take a piece of paper or note book just note all pin on that book and test all pins with battery.
do this and report.
 

ErnieM

Joined Apr 24, 2011
8,377
The display is an older Panasonic device, part number LN-536GAMG. (It's written on one of the parts in the picture.) This is an orange common anode seven segment display.

To drive a common anode display you supply a positive drive to the common line and a negative sink to just the segments you wish to light. Of course a limiting resistor is needed.

The basic scheme looks like so:



The base drives (RA0, 1, 2, & 3) are normally high, set one only to turn a segment on.

The segment drives (RB0-RB6) are also normally high, set each to turn some segments on.

The transistors are needed as the segment drive will have to turn from 2 to 7 (or 8 for the decimal point) LEDs on at the same time, so this needs to supply a high current.


Here's a link to someone's PIC project where they do something similar.
 
Top