Mikroelektronika MikroE Development Kits MIKROE-465 Scheda Tecnica

Codici prodotto
MIKROE-465
Pagina di 20
15
PICPLC16 v6 Development System
PICPLC16 v6 Development System
MikroElektronika
page
10.0. 
10.0. A/D Converter Test Inputs
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 MCP3204 circuit is used as an A/D converter on the 
PICPLC16 v6 development system. Voltage to be converted into a 12-bit number is brought to the A/D converter input pins by 
means of the MCP6284 operational amplifi er. The result of conversion is transferred to the microcontroller by means of serial 
communication. For the digital signal to be transferred to the microcontroller, it is necessary to set switches 4, 5, 6 and 7 on the 
DIP switch SW9 to the ON position. In case that voltage reference is used during A/D conversion, it is necessary to select desired 
voltage reference by means of DIP switch SW10. If the power supply voltage is used as a voltage reference, then switch 8 on the 
DIP switch  SW10 should be set to the ON position. If the 4.096V voltage is used as a voltage reference, the switch 7 on the DIP 
switch SW10 should be set to the ON position.
Figure 10-1: A/D module
Figure 10-2: AD module and microcontroller connection schematic
A/D converter communicates to the microcontroller using SPI communication
A/D converter’s connector