Interface ADC 0809 with 8051

Interfacing ADC 0809 with 8051 trainer

Tags: Interfacing ADC0809 with 8051,ADC0809 interfacing with 8051,ADC Programming using 8051,ADC 0809 Tutorials,
Overall rating
spi-adc-ps-lab-kit-8051
8051TRAINER KIT

PS-TRAINER-8051 trainer kit is proposed to smooth the progress of learning and developing designs of MCU from Intel and NXP. It has the facility to connect PC’s 101/104 Keyboard, to enter user programs in Assembly languages. Serial communication achieved using 8051. It also supports C & assembly language in standalone kit (P89V51RD2). It’s designed as to facilitate On-board Programmer for NXP 8051 MCU through ISP on serial port.


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 8051

8051 microcontroller 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 8051

 

 

20PIN CONNECTOR

ADC 0809

ADC 0809

Data lines

PA.0

D0

 adc-0809

PA.1

D1

PA.2

D2

PA.3

D3

PA.4

D4

PA.5

D5

PA.6

D6

PA.7

D7

Control Lines

PB.0

E0C

PB.1

A0

PB.2

A1

PB.3

A2

PB.4

Start

PB.5

ALE

PB.6

OE

PB.7

NC

PWR

17,19

Vcc

Supply form 8051/8086/80805 trainer Kit

18,20

Gnd

 


CIRCUIT DIAGRAM TO INTERFACE ADC 0809 WITH 8051



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


ASSEMBLY PROGRAM TO INTERFACE ADC 0809

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


AIM: To capture the data at channel - 0 and store in memory location


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


 

MEMORY ADDRESS

OPCODE

MNEMONICS

8500

74 92

MOV A,#98

8502

90 40 03

MOV DPTR,#4003

8505

F0

MOVX @DPTR,A

8506      

90  40 01

MOV DPTR,#4001

8509 

74 01

MOV A,#01

850B

F0

MOVX @DPTR,A

850C

74 31     

MOV A,#31

850E

F0

MOVX @DPTR,A

850F

74 01     

MOV A,#01

8511      

F0

BACK:     MOVX @DPTR,A

8512

54 01     

ANL A,#01

8514

30 0A FA

JNB  0A,BACK

8517      

74 40     

MOV A,#40

8519

F0

MOVX @DPTR,A

851A     

74 00

MOV A,#00

851C

F0

MOVX @DPTR,A

851D

90 40 00

MOV DPTR,#4000

8520

E0

MOVX A,@DPTR

 

Join the World's Largest Technical Community

we respect your privacy.