freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

很好的基于51單片機(jī)的電壓采集與顯示系統(tǒng)設(shè)計(jì)-文庫(kù)吧在線文庫(kù)

  

【正文】 lds bee broad must grasp of the process, and the accuracy of measurement and collection function requirements, and more and more is also high voltage measurement and display system is very important. This paper focuses on voltage data acquisition and display system, data collection and munication control using modular design, data collection and munication control adopted MCU 8051, hardware part is, still include singlechip mode several conversion module, display module, and the serial interface, and some simple outer circuit. 8 and the voltage to be measured by general ADC0809 mode and to count the collected data for analog to digital, by SCM processing of data, using a digital display module to show the tube, the related results of collecting data receiving and display controller, VB programming and the data showed that the interface. This system mainly including four modules: the data acquisition module, control module, display module, A/D conversion module. Draw circuit principle diagram and the work flow, and debugging, finally pleted the system design of hardware circuit. In software programming, the C language program development environment, use the integrated development environment. Develop A display module procedures, channel switching procedures, A/D conversion program.. Keywords: SCM, ADC0809, A/D conversion, module display voltage measurements. 3 目 錄 1引言 .............................................................. 6 2課程設(shè)計(jì) 題目、 任務(wù) 及 要求 及方案 .................................... 7 3電路原理說(shuō)明 ...................................................... 9 ADC0809 模數(shù)轉(zhuǎn)換芯片 ............................................. 9 AT89C51單片機(jī) ................................................. 10 八段數(shù)碼管和 74LS47............................................. 10 系統(tǒng)整體工作原理 ............................................... 11 . 1 硬件原理 .................................................... 11 . 2 軟件原理分析 ................................................ 12 4設(shè)計(jì)總體框圖 ..................................................... 16 4. 1硬件總體框圖 .................................................. 16 程序總體框圖 ................................................... 16 待測(cè)信號(hào)源單元電路 ............................................. 17 AT89C51單片機(jī) ................................................. 18 單片機(jī) 控制單元 ................................................. 19 . 1 外部時(shí)鐘電路 ................................................ 19 . 2 復(fù)位電路 .................................................... 20 . 3 數(shù)碼管顯示模塊 .............................................. 21 5調(diào)試報(bào)告 ......................................................... 22 6 總結(jié)及設(shè)計(jì)心得 ................................................... 23 參考文獻(xiàn) ........................................................... 24 附錄 .............................................. 2 錯(cuò)誤 !未定義書(shū)簽。 ( 3)課程設(shè)計(jì)的方案: 依據(jù)綜合課程設(shè)計(jì)的要求,以 51 單片機(jī)為核心, 采用 ADC0809 設(shè)計(jì)一個(gè)單通道模擬電壓采集電路,要求對(duì)所接通道變化的模擬電壓值進(jìn)行采集,采集來(lái)的數(shù)字量一路送至數(shù)碼管指示, 通過(guò)相關(guān)轉(zhuǎn)換在數(shù)碼管上精確顯示出來(lái) ,每行顯示 5 個(gè)數(shù)據(jù),采集完 100 個(gè)數(shù)據(jù)后停止采集過(guò)程, 顯示的電壓值可以保留到小數(shù)點(diǎn)后兩位 。而在方案的實(shí)現(xiàn)上由兩部分組成:硬件部分和軟件部分。 其內(nèi)部結(jié)構(gòu)如圖 11所示。 10 腳 ( CLK):時(shí)鐘脈沖輸入端。 八段數(shù)碼管和 74LS47 八段數(shù)碼管比七段數(shù)碼管多路一位小數(shù)點(diǎn),實(shí)際是 8 個(gè) LED 擺放排列而成。故使顯示器顯示 2。其中待測(cè)信號(hào)源由兩個(gè)滑阻分壓形成,改變滑線端位置,則分壓改變,輸入到 A/D 的模擬電壓值變化。 . 2 軟件原理分析 對(duì)上面的硬件部分,按照軟件流程框圖進(jìn)行軟件設(shè)計(jì)。 while(x) {for(i=0。 void AD_IN0()。 //否則調(diào)用通道 0的 10V顯示子程序; AD_IN1()。 //對(duì)數(shù)字量除以 256,再乘以量程 5,則為顯示值的個(gè)位; shu2=shu2+0x20。 //稍加延時(shí); } //10V 量程通道 0 顯示程序,各語(yǔ)句含義通上; void display10in0(uc zhi)
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1