Interfacing ADC with 8085 microprocessor (program)

In this post, we will write a program for interfacing ADC with 8085. This 8085 assembly language program will initiate ADC (Analog to Digital Converter) and store the digital data in memory.

Interfacing ADC with 8085 using 8255

We have to write a program with 8085 assembly language to Initiate ADC and store the digital data in memory. Here we will use 8255 PPI for the interfacing.

Programming with 8085 microprocessor assembly language


MVI A,10
OUT C8
MVI A,18
OUT C8
MVI A,10
OUT D0
XRA A
XRA A
XRA A
MVI A,00
OUT D0
LOOP: IN D8
ANI 01
CPI 01
JNZ LOOP
IN C0
STA 4150
HLT

Observation:

Compare the data displayed at the LEDs of the kit with that stored at location 4150

RESULT/Conclusion:

Thus the ADC was initiated and the digital data was stored at desired location.

Interfacing ADC with 8085 microprocessor (program)
Scroll to top
error: physicsTeacher.in