標題: 液晶顯示的單片機ADC0832數字電壓表 [打印本頁]
作者: 718973898 時間: 2020-12-13 23:26
標題: 液晶顯示的單片機ADC0832數字電壓表
一、實驗要求
利用51單片機設計一個數字電壓表,實現從模擬信號輸入到數字信號輸出的基本功能,具體要求如下:
(1)通過滑動變阻器改變輸入電壓;
(2)利用AD轉換器ADC0832將輸入電壓轉換為數字信號送到單片機;
(3)在LCD上顯示輸入電壓值,保留三位小數;
(4)在電壓測量值后面顯示單位“V”。
Using C51 MCU to design a digital voltmeter achieve from the analog signal input to the basic functions of digital signal output.
(1) Change the input voltage by sliding the rheostat;
(2) Using the AD converter ADC0832 to convert the input voltage to a digital signal to the MCU;
(3) The input voltage value is displayed on the LCD, leaving three decimal places;
(4) After the voltage measurement value shows the unit "V".
二、實驗任務
本系統(tǒng)以51單片機作為控制核心,實現LCD顯示的控制、AD轉換器的啟動與數據讀入,并協(xié)調和控制各個模塊的工作。
The system uses C51 MCU as the control core, to achieve LCD display control, AD converter start and data read, and coordinate and control the work of each module
四、硬件電路
五、實驗程序
六、思考題回答
(1)A/D或 D/A中的D和A是什么意思,A/D和D/A分別有什么作用?
What is the meaning of D and A in A/D or D/A?what are the functions of A/D and D/A?
Answer:A is analog , D is digital . A/D can change analog signals into digital signals . D/A can change digital signals into analog signals.
(2)C51程序中為什么要包含頭文件reg51.h?
Why does the C51 program include the header file reg51.h?
Answer:Because reg51.h has function declarations , variable declarations , if you want to use these functions or variables you have to include them.
-
51hei圖片20201213232517.jpg
(4.98 MB, 下載次數: 79)
下載附件
2020-12-13 23:25 上傳
歡迎光臨 (http://www.zg4o1577.cn/bbs/) |
Powered by Discuz! X3.1 |
主站蜘蛛池模板:
怡红院成人在线视频
|
国产一区久久久
|
色橹橹欧美在线观看视频高清
|
日韩成人在线播放
|
丝袜 亚洲 欧美 日韩 综合
|
91精品国产91久久久久久最新
|
久久精品一|
久久激情视频
|
日本久久久影视
|
精品久久久久久久久久
|
蜜桃五月天|
麻豆国产一区二区三区四区
|
99re国产|
日韩免费视频
|
精品国产一区二区在线
|
性色av一区二区三区
|
欧美日韩亚洲国产
|
日韩精品视频在线播放
|
看一级毛片视频
|
日韩欧美久久
|
国产精品一区二区在线
|
色视频www在线播放国产人成
|
国产精品爱久久久久久久
|
99久久精品一区二区成人
|
97久久久久久
|
av性色全交蜜桃成熟时
|
亚洲区中文字幕
|
亚洲综合在线视频
|
亚洲免费一|
欧美日韩不卡
|
九九热精品在线视频
|
久久久久国产一区二区三区
|
91麻豆精品国产91久久久久久
|
亚洲黄色一级
|
在线观看免费福利
|
久久久成人免费一区二区
|
一级毛片观看
|
亚洲成人高清
|
毛片视频观看
|
国产精品99久久久久久动医院
|
黄色国产视频
|