Microprocessor Interfacing
Microprocessor Interfacing
Submitted by:
Submitted to:
Dr. Manju Khurana
TIET, Patiala
Jan-May 2025
1
INDEX
2
EXPERIMENT-1
AIM :Interfacing ET-8255 study card with ET-8086 microprocessor hardware kit.
STEPS:
Step 1: Connect the card to the kit through 50-Pin cable. Ensure that the pin-1 of the card is
connected to the pin-1 of the kit Bus connector, The Pin Nos. are marked in Kit and card.
Step 2: Connect +5V and GND to the kit and switch on the supply. If the Kit used is with
built in Power supply, then +5V and Gnd are internally connected and one just need to
switch on the power and Press Reset.
Step 3: Select the SW2 switch in OFF position & Enter the program given below using
Sub_MIr command if you want to enter in machine code or use EX_MEM command for
entering the program in Assembly language.
Step 4: Execute the program using <GO> command. The Program stops after first I/O
instruction. Observe the LED status as explained in the program below.
Step 5: Press Sw1 one by one and observe the LED’s status as explained in the program.
CODE:
3
108 BA 80 00 MOV DX, 80
117 CD AA INT AA
12A CD AA INT AA
4
OUTPUT:
5
EXPERIMENT-2
AIM: Interfacing ET-8253 study card with ET-8086 microprocessor hardware kit.
STEPS:
STEP 1: Connect the card to the kit through 50-Pin cable. Ensure that the pin-1 of the card is
connected to the pin-1 of the kit Bus connector. The Pin Nos. are marked in Kit and card.
STEP 2: Connect +5V and GND to the Kit and switch on the supply. If the Kit used is with
built-in Power Supply, then +5V and Gnd are internally connected and one just need to switch on
the power and Press Reset.
STEP 3: Select the SW2 switch in OFF position & Enter the program given below using
EXMEM command.
STEP 4: Execute the program using <GO> command. The Program stops after first I/O
Instruction. Observe the LED status as explained in the program below.
STEP 5: Press Sw1 one by one and observe the LED’s status as explained in the observation.
Observe square wave form on pin no. – 13 of 8253 or OUT1 Pin on the card.
CODE:
6
10B EE OUT DX, AL
OUTPUT:
7
EXPERIMENT-3
AIM: Interfacing ET-8279 study card with ET-8086 microprocessor hardware kit.
STEPS:
STEP 1: Connect the card to the kit through 50-Pin cable. Ensure that the pin-1 of the card is
connected to the pin-1 of the kit Bus connector. The Pin Nos. are marked in Kit and card.
STEP 2: Connect +5V and GND to the Kit and switch on the supply. If the Kit used is with
built-in Power Supply, then +5V and Gnd are internally connected and one just need to switch on
the power and Press Reset.
STEP 3: Select the SW1 switch in OFF position & Enter the program given below using
EXMEM command.
STEP 4: Now short the ENBDISP pin on the card with the O8 output. By this we are connecting
the display driver transistor with the output of the decoder. Also Short ENBU7 pin with the
GND. By this we are enabling the display Buffer.
STEP 5: Execute the program using <GO> command. The Program stops after first I/O
Instruction. Observe the LED status as explained in the program below.
STEP 6: Press SW1 one by one and observe the Data Displayed on the seven segment Display
as explained in the program. Each time we press the SW1, the Data displayed increments. The
program goes in to loop after displaying eight 'F'.
CODE:
8
408 EE OUT DX, AL
417 46 INC SI
418 FE CB DEC BL
0000:1300 03
1301 9F
1302 25
1303 0D
1304 99
1305 49
1306 41
1307 1F
9
1308 01
1309 09
130A 11
130B C1
130C 63
130D 85
130E 61
130F 71
OUTPUT:
10
Fig 3.2 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output 2.
11
Fig 3.4 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output 4.
12
Fig 3.6 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output 6.
13
Fig 3.8 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output 8.
14
Fig 3.10 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output A.
15
Fig 3.12 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output C.
16
Fig 3.14 Interfacing ET-8279 study card with ET-8086
microprocessor hardware kit displaying the output E.
17
EXPERIMENT-4
AIM: Interfacing ET-8251 study card with ET-8086 microprocessor hardware kit.
STEPS:
Steps:
Step 1: Connect the card to the kit through a 50-Pin cable. Ensure that pin-1 is
connected to pin-1 of the kit Bus connector (the pin numbers are marked).
Step 2: Connect +5V, +12V (Green wire), -12V (White wire), and GND to the Study
Card, either via a separate power supply or a connector cable from the 8086 Kit to
the four pin connector of the Study card (Only advanced 8086 kits have built-in
+5V, +12V, and -12V supply; basic kits only have +5V — so extra supply is
needed). Switch ON the power supply and press RESET on the kit.
Step 3: Enter the sample program starting from address 1000:0100 using the
appropriate command.
Step 4: Execute the program using the <GO> key as explained in the kit manual.
Step 5: Run PC Emulation software (like XTALK or PC LINK) on the PC. Set the
baud rate to 2400.
Step 6: Connect the serial cable from the study card to Port 1 of the PC.
Step 7: Execute the program and observe the results on the LED’s: Pressing the
SW1 button sends the character "A" to the PC screen, each time you press SW1,
it transmits "A".
18
CODE:
0109 EC IN AL, DX
010C 74 FB JZ 109
OUTPUT:
Fig 4.1 Interfacing ET-8251 study card with ET-8086 microprocessor hardware kit output
19
EXPERIMENT 5
Aim: Interfacing ET-8259 study card with ET-8086 microprocessor hardware kit
Steps:
Step 1: Connect the card to the ki through 50-Pin cable. Ensure that the pin-1 of the
card is connected to the pin-1 of the kit Bus connector. The Pin Nos. are marked in Kit
and the card.
Step 2: Connect +5V and GND to the Kit and switch on the supply. If the Kit used is with
inbuilt power supply, then +5V and GND are internally connected and one just need to
switch on the power and Press Reset.
Step 3: Select the SW2 switch in OFF position and enter the program given below
using EXMEM command.
Step 4: Execute the program using <GO> command. The program stops after first I/O
instruction. Observe the LED status as explained in the program below.
Step 5: Press the single I/O instruction switch SW1 lever and observe the results on
LED’s till you reach the last instruction. You would have by now seen the programming.
Now switch the SW2 to ON position. The program is now running in the full speed
mode.
Step 7: Now short the IR0 pin on the board to +5V Pin. You will see that the message
SUPERB starts flashing on the kit.
Code:
105 0E PUSH CS
106 58 POP AX
20
10E CD BE INT BE
122 FB STI
15C CD A2 INT A2
15E CD AB INT AB
21
OUTPUT:
22