Description: Internal query ADC conversion test program
1, description of the procedures:
This routine demonstrates the MCU internal ADC analog-to-digital conversion test,
Through the query to read the conversion results, and simple data processing.
And then the voltage value through digital tube display.
2, experimental operation
Dial switch S10 SMG end of the dial to the ON side, said the terminal is connected.
Dial switch S10 ADC end of the dial to the ON side, said the terminal is connected.
While the other end of the dial switch is disconnected, that is not allocated to the ON side.
Otherwise it will affect the experimental results.
The program is downloaded to the development board can be observed in the digital display voltage values measured from,
Using the voltmeter to measure the voltage value of TP6, comparing the error of the two,
By adjusting the potentiometer VR2 can change the input voltage of ADC.
Because the reference source for the ADC used here is the supply voltage,
To Search:
File list (Check if you may need any files):
5、ADC内部模数转换查询方式实验\ADC_Test.plg
..............................\ADC_Test.uvopt
..............................\ADC_Test.uvproj
..............................\ADC_Test_uvopt.bak
..............................\ADC_Test_uvproj.bak
..............................\.pplication\Doc\readme.txt
..............................\...........\Header\STC12C5A60S2.H
..............................\...........\Source\main.c
..............................\...........\.tartup\STARTUP.A51
..............................\Lis\ADC_Test.m51
..............................\...\main.lst
..............................\...\STARTUP.lst
..............................\Obj\ADC_Test
..............................\...\ADC_Test.hex
..............................\...\ADC_Test.lnp
..............................\...\ADC_Test.plg
..............................\...\main.obj
..............................\...\STARTUP.obj
..............................\...\STARTUP._ia
..............................\Application\Doc
..............................\...........\Header
..............................\...........\Source
..............................\...........\Startup
..............................\Application
..............................\Lis
..............................\Obj
5、ADC内部模数转换查询方式实验