51單片機(jī)教程(匯編):1、何謂單片機(jī) 一臺能夠工作的計(jì)算機(jī)要有這樣幾個(gè)部份構(gòu)成:CPU(進(jìn)行運(yùn)算、控制)、RAM(數(shù)據(jù)存儲)、ROM(程序存儲)、輸入/輸出設(shè)備(例如:串行口、并行輸出口等)。在個(gè)人計(jì)算機(jī)上這些部份被分成若干塊芯片,安裝一個(gè)稱之為主板的印刷線路板上。而在單片機(jī)中,這些部份,全部被做到一塊集成電路芯片中了,所以就稱為單片(單芯片)機(jī),而且有一些單片機(jī)中除了上述部份外,還集成了其它部份如A/D,D/A等。 天!PC中的CPU一塊就要賣幾千塊錢,這么多東西做在一起,還不得買個(gè)天價(jià)!再說這塊芯片也得非常大了。 不,價(jià)格并不高,從幾元人民幣到幾十元人民幣,體積也不大,一般用40腳封裝,當(dāng)然功能多一些單片機(jī)也有引腳比較多的,如68引腳,功能少的只有10多個(gè)或20多個(gè)引腳,有的甚至只8只引腳。為什么會(huì)這樣呢? 功能有強(qiáng)弱,打個(gè)比方,市場上面有的組合音響一套才賣幾百塊錢,可是有的一臺功放機(jī)就要賣好幾千。另外這種芯片的生產(chǎn)量很大,技術(shù)也很成熟,51系列的單片機(jī)已經(jīng)做了十幾年,所以價(jià)格就低了。 既然如此,單片機(jī)的功能肯定不強(qiáng),干嗎要學(xué)它呢? 話不能這樣說,實(shí)際工作中并不是任何需要計(jì)算機(jī)的場合都要求計(jì)算機(jī)有很高的性能,一個(gè)控制電冰箱溫度的計(jì)算機(jī)難道要用PIII?應(yīng)用的關(guān)鍵是看是否夠用,是否有很好的性能價(jià)格比。所以8051出來十多年,依然沒有被淘汰,還在不斷的發(fā)展中。
上傳時(shí)間: 2013-10-14
上傳用戶:cc1015285075
The P89LPC912/913/914 are single-chip microcontrollers in low-cost 14-pin packages, based on a high performance processor architecture that executes instructions in two to four clocks, six times the rate of standard 80C51 devices. Many system level functions have been incorporated into the P89LPC912/913/914 in order to reduce component count, board space, and system cost.
上傳時(shí)間: 2013-10-12
上傳用戶:司令部正軍級
概述 ROM 大小:3.5K * 16 bits RAM 大小:96 * 8 bits 堆棧:8層 LCD 驅(qū)動(dòng)器:7com * 27seg QFP64
上傳時(shí)間: 2013-10-10
上傳用戶:aix008
何謂單片機(jī) 一臺能夠工作的計(jì)算機(jī)要有這樣幾個(gè)部份構(gòu)成:CPU(進(jìn)行運(yùn)算、控制)、RAM(數(shù)據(jù)存儲)、ROM(程序存儲)、輸入/輸出設(shè)備(例如:串行口、并行輸出口等)。在個(gè)人計(jì)算機(jī)上這些部份被分成若干塊芯片,安裝一個(gè)稱之為主板的印刷線路板上。而在單片機(jī)中,這些部份,全部被做到一塊集成電路芯片中了,所以就稱為單片(單芯片)機(jī),而且有一些單片機(jī)中除了上述部份外,還集成了其它部份如A/D,D/A等。
標(biāo)簽: 51單片機(jī)
上傳時(shí)間: 2013-12-18
上傳用戶:xuanchangri
在理論分析循環(huán)碼編碼和譯碼基本原理的基礎(chǔ)上,提出了基于單片機(jī)系統(tǒng)的(24,16)循環(huán)碼軟件實(shí)現(xiàn)編碼、譯碼的方案。仿真結(jié)果表明(24,16)循環(huán)碼能有效地克服來自通訊信道的干擾,保證數(shù)據(jù)通信的可靠及系統(tǒng)的穩(wěn)定,使誤碼率大幅度降低。本論文對(24,16)循環(huán)碼的研究結(jié)果表明,可以有效地降低錯(cuò)誤概率和提高系統(tǒng)的吞吐量,實(shí)現(xiàn)糾錯(cuò)僅需要在接收端增加有限的存儲空間和計(jì)算復(fù)雜度,具有一定的實(shí)用價(jià)值。 Abstract: Based on analyzing the theory of encoding and decoding of cyclic code, this paper showed the schemes of encoding and decoding of(24,16)cyclic code by the software and based on microcontroller. Simulation results show that using (24,16) cyclic codes can effectively overcome the interference from communication channel, ensure the reliability and stability of data communication systems, and reduce the bit error rate greatly. The results of this paper show that by using the (24,16) cyclic code, the error rate can be reduced and the system throughput can be improved. Meanwhile, the system only needs to enlarge limited storage space and computation the complexity at the receiving end to realize error correction. Thus the (24,16) cyclic code has a practical value.
標(biāo)簽: 24 16 單片機(jī)系統(tǒng) 循環(huán)碼
上傳時(shí)間: 2013-11-09
上傳用戶:gaoliangncepu
利用單片機(jī)具有的智能程序控制的特點(diǎn),設(shè)計(jì)了基于STC89C52單片機(jī)的"二極管特性測試器",可對二極管一般特性進(jìn)行快速測試。通過穩(wěn)定線性電流源給二極管加載恒定電流,然后由高精度模數(shù)轉(zhuǎn)換器測試其壓降,以此為基礎(chǔ)可判斷二極管好壞、檢測二極管極性和測試二極管伏安特性等,避免了用萬用表測試只能測得極性而不知其特性這一缺點(diǎn)。可用于電子設(shè)計(jì)制作過程中對二極管進(jìn)行快速測試,以確定被測二極管是否滿足電路的設(shè)計(jì)要求。 Abstract: By making good use of the intelligent control function of the Micro Controller Unit (MCU), the diode trait tester was designed based on the STC89C52,which could be used to test the trait of a diode rapidly. By loading constant current to diode through the stable linear current source, and measuring the voltage drop of the diode by high-precision analogue-to-digital converter (ADC), it can judge whether the diode is good or not, distinguish the polarity of the diode, and test the trait that the diode, which can avoid the fault of using a multimeter can only measure the polarity but not the trait. This device can be used to test the trait of a diode quickly,and to make sure that whether a diode can be used in the electronic design or not.
上傳時(shí)間: 2013-11-13
上傳用戶:assef
為解決我國水位監(jiān)測野外條件下長期無人看守的問題,研制開發(fā)了基于MSP430單片機(jī)的智能水位計(jì)。從其組成到各功能分別進(jìn)行了詳細(xì)的介紹,該智能水位計(jì)不僅實(shí)現(xiàn)了水位數(shù)據(jù)的實(shí)時(shí)監(jiān)測、記錄和定期采集等多種工作模式,而且提高了水位監(jiān)測精度,實(shí)現(xiàn)了水位監(jiān)測的智能化。 Abstract: In order to solve the problems of long-term unmanned observation in the field water monitoring,an intelligence water-level meter based on MSP430 is developed composition and every function moduce of the water level meter was introduced in detail. It not only realizes water level data collection and storage, regularly gathering and so on, but also improves the water-level precision , finally realizes the intelligence.
標(biāo)簽: MSP 430 單片機(jī) 水位計(jì)
上傳時(shí)間: 2013-11-17
上傳用戶:417313137
The MAX9257/MAX9258 programmable serializer/deserializer (SerDes) devices transfer both video data and control signals over the same twisted-pair cable. However, control data can only be transmitted during the vertical blank time, which is indicated by the control-channel-enabled output (CCEN) signal. The electronic control unit (ECU) firmware designer needs to know how quickly to respond to the CCEN signal before it times out and how to calculate this duration. This application note describes how to calculate the duration of the CCEN for the MAX9257/MAX9258 SerDes chipset. The calculation is based on STO timeout, clock frequency, and UART bit timing. The CCEN duration is programmable and can be closed if not in use.
標(biāo)簽: SerDes MAXX 9257 9258
上傳時(shí)間: 2014-01-24
上傳用戶:xingisme
針對科研實(shí)驗(yàn)中對拉壓千斤頂加載過程控制的需要,采用ATmega128單片機(jī)控制步進(jìn)電機(jī)進(jìn)而實(shí)現(xiàn)對執(zhí)行系統(tǒng)的電動(dòng)泵站實(shí)行自動(dòng)控制。對力和位移的數(shù)據(jù)采集與處理及用步進(jìn)電機(jī)控制電動(dòng)泵站手柄的技術(shù)細(xì)節(jié)作了重點(diǎn)描述。通過單片機(jī)的A/D變換器對AMP放大模塊采集的電橋信號作量化處理,千斤頂?shù)牟倏厥直恢靡离妱?dòng)油泵閥門開啟的方向和大小作若干定位,單片機(jī)根據(jù)力或位移傳感器信號,實(shí)時(shí)控制步進(jìn)電機(jī)驅(qū)動(dòng)手柄旋轉(zhuǎn)到相應(yīng)操控位置。 Abstract: This article describes the use of ATmega128 AVR microcontroller series of DBS electric pumping stations and QF100/200 separate twoway hydraulic jack to automate the process of manipulating the work of the technical content. Articles on force and displacement data acquisition and processing, and stepper motor control electric pump with the handle of the key technical details were described. Through the MCU’s A / D converter module is collected on the AMP amplification quantify the signal bridge, jack handle position control valve opening according to the direction of electric pumps for a number of positioning and size of the microcontroller based on force or displacement sensor signals, real-time control stepper motor drive control handle rotate to the appropriate location.
標(biāo)簽: AVR 單片機(jī) 閉環(huán)控制
上傳時(shí)間: 2014-01-16
上傳用戶:hasan2015
Microchip 公司是 The Embedded Control Solutions Company® (嵌入式控制系統(tǒng)解決方案公 司) ,其產(chǎn)品主要滿足嵌入式控制市場的需求。我們是以下產(chǎn)品的領(lǐng)先供應(yīng)商: • 8 位通用單片機(jī)(PICmicro® 單片機(jī)) • 專用和標(biāo)準(zhǔn)的非易失性存儲器件 • 安防器件 (KEELOQ®) • 專用標(biāo)準(zhǔn)產(chǎn)品 欲獲得您所感興趣的產(chǎn)品列表,請申請一份Microchip產(chǎn)品線目錄。該文獻(xiàn)可從各地的Microchip 銷售辦事處獲得,或者直接從Microchip的網(wǎng)站上下載。 以往,8位單片機(jī)的用戶只選擇傳統(tǒng)的MCU類型,即ROM器件,用于生產(chǎn)。Microchip率先改變 了這種傳統(tǒng)觀念,向人們展示了 OTP(一次性編程)器件比 ROM 器件在其壽命周期內(nèi)具有更低 的產(chǎn)品成本。 Microchip具備EPROM技術(shù)優(yōu)勢, 從而使EPROM成為PICmicro 單片機(jī)程序存儲器的不二選擇。 Microchip 盡可能地縮小了EPROM 和ROM 存儲器技術(shù)之間的成本差距,并使顧客從中受益。其 他MCU供應(yīng)商無法作到這一點(diǎn),這從他們的 EPROM 和 ROM 版本之間的價(jià)格差異便可以看出。 Microchip的8位單片機(jī)市場份額的增長證明了PICmicro® 單片機(jī)能夠滿足大多數(shù)人的需要。 這也 使 PICmicro 單片機(jī)架構(gòu)成為了當(dāng)今通用市場上應(yīng)用最廣泛的三大體系之一。Microchip 的低成本 OTP解決方案所帶來的效益是這一增長的助推劑。用戶能夠從以下各方面受益: • 快速的產(chǎn)品上市時(shí)間 • 允許生產(chǎn)過程中對產(chǎn)品進(jìn)行代碼修改 • 無需掩膜產(chǎn)品所需的一次性工程費(fèi)用(NRE) • 能夠輕松為產(chǎn)品進(jìn)行連續(xù)編號 • 無需額外增加硬件即可存儲校準(zhǔn)數(shù)據(jù) • 可最大限度地增加PICmicro® 單片機(jī)的庫存 • 由于在開發(fā)和生產(chǎn)中使用同一器件,從而降低了風(fēng)險(xiǎn) Microchip 的 8 位 PICmicro單片機(jī)具備很好的性價(jià)比,可成為任何傳統(tǒng)的 8 位應(yīng)用和某些 4 位應(yīng) 用(低檔系列)、專用邏輯的替代品以及低端DSP應(yīng)用(高檔系列)的選擇。這些特點(diǎn)及其良好的 性價(jià)比使PICmicro單片機(jī)在大多數(shù)應(yīng)用場合極具吸引力。
標(biāo)簽: PICmicro 單片機(jī) 參考手冊
上傳時(shí)間: 2013-10-30
上傳用戶:Zero_Zero
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1