Mikroelektronika MikroE Development Kits MIKROE-456 Scheda Tecnica

Codici prodotto
MIKROE-456
Pagina di 28
16
BIG
AVR 6 Development System
MikroElektronika
page
12.0. A/D Converter Test Inputs
An A/D converter is used for converting an analog signal into the appropriate digital value. A/D converter is linear, which means that 
converted number is linearly dependent on the input voltage value. The A/D converter built into the microcontroller converts an analog 
voltage value into a 10-bit number. Potentiometer P5 enables voltage to vary between 0 and 5V. The microcontroller with a built-in 
A/D converter is supplied with this voltage via test inputs. Jumper J15 is used for selecting one of the following pins PF0, PF1, PF2 
RU3)IRU$'FRQYHUVLRQ5HVLVWRU5KDVDSURWHFWLYHIXQFWLRQDQGLVXVHGWROLPLWFXUUHQWÀRZWKURXJKWKHSRWHQWLRPHWHURUWKH
microcontroller pin. 
)LJXUH: ADC (jumper idefault position)
)LJXUH: Pin PF0 used as input pin for 
A/D conversion 
)LJXUH: Microcontroller and A/D converter test inputs connection schematic
127(
In order to enable the microcontroller to accurately perform A/D conversion, it is necessary to turn off LEDs and 
pull-up/pull-down resistors on the port pins used by the A/D converter.  
$'FRQYHUVLRQLVSHUIRUPHGYLDWKH3)SLQ