0% found this document useful (0 votes)
19 views1 page

Quiz 6

The system management

Uploaded by

Douglas M. Dougy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views1 page

Quiz 6

The system management

Uploaded by

Douglas M. Dougy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

CPEG 416 Quiz 6 Name:

1. Interface an ADC , a potentiometer, and 8 LEDs to a PIC16F84A using Proteus. The LEDs should
show that status of the output of the ADC. The potentiometer is connected between the ground
and a 5V voltage source. The Vref/2 of the ADC is left open. In the Hardware,
a. Show level 0 design (3 points)
b. Show level 1 design (3 points)
c. Show the complete design (Proteus diagram) (4 points)
2. Write a C program to read the potentiometer through the ADC. (5 points)
3. Run your simulation and record the following (5 points)

ADC Output
Pot V LED7 LED6 LED5 LED4 LED3 LED2 LED1 LED0
0
0.5
1
2
3
5

4. Connect the Vref/2 to a 1.5 v source and run your simulation (5 points)

ADC Output
Pot V LED7 LED6 LED5 LED4 LED3 LED2 LED1 LED0
0
0.5
1
2
3
5

Prepare a video for this quiz. (10 points)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy