Schematic Interfacing the ADC0804 to the AT89C51 | Controller Circuit

Thursday, December 15, 2011

Schematic Interfacing the ADC0804 to the AT89C51

The analog voltage is applied to pin 6 and the result is available at pins 11 through 18. We have connected pin 1 (Chip Select) to ground so that the chip is always enabled. Connected pin 7 (Vin - ) to ground.
The ADC0804 includes an internal oscillator, which requires an external capacitor and resistor to operate. Connect the 150-pF capacitor from pin 4 to ground and the 10k ohm resistor from pin 4 to pin 19.
adc0804 pin connection and interfacing with microcontroller

Also for power,
Connect pin 20 to 5 volts.
Connect Pin 8 to ground.
Connect pin 10 to ground
The AT89C51 is a general purpose microcontroller.
# To control the ADC0804, we will use 3 lines from the 89C51.
Connect pin 2 (Read) from the ADC0804 to P3.5 of the 89C51
Connect pin 3 (Write) to P3.3
Connect pin 5 (Interrupt) to P3.2.
The 8 bit Output Data from the ADC0804 will be connected to Port 1 of the 89C51.
Connect pin 18 (D0) of the ADC0804 to pin 1 of the 89C51 (P1.0).
Connect pin 17 (D1) to pin 2(P1.1).
Connect pin 16 (D2) to pin 3 (P1.2).
Connect pin 15 (D3) to pin 4 (P1.3).
Connect pin 14 (D4) to pin 5 (P1.4).
Connect pin 13 (D5) to pin 6 (P1.5).
Connect pin 12 (D6) to pin 7 (P1.6).
Connect pin 11 (D7) to pin 8 (P1.7).

#To power the 89C51,
Connect pin 40 of the 89C51 to 5 volts.
Connect pin 20 of the 89C51 to ground.
#For the 89C51oscillator,
Connect the 11.259 MHz Crystal from pin 18 of the 89C51 to pin 19 of the 89C51.
Connect one 33 pF capacitor from pin 18 of the 89C51 to ground.
Connect the other 33 pF capacitor from pin 19 of the 89C51 to ground.
#For the 89C51 reset circuit,
Connect the 8.2k ohm resistor from pin 9 of the 89C51 to ground.
Connect the 10 uF capacitor from pin 9 of the 89C51 to 5 volts.
CONVERSION STAGES:
The 89C51controls the analog to digital conversion process. The conversion process has several stages.
Stage 1) To trigger a new conversion, we must make pin 3 (Write) low and then return it to the high state. The conversion process starts when Write goes high (rising edge triggered).
Stage 2) When the conversion process is complete, pin 5 (Interrupt) will go low.
Stage 3) When we see pin 5 (Interrupt) go low, we must make pin 2 (Read) low to load the new value into the outputs D0 - D7.
Stage 4) Next we read the values into the 2051 Port 1.
Stage 5) Finally, we return pin 2 (Read) to the high state. The next conversion can be started immediately.
Mixed Signal Testing requires knowledge of analog circuits, digital signal processing, sampling theory and mathematics, in addition to the traditional digital test issues. This tutorial cuts through the confusion and gives the attendee a jump-start in making the transition to mixed signal test engineering. Unlike many “theory based” tutorials this course is designed for the “hands on” engineer who needs to understand the practical issues of A/D testing.
· How ADC performance is validated
· ATE architectures for mixed signal testing
· How ADCs work, including five different device architectures
· ADC static linearity measurement specifications and specsmanship
· Three different measurement techniques for linearity
· ENOBs and Histograms
· ADC Dynamic Specifications
· Frequency Domain analysis of dynamic ADC performance
· AC timing parameters
· Test Engineering Tricks and Techniques for solving difficult challenges
Conversion Basics –
Digital vs. Analog Testing
Mixed Signal Testing
Converter Test Overview
Verifying Converter Performance
Static Testing
Dynamic Testing
ATE Architectures for ADC Test –
Traditional Linear ATE Architectures
ATE Mixed Signal Architectures
Waveform Generator Overview
Waveform Generator Memory and Conversion
Waveform Generator Conditioning and Filtering
Waveform Digitizer Overview
Waveform Digitizer Conditioning and Filtering
Waveform Digitizer Capturing, Converting, and Storing
Digital Signal Capture
Digital Signal Processor
DSP Library
 BACK to Content Page


 . Next Page


.   Previous Page

No comments:

Post a Comment