User manual

Table Of Contents
PICDEM
TM
Lab Development Board User’s Guide
DS41369A-page 84 © 2009 Microchip Technology Inc.
Since this lab outputs the 4 Most Significant bits of the ADC result and VDD is used as
the reference voltage, the LED display should correspond with the following voltage
levels shown in Table 5-1.
The solution for this project is located in the
C:\PICDEM_Lab\ADC_Labs\ADC_Lab1\solution directory.
TABLE 5-1: CORRESPONDING VOLTAGE ON PIN 13 RELATED TO LIT LEDS
(1 = LED ON, 0 = LED OFF)
LED4 LED3 LED2 LED1 pin 13 Voltage
0000 < 0.3125V
0001 > 0.3125V
0010 > 0.625V
0011 > 0.9375V
0100 > 1.25V
0101 > 1.5625V
0110 > 1.875V
0111 > 2.1875V
1000 > 2.5V
1001 > 2.8125V
1010 > 3.125V
1011 > 3.4375V
1100 > 3.75V
1101 > 4.0625V
1110 > 4.375V
1111 > 4.6875V or greater
Note: The greater than symbol (>) is required since the lower 6 bits of the ADC
result are not shown using LEDs.