亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

微控制器

微控制器是將微型計算機的主要部分集成在一個芯片上的單芯片微型計算機。微控制器誕生于20世紀70年代中期,經過20多年的發展,其成本越來越低,而性能越來越強大,這使其應用已經無處不在,遍及各個領域。例如電機控制、條碼閱讀器/掃描器、消費類電子、游戲設備、電話、HVAC、樓宇安全與門禁控制、工業控制與自動化和白色家電(洗衣機、微波爐)等。
  • 單片機開發工程案例分析與解析

    設計一個單片機控制的簡易定時報警器。要求根據設定的初始值(1-59秒)進行倒計時,當計時到0時數碼管閃爍“00”(以1Hz閃爍),按鍵功能如下:(1)設定鍵:在倒計時模式時,按下此鍵后停止倒計時,進入設置狀態;如果已經處于設置狀態則此鍵無效。(2)增一鍵:在設置狀態時,每按一次遞增鍵,初始值的數字增1。(3)遞一鍵:在設置狀態時,每按一次遞減鍵,初始值的數字減1。(4)確認鍵:在設置狀態時,按下此鍵后,單片機按照新的初始值進行倒計時及顯示倒計時的數字。如果已經處于計時狀態則此鍵無效。3.1.2 模塊1:系統設計(1)任務分析與整體設計思路根據題目的要求,需要實現如下幾個方面的功能。計時功能:要實現計時功能則需要使用定時器來計時,通過設置定時器的初始值來控制溢出中斷的時間間隔,再利用一個變量記錄定時器溢出的次數,達到定時1秒中的功能。然后,當計時每到1秒鐘后,倒計時的計數器減1。當倒計時計數器到0時,觸發另一個標志變量,進入閃爍狀態。顯示功能:顯示倒計時的數字要采用動態掃描的方式將數字拆成“十位”和“個位”動態掃描顯示。如果處于閃爍狀態,則可以不需要動態掃描顯示,只需要控制共陰極數碼管的位控線,實現數碼管的滅和亮。鍵盤掃描和運行模式的切換:主程序在初始化一些變量和寄存器之后,需要不斷循環地讀取鍵盤的狀態和動態掃描數碼管顯示相應的數字。根據鍵盤的按鍵值實現設置狀態、計時狀態的切換。   (2)單片機型號及所需外圍器件型號,單片機硬件電路原理圖選用MCS-51系列AT89S51單片機作為微控制器,選擇兩個四聯的共陰極數碼管組成8位顯示模塊,由于AT89S51單片機驅動能力有限,采用兩片74HC244實現總線的驅動,一個74HC244完成位控線的控制和驅動,另一個74HC244完成數碼管的7段碼輸出,在輸出口上各串聯一個100歐姆的電阻對7段數碼管限流。由于鍵盤數量不多,選擇獨立式按鍵與P1口連接作為四個按鍵輸入。沒有鍵按下時P1.0-P1.3為高電平,當有鍵按下時,P1.0-P1.3相應管腳為低電平。電路原理圖如圖3-1所示。

    標簽: 單片機開發 工程 案例分析

    上傳時間: 2013-11-13

    上傳用戶:曹云鵬

  • μ’nSP單片機應用及開發技術

    本章將介紹μ’nSP™系列單片機的應用領域,具體講述SPCE061A單片機在通訊、語音領域里的應用,并詳細給出了有關系統的電路原理圖、程序流程圖以及程序代碼,供讀者參考。 μ’nSP™家族產品具有電源電壓范圍和工作速率范圍較寬、集成度高、性能價格比高以及功耗低等特點,故其有非常廣泛的應用領域。μ’nSP™家族系列產品,涵蓋了非常廣泛的應用。包括:發音與語音識別的微控制器(SPCE系列)、通信來電辯識應用的微控制器(SPT660x系列)、以及通用型微控制器等等,主要體現在以下幾個方面:􀂄 用于數字信號處理􀂄 用于開發研制便攜式移動終端􀂄 用于開發嵌入式計算機應用系統 用于數字信號處理1. 數字濾波器 (Digital Filter)數字濾波器是一種計算處理或算法。借助于此,可以將輸入的一種數字信號或序列變換為另一種序列輸出。數字濾波器已被廣泛地應用于數字語音、數字圖像處理以及模式識別和頻譜分析。數字信號處理器(DSP,Digital Signal Processor)的作用是通過一系列數字來表示信號及其信息,并借助數字計算方法變換和處理這些信號。為了構成DSP,必須有一種部件能夠快速地完成兩個數值的乘法運算并將乘積累加于寄存器?!翱焖佟币馕吨撕屠奂樱∕AC,Multiply & ACcumulate)較高的運算速度。若以16位數值進行乘和累加,其結果應為32位。顯然,μ’nSP™的硬件結構與其指令系統的結合足以構成DSP應用的硬件MAC單元,因而很適用于一些DSP方面的應用。

    標簽: nSP 單片機應用 開發技術

    上傳時間: 2014-01-26

    上傳用戶:qb1993225

  • MPC555的發動機電控單元小系統設計

    隨著當前電子技術及發動機電控技術的發展,以32位嵌入式微控制器及多任務實時操作系統為基本技術特征的新一代電子控制單元ECU(Electronic Control Unit)的開發已成為汽車電子發展應用的主流。本文在Tonadofor OSEKWorks多任務實時操作系統及32佗Power PC微控制器MPC555的基礎上,介紹高壓共軌柴油發動機電子控制單元的最小系統設計方案。

    標簽: MPC 555 發動機 電控單元

    上傳時間: 2013-10-30

    上傳用戶:miaochun888

  • 深入討論HCS08的內部時鐘源模塊

    本文檔將深入介紹內部時鐘源模塊(Internal ClockSource, ICS),該模塊可以在部分HCS08 系列微控制器中找到。對HCS08 MCU 來說, ICS 模塊不但是一個非常靈活的時鐘源,而且對于該系列中更小、更低成本的MCU來說非常經濟。ICS 包括鎖頻環、內部時鐘參考、外部振蕩器和時鐘選擇子模塊。這些子模塊組合可以提供多種時鐘模式和頻率,以滿足任何應用的需要。本應用筆記詳細描述ICS 的7 種工作模式、ICS 模塊與其他HCS08 MCU 的內部時鐘發生器(Internal ClockGenerator, ICG)模塊作比較、ICS 模塊從不同低功耗模式下恢復的特性及內部時鐘參考的校準方法。

    標簽: HCS 08 時鐘源 模塊

    上傳時間: 2013-11-08

    上傳用戶:zhuoying119

  • 使用軟件程序仿真C500微控制器系列SSC(同步串行通道)功

    The solution presented in this paper and in the attached source files emulates the mostimportant SSC functions by using SW routines implemented in C. The code is focused onthe SAB C513, but will fit to all C500 derivatives.Beyond the low level software drivers a test shell is delivered. This shell allows a quicktest of the software drivers by an emulator or a starter kit demo board.

    標簽: C500 SSC 軟件 程序

    上傳時間: 2013-11-24

    上傳用戶:363186

  • 用外部設備設置32位微控制器TriCore的中斷的指令及方法

    The Infineon TriCore provides an Interrupt System with a high safety standard. Thisdocument contains some instructions on how to initiate an Interrupt from an externaldevice. First it will show you how to trigger an Interrupt Service Request by an impulseon Port 0 or Port 1. Then in the second part of the document you can find hints how todebounce impulses to enable the use of a simple switch as input device.Authors: Thomas Bliem, CQ Nguyen / Infineon SMI MD Apps

    標簽: TriCore 外部設備 中斷 微控制器

    上傳時間: 2013-11-05

    上傳用戶:uuuuuuu

  • 介紹C16x系列微控制器的輸入信號升降時序圖及特性

    All inputs of the C16x family have Schmitt-Trigger input characteristics. These Schmitt-Triggers are intended to always provide proper internal low and high levels, even if anundefined voltage level (between TTL-VIL and TTL-VIH) is externally applied to the pin.The hysteresis of these inputs, however, is very small, and can not be properly used in anapplication to suppress signal noise, and to shape slow rising/falling input transitions.Thus, it must be taken care that rising/falling input signals pass the undefined area of theTTL-specification between VIL and VIH with a sufficient rise/fall time, as generally usualand specified for TTL components (e.g. 74LS series: gates 1V/us, clock inputs 20V/us).The effect of the implemented Schmitt-Trigger is that even if the input signal remains inthe undefined area, well defined low/high levels are generated internally. Note that allinput signals are evaluated at specific sample points (depending on the input and theperipheral function connected to it), at that signal transitions are detected if twoconsecutive samples show different levels. Thus, only the current level of an input signalat these sample points is relevant, that means, the necessary rise/fall times of the inputsignal is only dependant on the sample rate, that is the distance in time between twoconsecutive evaluation time points. If an input signal, for instance, is sampled throughsoftware every 10us, it is irrelevant, which input level would be seen between thesamples. Thus, it would be allowable for the signal to take 10us to pass through theundefined area. Due to the sample rate of 10us, it is assured that only one sample canoccur while the signal is within the undefined area, and no incorrect transition will bedetected. For inputs which are connected to a peripheral function, e.g. capture inputs, thesample rate is determined by the clock cycle of the peripheral unit. In the case of theCAPCOM unit this means a sample rate of 400ns @ 20MHz CPU clock. This requiresinput signals to pass through the undefined area within these 400ns in order to avoidmultiple capture events.

    標簽: C16x 微控制器 輸入信號 時序圖

    上傳時間: 2014-04-02

    上傳用戶:han_zh

  • 基于P87C591的CAN總線系統智能節點設計

    基于P87 C591的CAN總線系統智能節點設計Design of CAN System Intelligent Node Based on P87C591 給出了基于帶CAN控制器的單片8位微控制器P87C591的智能節點的硬件電路及軟件結構,詳細介紹了設計中的難點及實現過程中應注意的問題。關鍵詞:CAN總線;智能節點 Abstract:A h ardc ircuita nds oftw arec onfigurationo fth ei ntelligentnode based on a microcontroller with CAN controller P87C591 arepresented.E speciallyt hec ruxi nd esigninga ndt hep roblemst hatshould be paid attention in realizing are discussed in details.Keyw ords:C AN;in telligentn ode CA N 總線 是德國Bosch從20世紀80年代初為解決現代汽車中眾多的控制與測試儀器之間的數據交換而開發的一種串行數據通信協議,它是一種多主總線,通信介質可以是雙絞線、同軸電纜或光導纖維。由于CAN總線具有較強的糾錯能力,支持差分收發,因而適合高噪聲環境。并具有較遠的傳輸距離,適用于許多領域的分布式測控系統。目前已在工業自動化、建筑物環境控制、醫療設備等許多領域得到廣泛的應用。CAN已成為國際標準化組織IS011898標準。

    標簽: P87C591 CAN 總線系統 智能節點

    上傳時間: 2013-10-30

    上傳用戶:xymbian

  • 87C576微控制器的在線編程

    The 87C576 includes two separate methods of programming theEPROM array, the traditional modified Quick-Pulse method, and anew On-Board Programming technique (OBP).Quick Pulse programming is a method using a number of devicepins in parallel (see Figure 1) and is the traditional way in which87C51 family members have been programmed. The Quick-Pulsemethod supports the following programming functions:– program USER EPROM– verify USER EPROM– program KEY EPROM– program security bits– verify security bits– read signature bytesThe Quick-Pulse method is quite easily suited to standardprogramming equipment as evidenced by the numerous vendors of87C51 compatible programmers on the market today. Onedisadvantage is that this method is not well suited to programming inthe embedded application because of the large number of signallines that must be isolated from the application. In addition, parallelsignals from a programmer would need to be cabled to theapplication’s circuit board, or the application circuit board wouldneed to have logic built-in to perform the programming functions.These requirements have generally made in-circuit programmingusing the modified Quick Pulse method impractical in almost all87C51 family applications.

    標簽: 87C576 微控制器 編程

    上傳時間: 2013-10-21

    上傳用戶:xiaozhiqban

  • 單片機外圍線路設計

    當拿到一張CASE單時,首先得確定的是能用什么母體才能實現此功能,然后才能展開對外圍硬件電路的設計,因此首先得了解每個母體的基本功能及特點,下面大至的介紹一下本公司常用的IC:單芯片解決方案• SN8P1900 系列–  高精度 16-Bit  模數轉換器–  可編程運算放大器 (PGIA)•  信號放大低漂移: 2V•  放大倍數可編程: 1/16/64/128  倍–  升壓- 穩壓調節器 (Charge-Pump Regulator)•  電源輸入: 2.4V ~ 5V•  穩壓輸出: e.g. 3.8V at SN8P1909–  內置液晶驅動電路 (LCD Driver)–  單芯片解決方案 •  耳溫槍  SN8P1909 LQFP 80 Pins• 5000 解析度量測器 SN8P1908 LQFP 64 Pins•  體重計  SN8P1907 SSOP 48 Pins單芯片解決方案• SN8P1820 系列–  精確的12-Bit  模數轉換器–  可編程運算放大器 (PGIA)• Gain Stage One: Low Offset 5V, Gain: 16/32/64/128• Gain Stage One: Low Offset 2mV, Gain: 1.3 ~ 2.5–  升壓- 穩壓調節器•  電源輸入: 2.4V ~ 5V•  穩壓輸出: e.g. 3.8V at SN8P1829–  內置可編程運算放大電路–  內置液晶驅動電路 –  單芯片解決方案 •  電子醫療器 SN8P1829 LQFP 80 Pins 高速/低功耗/高可靠性微控制器• 最新SN8P2000 系列– SN8P2500/2600/2700 系列– 高度抗交流雜訊能力• 標準瞬間電壓脈沖群測試 (EFT): IEC 1000-4-4• 雜訊直接灌入芯片電源輸入端• 只需添加1顆 2.2F/50V 旁路電容• 測試指標穩超 4000V (歐規)– 高可靠性復位電路保證系統正常運行• 支持外部復位和內部上電復位• 內置1.8V 低電壓偵測可靠復位電路• 內置看門狗計時器保證程序跳飛可靠復位– 高抗靜電/栓鎖效應能力– 芯片工作溫度有所提高: -200C ~ 700C     工規芯片溫度: -400C ~ 850C 高速/低功耗/高可靠性微控制器• 最新 SN8P2000 系列– SN8P2500/2600/2700 系列– 1T  精簡指令級結構• 1T:  一個外部振蕩周期執行一條指令•  工作速度可達16 MIPS / 16 MHz Crystal–  工作消耗電流 < 2mA at 1-MIPS/5V–  睡眠模式下消耗電流 < 1A / 5V額外功能• 高速脈寬調制輸出 (PWM)– 8-Bit PWM up to 23 KHz at 12 MHz System Clock– 6-Bit PWM up to 93 KHz  at 12 MHz System Clock– 4-Bit PWM up to 375 KHz  at 12 MHz System Clock• 內置高速16 MHz RC振蕩器 (SN8P2501A)• 電壓變化喚醒功能• 可編程控制沿觸發/中斷功能– 上升沿 / 下降沿 / 雙沿觸發• 串行編程接口

    標簽: 單片機 線路設計

    上傳時間: 2013-10-21

    上傳用戶:jiahao131

主站蜘蛛池模板: 呈贡县| 乌苏市| 秦皇岛市| 巩留县| 星座| 长海县| 新化县| 德安县| 晴隆县| 玛曲县| 疏勒县| 张家口市| 博野县| 鄢陵县| 柏乡县| 大荔县| 利川市| 乌鲁木齐县| 广河县| 竹溪县| 乐山市| 潞西市| 安多县| 新宾| 厦门市| 锡林浩特市| 搜索| 金阳县| 保德县| 喀喇| 牙克石市| 儋州市| 柯坪县| 东山县| 宣威市| 衡东县| 崇仁县| 永昌县| 基隆市| 扶余县| 宜良县|