
AA
//DD
CC
OO
NN
VV
EE
RR
TT
EE
RR
TT
EE
SS
TT
II
NN
PP
UU
TT
SS
A/D CONVERTER TEST INPUTS
There are many applications of A/D conversion. The microcontroller takes an analog signal from its
input pin and converts it into a digital value. Basically, you can measure any analog signal that fits
in the range acceptable by PIC (0 - VCC).
The EasyPIC5 development system has two
potentiometers used to adjust the level of
analog signals in order to test the operation
of analog-to-digital converter (ADC). Both
potentiometers outputs have voltage in the
range of 0-5V. These two analog signals can
be connected to different analog input pins
simultaneously. The jumper group J15
enables the P1 potentiometer to be connect-
ed to one of the following pins: RA0, RA1,
RA2, RA3 or RA4. The jumper group J16
enables the P2 potentiometer to be connect-
ed to one of the following pins: RA1, RA2,
RA3, RA4 or RA5.
In order to measure an analog signal without interference, turn off the corresponding switch of the
DIP switch SW1. This will disable connection between PORTA pins and pull-up/down resistors.
3
30
0
Figure 42
A/D Converter input