User Manual For Seven Segment Display Card

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

INTERFACE CARDS

Seven Segment Display


Card
Introduction

PS-ACC-7SEG card has 6 Nos. of Common Anode


7segment displays arranged in order by using NPN
transistors. All the 7-segment displays segment lines,
digit selections and power lines are terminated with 20-pin connector
to interface development kits.

Packages

7-SEG Display Add-on Card


Interface Cable
Reference Documents | Example Programs

Technical or Customer Support

Post your questions:


Pantech forum :
www.pantechsolutions.net/forum
Web site :
www.pantechsolutions.net

Join the Technical Community Today!


http://www.pantechsolutions.net
7-SEG DISPLAY INTERFACE CARD
-6 Nos. Common Anode Display
-20-pin Box Header

7-SEG DISPLAY
The High Efficiency Red source color devices are made with Gallium
Arsenide Phosphide on Gallium Phosphate Orange Light Emitting
Diode.
0.56 inch digit height.
Low current operation.
Excellent character appearance.
Easy mounting on P.C. boards or sockets.
Mechanically rugged.

SPECIFICATIONS
Digital Outputs
o 6 Nos. of Common Anode (7-SEG) Display.
20-pin Box Header
o All LED and Switch | Power lines terminated at box
connector
20-pin FRC Cable
o To connect host boards (Microcontroller/Processor/FPGA Kits)

Join the Technical Community Today!


http://www.pantechsolutions.net
HARDWARE DESCRIPTION

7-SEG Display card has 6 nos. of common anode 7segment


displays arranged in order with driver by using NPN transistors, all
the 7-segment displays segment lines and digit selections and
power lines are terminated with 20-pin connector, to interface
development kits.
Standard: gray face, white segment.
RoHS compliant.

CARD FEATURES

6 Nos. common anode 7-segment Display


Transistors driver Circuit for displays
20-pin Box Connector

HARDWARE CONFIGURATION OF 7 SEGMENTS WITH


8051/8086/8085

Join the Technical Community Today!


http://www.pantechsolutions.net
20PIN
MODULES 7-Segment Display Card
CONNECTOR
1 Digit - 1
2 Digit – 2
VCC
Digit select lines

3 Digit – 3

1
1K
4 Digit - 4 Digit - 1 2

5 Digit – 5

3
6 Digit - 6 U1

8
7 NC seg-a 7

CA

CA
Seg-b 6 A
Seg-c 4 B
8 NC seg-d 2 C
seg-e 1 D
9 Seg - a seg-f 9 E
seg-g 10 F
G
10 Seg – b seg--dp 5
DP

11 Seg – c
Segment Lines

7 SEG DISP

12 Seg – d a
13 Seg – e f g b Make high to - digit selection
14 Seg – f e d c Make low to - segment
15 Seg – g
16 Seg – dp
PWR 17,19 Vcc
Supply form ARM7 Tyro Kit
18,20 Gnd

SEVEN SEGMENT DISPLAY

The hex decimal data corresponding to the segments which have to


glow for displaying a character is output to port B

Join the Technical Community Today!


http://www.pantechsolutions.net
D7 D6 D5 D4 D3 D2 D1 D0
DP G F E D C B A

Logic ‘0' in the above said format will turn ON that particular segment.
Logic ‘1' will keep the segment OFF.
The data for turning ON the display is through 8255.
DIODE DATA STATUS
COMMON CATHODE 0 ON
1 OFF
COMMON ANODE 1 ON
0 OFF

7-SEG DISPLAY

7-segment display, it is composed of 8 LEDs, 7


segments are arranged as a rectangle for symbol
displaying and there is an additional segment for
decimal point displaying. In order to simplify
connecting, anodes and cathodes of all diodes are
connected to the common pin so that there are

Join the Technical Community Today!


http://www.pantechsolutions.net
common anode displays and common cathode displays, respectively.
Segments are marked with the letters from A to G, plus DP, as shown in
the figure on the left. On connecting, each diode is treated separately,
which means that each must have its own current limiting resistor.

A seven segment display, as its name indicates, is composed of


seven elements. Individually on or off, they can be combined to
produce simplified representations of the Arabic numerals. Often
the seven segments are arranged in an oblique (slanted)

Hex value is
92H

arrangement, which aids readability. In most applications, the seven


segments are of nearly uniform shape and size (usually elongated
hexagons, though trapezoids and rectangles can also be used), though in
the case of adding machines, the vertical segments are longer and more
oddly shaped at the ends in an effort to further enhance readability.
Join the Technical Community Today!
http://www.pantechsolutions.net
TYPES OF SEVEN SEGMENT DISPLAY:
There are two types of seven segment display available, namely,
I) Common anode display and

ii) Common cathode display

7 SEGMENT ADDON CARD

Join the Technical Community Today!


http://www.pantechsolutions.net
PROGRAMS ON PS-ADDON 7 SEGMENT DISPLAY INTERFACE
CARD

MICROCONTROLLER (8051)

U2 8255

PORTS ADDRESS
Control port 4003
PORT A 4000
PORT B 4001
PORT C 4002

AIM: TO INTERFACE 7 SEGMENT DISPLAY CARD WITH 8051

ADDRESS OPCODE MNEMONICS


8500 78 80 START : MOV A,#80
8502 90 40 03 MOV DPTR,#4000
8505 F0 MOVX @DPTR,A
8506 74 FF MOV A,#FF
8508 90 40 00 MOV DPTR,#4000
850B F0 MOVX @DPTR,A
850C 12 85 14 LCALL DATA
850F 12 85 2C LCALL DELAY
8512 80 F2 SJMP START
8514 7A 0F DATA : MOV R2,#0A
8516 7B 86 MOV R3,#86
8518 7C 00 MOV R4,#00

Join the Technical Community Today!


http://www.pantechsolutions.net
851A 8C 82 MOV DPL,R4
851C 8B 83 MOV DPH,R3
851E E0 MOVX A,@DPTR
851F 90 40 01 MOV DPTR,#4001
8522 F0 MOVX @DPTR,A
8523 12 85 2C LCALL DELAY
8526 12 85 2C LCALL DELAY
8529 0C INC R4
852A DA EE DJNZ R2,851A
852C 78 FF DELAY : MOV R0,#FF
852E 79 FF LOOP : MOV R1,#FF
8530 D9 FE LOOP1 : DJNZ R1,LOOP1
8532 D8 FA DJNZ R0,LOOP
8534 22 RET

LOOKUP TABLE:

8600 C0H, CFH, A4H, B0H, 99H


8605 92H, 82H, F8H, 80H, 98H

INPUT: Address location 4000 is for digit selection


Address location 4001 is for 7 segment display data

OUTPUT: view the output on 7 segment display card

Join the Technical Community Today!


http://www.pantechsolutions.net
MICROPROCESSOR (8086)
U1 8255

PORTS ADDRESS
Control port FF26
PORT A FF20
PORT B FF22
PORT C FF24

U2 8255
PORTS ADDRESS
Control port FF36
PORT A FF30
PORT B FF32
PORT C FF34

AIM: TO INTERFACE 7 SEGMENT DISPLAY CARD WITH 8086


USING 8255

ADDRESS OPCODE MNEMONICS


1200 B0 80 MOV AL, 80
1202 BA 36 FF MOV DX, FF36
1205 EE OUT DX, AL
1206 8D 36 00 13 START: LEA SI, [1300]
120A B9 06 00 MOV CX, 000A
120D B3 7F MOV BL, 7F
120F 88 D8 AGN: MOV AL, BL
1211 BA 30 FF MOV DX, FF30

Join the Technical Community Today!


http://www.pantechsolutions.net
1214 EE OUT DX, AL
1215 8A 04 MOV AL, [SI]
1217 BA 32 FF MOV DX, FF32
121A EE OUT DX, AL
121B E8 07 00 CALL DLY
121E 46 INC SI
121F D0 CB ROR BL, 1
1221 E2 EC LOOP AGN
1206 EB E1 JMP START
1225 BA FF FF DLY: MOV DX, FFFF
1228 4A M: DEC DX
1229 75 FD JNZ M
122B C3 RET

LOOKUP TABLE:

1300 C0H, CFH, A4H, B0H, 99H,


1305 92H, 82H, F8H, 80H, 98H

INPUT: Address location FF30 is for digit selection


Address location FF31 is for 7 segment display data
OUTPUT: view the output on 7 segment display card

Join the Technical Community Today!


http://www.pantechsolutions.net
MICROPROCESSOR (8085)

U1 8255

PORTS ADDRESS
Control port 23
PORT A 20
PORT B 21
PORT C 22

U2 8255

PORTS ADDRESS
Control port 33
PORT A 30
PORT B 31
PORT C 32

AIM: TO INTERFACE 7 SEGMENT DISPLAY CARD WITH 8085


USING 8255

Join the Technical Community Today!


http://www.pantechsolutions.net
ADDRESS OPCODE MNEMONICS
9100 3E 80 MVI A,80
9102 D3 23 OUT 23
9104 3E FF START : MVI A,FF
9106 D3 20 OUT 20
9108 CD 11 91 CALL DATA
910B CD 21 91 CALL DELAY
910E C3 04 91 JMP START
9111 0E 0A DATA : MVI C,0A
9113 21 00 92 LXI H,9200
9116 7E REP : MOV A,M
9117 D3 21 OUT 21
9119 CD 24 91 CALL DELAY
911C 23 INX H
911D 0D DCR C
911E C2 16 91 JNZ REP
9121 C3 11 91 JMP DATA
9124 06 FF DELAY : MVI B,FF
9126 3E FF LOOP : MVI A,FF
9128 3D LOOP1 : DCR A
9129 C2 28 91 JNZ LOOP1
912C 05 DCR B
912D C2 26 91 JNZ LOOP
9130 C9 RET

LOOKUP TABLE:

8600 C0H, CFH, A4H, B0H, 99H,


8605 92H, 82H, F8H, 80H, 98H

Join the Technical Community Today!


http://www.pantechsolutions.net
INPUT: Address location 20 is for digit selection
Address location 21 is for 7 segment display data
OUTPUT: view the output on 7 segment display card

Join the Technical Community Today!


http://www.pantechsolutions.net
Did you enjoy the read?
Pantech solutions creates information
packed technical documents like this one every
month. And our website is a rich and trusted
resource used by a vibrant online community of
more than 1, 00,000 members from organization of
all shapes and sizes.

Join the Technical Community Today!


http://www.pantechsolutions.net
What do we sell?
Our products range from Various
Microcontroller development boards, DSP Boards,
FPGA/CPLD boards, Communication Kits, Power
electronics, Basic electronics, Robotics, Sensors,
Electronic components and much more . Our goal is
to make finding the parts and information you need
easier and affordable so you can create awesome
projects and training from Basic to Cutting edge
technology.

Join the Technical Community Today!


http://www.pantechsolutions.net

You might also like