How to Interface ADC 0809 with 8086

adc-ps2-lab-kit-8086
8086TRAINER KIT

PS-TRAINER-8086A microprocessor trainer kit is proposed to smooth the progress of learning and developing designs of microprocessor from Intel. It has the facility to connect PC’s 101/104 Keyboard, to enter user programs in Assembly languages. User verifies the programs through LCD or PC. User friendly Firmware confirms facilitating the beginners learns operations of a microprocessor quickly.


ADC 0809

The ADC0808, ADC0809 data acquisition component is a Monolithic CMOS device with an 8-bit analog-to-digital converter,8-channel multiplexer and microprocessor compatible control logic. The 8-bit A/D converter uses successive approximations the conversion technique. The converter features a high impedance chopper stabilized comparator, a 256R voltage divider with analog switch tree and a successive approximation register.


INTERFACING ADC 0809 WITH 8086

8086 microprocessor it doesn’t have an On chip ADC to accept the digital input, it will not accept analog input, so we need a ADC to process the analog signal. For interfacing ADC 0809 we require 8 data lines. So ADC 0809 is an 8 bit ADC has 8 channels works on successive approximation conversion technique


PIN ASSIGNMENT WITH 8086

 


 

8255

ADC 0809

ADC 0809

Data lines

PA0

D0

adc-0809

PA1

D1

PA2

D2

PA3

D3

PA4

D4

PA5

D5

PA6

D6

PA7

D7

Control Lines

PB0

E0C

PB1

A0

PB2

A1

PB3

A2

PB4

Start

PB5

ALE

PB6

OE

PB7

NC

PWR

17,19

Vcc

Supply form 8085/8086/80805 trainer Kit

18,20

Gnd


 

 
CIRCUIT DIAGRAM TO INTERFACE ADC 0809 WITH 8086



circuit-diagram-to-interface-adc-0809-with-8086



ASSEMBLY PROGRAM TO INTERFACE ADC 0809 WITH 8086

***************************************************************************************


Title : TO CAPTURE THE DATA AT CHANNEL - 0 AND STORE IN MEMORY LOCATION


***************************************************************************************

 


MEMORY ADDRESS

OPCODE

MNEMONICS

1100

B0 98

MOV AL,98

1102

BA 36 FF

MOV DX,FF36

1105

EE

OUT DX,AL

1106

B0 01

MOV AL,01

1108

BA 32 FF

MOV DX,FF32

110B

EE

OUT DX,AL

110C

B0 01

MOV AL,01

110E

BA 32 FF

MOV DX,FF32

1111

EE

OUT DX,AL

1112

90

NOP

1113

90

NOP

1114

90

NOP

1115

90

NOP

1116

B0 21

MOV AL,21

1118

BA 32 FF

MOV DX,FF32

111B

EE

OUT DX,AL

111C

90

NOP

111D

90

NOP

111E

90

NOP

111F

B0 31

MOV AL,31

1121

BA 32 FF

MOV DX,FF32

1124

EE

OUT DX,AL

1125

90

NOP

1126

90

NOP

1127

90

NOP

1128

B0 01

LOOP:MOV AL,01

112A

BA 32 FF

MOV DX,FF32

112D

EE

OUT DX,AL

112E

24 01

AND AL,01

1130

74 F6

JE 1128

1132

B0 40

MOV AL,40

1134

BA 32 FF

MOV DX,FF32

1137

EE

OUT DX,AL

1138

90

NOP

1139

90

NOP

113A

90

 Nop

113B

BA 30 FF

MOV DX,FF30

113E

EC

IN AL,DX

113F

CC

INT 03


 

Related Article