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

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

指紋平臺(tái)微控制器

  • 單片機開發(fā)工程案例分析與解析

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

    標簽: 單片機開發(fā) 工程 案例分析

    上傳時間: 2013-11-13

    上傳用戶:曹云鵬

  • μ’nSP單片機應用及開發(fā)技術

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

    標簽: nSP 單片機應用 開發(fā)技術

    上傳時間: 2014-01-26

    上傳用戶:qb1993225

  • MPC555的發(fā)動機電控單元小系統(tǒng)設計

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

    標簽: MPC 555 發(fā)動機 電控單元

    上傳時間: 2013-10-30

    上傳用戶:miaochun888

  • 深入討論HCS08的內(nèi)部時鐘源模塊

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

    標簽: 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總線系統(tǒng)智能節(jié)點設計

    基于P87 C591的CAN總線系統(tǒng)智能節(jié)點設計Design of CAN System Intelligent Node Based on P87C591 給出了基于帶CAN控制器的單片8位微控制器P87C591的智能節(jié)點的硬件電路及軟件結構,詳細介紹了設計中的難點及實現(xiàn)過程中應注意的問題。關鍵詞:CAN總線;智能節(jié)點 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年代初為解決現(xiàn)代汽車中眾多的控制與測試儀器之間的數(shù)據(jù)交換而開發(fā)的一種串行數(shù)據(jù)通信協(xié)議,它是一種多主總線,通信介質(zhì)可以是雙絞線、同軸電纜或光導纖維。由于CAN總線具有較強的糾錯能力,支持差分收發(fā),因而適合高噪聲環(huán)境。并具有較遠的傳輸距離,適用于許多領域的分布式測控系統(tǒng)。目前已在工業(yè)自動化、建筑物環(huán)境控制、醫(yī)療設備等許多領域得到廣泛的應用。CAN已成為國際標準化組織IS011898標準。

    標簽: P87C591 CAN 總線系統(tǒng) 智能節(jié)點

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

    標簽: 單片機 線路設計

    上傳時間: 2013-10-21

    上傳用戶:jiahao131

主站蜘蛛池模板: 凤凰县| 望江县| 黄陵县| 肃宁县| 宝山区| 华亭县| 内乡县| 千阳县| 临高县| 阳春市| 新宾| 太原市| 泌阳县| 合山市| 都江堰市| 怀化市| 饶河县| 嘉义县| 阳原县| 靖西县| 班玛县| 呼伦贝尔市| 玉田县| 慈溪市| 丹寨县| 浦城县| 夹江县| 平果县| 类乌齐县| 陆丰市| 东光县| 嘉善县| 大邑县| 安丘市| 宜兴市| 石家庄市| 九龙城区| 五常市| 琼中| 松桃| 噶尔县|