高質(zhì)量的單片機C程序代碼運行效率高、可讀性和可維護性強。在編寫小型的單片機程 序時,代碼質(zhì)量的重要性可能不是很明顯。但如果要編寫較大規(guī)模的程序,特別是多人合作 編寫程序時,這一點就變得十分重要了。本章內(nèi)容以林銳的《高質(zhì)量C++/C編程指南》為藍 本,針對單片機編程的實際各部進行了大量刪節(jié)和改寫。
上傳時間: 2014-12-25
上傳用戶:佳期如夢
基于單片機控制的高精度多點溫度檢測顯示系統(tǒng)
上傳時間: 2013-10-30
上傳用戶:dick_sh
用單片機制作的高精度數(shù)顯計數(shù)器 單片機C51計數(shù)器 要求:編寫一個計數(shù)器程序,將T0作為計數(shù)器來使用,對外部信號計數(shù),將所計數(shù)字顯示在數(shù)碼管上。 該部分的硬件電路如圖所示,U1的P0口和P2口的部份引腳構(gòu)成了6位LED數(shù)碼管驅(qū)動電路,數(shù)碼管采用共陽型,使用PNP型三極管作為片選端的驅(qū)動,所有三極管的發(fā)射極連在一起,接到正電源端,它們的基極則分別連到P2.0…P2.5,當(dāng)P2.0…P2.5中某引腳輸是低電平時,三極管導(dǎo)通,給相應(yīng)的數(shù)碼管供電,該位數(shù)碼管點亮哪些筆段,則取決于筆段引腳是高或低電平。圖中看出,所有6位數(shù)碼管的筆段連在一起,通過限流電阻后接到P0口,因此,哪些筆段亮就取決于P0口的8根線的狀態(tài)。 里面包含了:單片機C51計數(shù)器、計算器流程圖、工作原理,
標(biāo)簽: 用單片機 數(shù)顯 高精度 計數(shù)器
上傳時間: 2013-11-16
上傳用戶:myworkpost
高質(zhì)量C++/C編程指南
上傳時間: 2014-01-09
上傳用戶:huangld
對大學(xué)物理實驗中放電法測高阻的傳統(tǒng)實驗,采用單片機-計算機接口技術(shù)和模數(shù)變換技術(shù),用計算機對數(shù)據(jù)進行處理得出結(jié)果。它既可以作為自動化測量設(shè)備,也可以作為高年級大學(xué)生課程設(shè)計或畢業(yè)設(shè)計題目,對于拓寬大學(xué)生知識面,提高實際動手能力和解決問題能力有一定的價值。
標(biāo)簽: 89C51 放電 高阻 數(shù)據(jù)
上傳時間: 2013-11-03
上傳用戶:jichenxi0730
GPS高精度的時鐘的設(shè)計和實現(xiàn)
上傳時間: 2013-11-25
上傳用戶:caiqinlin
生活中許多目標(biāo)的高度和水平距離需要進行測量。目前主要的測量方法,仍以傳統(tǒng)的皮尺丈量為主,測量效率不高,有時還很不方便,沒有技術(shù)成熟的數(shù)字式測高測距產(chǎn)品。以基本的數(shù)學(xué)方法為理論依據(jù),利用遙控小車做為載體,采用角度傳感器測量角度、霍爾傳感器測量水平距離等,通過單片機LM3S615進行數(shù)據(jù)計算,實現(xiàn)了對待測目標(biāo)物體的高度、水平距離等數(shù)據(jù)的快速、精確和數(shù)字式的測量,高度測量精度可達99.06%,水平測量精度則可達98.06%。 Abstract: In our lives, the height and horizontal distance of some goals are needed to be measured. Because the currently used methods are still traditional tape-based measuring methods, and the measuring efficiency is low and inconvenient so some kinds of digital and portable measuring methods or instruments are needed. Based on the basic math theory, this paper designed and manufactured a portable, digital and remote controlled measuring mobile small vehicle, which assembled with angle measuring sensor for angle measurement and Hall sensor for horizontal distance measuring. MCU LM3S615 calculated the height and horizontal distance data gotten from these sensors. The measuring process is simple, the measuring results are more accurate and the measuring efficiency is higher than traditional measure instruments. The accuracy of height and distance measurement can reach 99.06% and 98.06%.
上傳時間: 2013-10-30
上傳用戶:jackandlee
MG3500SoC是支持H.264高清編解碼器的片上系統(tǒng),內(nèi)部集成一個嵌入式ARM926處理器,支持高清H.264編解碼、MPEG鄄2解碼和JPEG編解碼。介紹了MG3500SoC的主要性能特點、引腳排列、主要接口功能及在DVR上的應(yīng)用,以及MG3500SoC及其周圍器件的硬件設(shè)計,提出了在設(shè)計中應(yīng)注意的問題。 Abstract: The MG3500System-on-Chip(SoC)is high definition(HD)H.264codec,including ARM926-EJ processor,H.264encoder/decoder,MPEG2decoder and JPEG/MJPEG encoder/decoder.The features,pin assignments,interfaces and the typical application of MG3500in DVR are introduced in this paper.The application hardware circuit between the MG3500SoC and peripheral device are given,the questions which the syetem design needs to pay attention are explained.
上傳時間: 2013-11-12
上傳用戶:elinuxzj
為降低成本和解決現(xiàn)有膜片鉗放大器系統(tǒng)中PC機的干擾問題,研究了一種基于單片機的膜片鉗放大器小系統(tǒng)。該系統(tǒng)采用ADI公司生產(chǎn)的ADuC841作為控制核心,并且配置相應(yīng)的液晶顯示模塊LCM3202401。模擬電路部分采用高輸入阻抗的AD8627實現(xiàn)微電流信號的采集,并由后級電路進行信號的放大和電阻電容的補償。它具有硬件電路簡單、體積小、使用方便的特點。既可以單獨作為小系統(tǒng)實現(xiàn)采集和顯示,也可以通過紅外方式和PC機進行通訊,在PC機上進行信號的處理。 Abstract: In order to reduce cost and resolve the interferential problem with PC in existing patch clamp amplifiers, a small patch clamp amplifier system design based on microcontroller is studied. It adopts a new high performance microconverter ADuC841 by the ADI as the control core in the system, configuring a liquid crystal module LCM3202401. In the analog circuit, AD8627 with high input impedance is used to detect the low current,signal magnification, as well as resistance and capacitance compensation are accomplished by subsequent circuits. It has the advantage of simple hardware circuit design, small volume and convenient operation. It can either be used as an independent system to measure and show signal detected or transmit to PC by infrared ray.
上傳時間: 2013-11-06
上傳用戶:yy_cn
P89LPC932是Philips公司推出的高性價比單片機,該器件內(nèi)含增強型CPU,同一工作頻率下的速度為標(biāo)準(zhǔn)80C51單片機的6倍。文中介紹了P89LPC932的主要特點,給出了基于P89LPC932的車輛數(shù)據(jù)采集系統(tǒng)的組成框圖。 Abstract: The Philips P89LPC932 is a high cost-effective 8051-based microcontroller.High performance 2-clock 80C51 CPU providing 6 times the preformance of the standard 80C51.The main characteristic of P89LPC932? and its application in vehicle data collection system are given.
上傳時間: 2013-10-28
上傳用戶:gyq
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1