
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This is the basics of 8086 microcontroller
Typology: Study notes
1 / 32
This page cannot be seen from the preview
Don't miss anything!

























n-bit Number of steps Step Size (mV) 8 256 5/256 = 19. 10 1024 5/1024 = 4. 12 4096 5/4096 = 1. 16 65536 5/65536 = 0. Notes: V CC
Step size (resolution) is the smallest change that can be discerned by an ADC. Resolution vs. Step Size for ADC
V ref /2 Relation to V in Range (ADC0804)
Interfacing ā ADC with 8051 Steps for converting the analogue input and reading the output from ADC. ļ¼ Make CS=0 and send a low to high pulse to WR pin to start the conversion. ļ¼ Now keep checking the INTR pin. INTR will be 1 if conversion is not finished and INTR will be 0 if conversion is finished. ļ¼ If conversion is not finished (INTR=1) , poll until it is finished. ļ¼ If conversion is finished (INTR=0), go to the next step. ļ¼ Make CS=0 and send a high to low pulse to RD pin to read the data from the ADC.
8051 Connection to ADC0804 with Self-Clocking
Selected Analog Channel C B A IN0 0 0 0 IN1 0 0 1 IN2 0 1 0 IN3 0 1 1 IN4 1 0 0 IN5 1 0 1 IN6 1 1 0 ADC0808/0809 Analog Channel Selection V ref Relation to V in Range for ADC0808/
Pin Diagram ADC0848 Block Diagram
ADC0848 V ref vs. Step Size