Datasheet

14
AVRPLC16 v6
MikroElektronika
page
7.0. ADC module
The ADC module is used to convert an analog voltage level into the appropriate 12-bit digital value. The analog voltage
signal is supplied via screw terminals CN15 and CN16. The 5V VCC or 4.096V may serve as a voltage reference
source. The result of conversion is transferred from the ADC module to the microcontroller via the Serial Peripheral
Interface (SPI).
Figure 7-1: ADC module Figure 7-2: ADC module’s connector
)LJXUHADC module connection schematic
Figure 7-3: DIP switch SW9
Figure 7-4: The position of jumper J11
In order to enable the ADC module to be turned on, switches 4-7 on the DIP switch SW9 should be set to the ON
position, Figure 7-3. Jumper 11 is used as a voltage reference source selector, Figure 7-4.
A
B