PhysicsTeacher.in

High School Physics + more

Interfacing ADC with 8085 microprocessor (program)

Last updated on May 8th, 2022 at 01:58 pm

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.

See also  Pin functions of 8085 microprocessor
Scroll to top
error: physicsTeacher.in