DM163035 Microchip Technology, DM163035 Datasheet - Page 87

KIT DEVELOPMENT PICDEM LAB

DM163035

Manufacturer Part Number
DM163035
Description
KIT DEVELOPMENT PICDEM LAB
Manufacturer
Microchip Technology
Type
MCUr
Datasheet

Specifications of DM163035

Contents
Board, Cable, Components, CD, PICkit Programmer
Processor To Be Evaluated
PIC10F, PIC12F615, PIC16F616
Data Bus Width
8 bit
Operating Supply Voltage
1.3 V to 5 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC10, PIC12, PIC16
Silicon Core Number
PIC10F, PIC12F, PIC16F
Silicon Family Name
PIC10F2xx, PIC12F6xx, PIC16F6xx
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC10F206, PIC16F690, PIC16F819
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
© 2009 Microchip Technology Inc.
5.2.3.4
Program the PIC16F690. Turning the potentiometer connected to pin 13 should light
the LEDs sequentially in a binary fashion. Note that these are the 4 Most Significant
bits of the ADC result. Adding 6 more LEDs and I/O pins would allow the complete
10-bit value to be displayed. To determine the significance of each bit in the
ADRESH:ADRESL 10-bit result, see Figure 5-4.
FIGURE 5-4:
Analog-to-Digital Converter Peripheral Labs
Note:
10-BIT ADC RESULT (ADRESH: ADRESL)
Example:
If following an ADC, the ADRESH:ADRESL contains the following 10-bit
value:
10-BIT ADC RESULT (ADRESH: ADRESL)
1
2
=
=
Note:
1
V
DD
2.5V
1
2
1
2
TESTING THE APPLICATION
Using a 5V reference voltage with a 10-bit provides a resolution of
0.000488V or 4.88mV (5V/1024).
1
4
V
5V
DD
Assumes that V
reference is used, the voltage present on V
for V
1
+
V
DD
+
+
DD
1.25V
1
8
1
4
1
4
ADC RESULT BIT SIGNIFICANCE
.
0
V
V
5V
DD
DD
+
16
+
+
1
0
DD
0.15625V
32
32
V
1
1
DD
is used as the ADC reference. If an external
V
5V
32
DD
1
1
+
+
V
DD
1024
1024
+
1
1
64
1
V
5V
0.000488V
0
DD
V
DD
128
1
Bit positions set to ‘1’
are added together
0
V
=
DD
REF
256
3.911V
(rounded to the nearest mV)
1
0
pin is substituted
V
DD
512
1
0
V
DD
DS41369A-page 83
1024
1
1
V
DD

Related parts for DM163035