摘 要 本課題是利用單片機設計一個數字電壓表,能夠測量0-5V之間的直流電壓值,四位數碼管顯示,使用的元器件數目較少。外界電壓模擬量輸入到A/D轉換部分的輸入端,通過ADC0832轉換變為數字信號,輸送給單片機。然后由單片機給數碼管數字信號,控制其發光,從而顯示數字。此外,本文還討論了設計過程中的所用的軟件硬件環境,調試所出現的問題等。 關鍵詞:單片機; AT89C51;數字電壓表; ADC0832,四位數碼管。 Abstract This topic is the use of microcontroller design a digital voltmeter, capable of measuring between 0-5V DC voltage, four digital display, the use of fewer components. External analog voltage input to the A / D conversion part of the input of the conversion into a digital signal through the ADC0832, transmission to the microcontroller. And then by the microcontroller to the digital control digital signal, control the light, so the displayed number. In addition, the article also discusses the design process of software used in the hardware environment, debugging the problems and so on.
Key words: SCM; AT89C51; digital voltmeter; ADC0832, four digital.
|