“看門狗定時器”是這樣一種東西,從功能上說它可以讓微控制器在意外狀況下(比如程序陷入死循環(huán))重新回復(fù)到系統(tǒng)上電狀態(tài),以保證系統(tǒng)出問題的時候重啟一次。就跟我們用電腦一樣,死機了你就按一下reset鍵重啟一次電腦,看門狗就是負責(zé)干這個事兒的。它是52單片機增加的一個功能,以前Intel 8031、……、AT89C51時代單片機片內(nèi)都沒有“看門狗”功能,需要我們外擴看門狗芯片,比如X5045。 很多人初次接觸丌太理解怎么用,書上也講的含含糊糊,故意說的很復(fù)雜很玄妙(可能是現(xiàn)在寫書人的通病,生怕寫的簡單的別人覺得他沒水平)。其實要是說明白點:“看門狗”就是一個計數(shù)器,由于位數(shù)有限計數(shù)器能夠裝的數(shù)值是有限的(比如8位的最多裝256個數(shù)、16位的最多裝65536個數(shù)),從開啟“看門狗”那刻起,它就開始丌停的數(shù)機器周期,數(shù)一個機器周期就計數(shù)器加1,加到計數(shù)器盛丌下了(術(shù)語叫溢出)就就產(chǎn)生一個復(fù)位信號,重啟系統(tǒng)。
上傳時間: 2013-11-11
上傳用戶:yepeng139
LAXDK4.1P是多功能數(shù)字處理器,所有功能都通過雙DSP處理實現(xiàn)。獨立處理芯片實現(xiàn)全功能的參量均衡,精確分頻,輸出限幅。內(nèi)置一個DSP效果器,包含兩個獨立的可編程引擎,分別處理回聲、混響效果,實現(xiàn)無窮的效果組合。并且提供精確快速的反饋抑制功能。3路線路輸入、背景音樂(BGM)功能,并帶有同步視頻切換。音樂通道配置7段全參量均衡適應(yīng)千變?nèi)f化的應(yīng)用環(huán)境。話筒通道7段全參量均衡,配合優(yōu)質(zhì)話放電路帶來清晰干凈的演唱效果。超低音分頻實現(xiàn)斜率、濾波器、上下限頻點的全部可調(diào),并配置3段參量均衡使調(diào)試更得心應(yīng)手。獨立中置輸出通道,輸出話筒直達聲,并配置3段參量均衡大大提升演唱人聲的表現(xiàn)能力。
上傳時間: 2013-10-26
上傳用戶:herog3
針對目前汽車追尾事件頻發(fā)問題,提出一種防汽車車前和車后追尾的安全裝置設(shè)計。該設(shè)計以高性能、低功耗的8位AVR微處理器ATmega8L為核心,結(jié)合霍爾式車速傳感器、激光雷達測距裝置和MMA7260QT加速度傳感器,能夠兼顧車前和車后,摒棄以往設(shè)計中只考慮車前或車后單一性缺點,尤其適用于高速、夜晚或新手行車。 Abstract: Aiming at the high frequency of vehicle rear-end collision,a safe device design of anti-vehicle rear-end collision is presented.In the design,the high-performance,low-power8-bit AVR microprocessor ATmega8L is utilized as a core combined with Hall-type speed sensor,laser-radar ranging devices and the acceleration sensor MMA7260QT.The design considers both the front and back of a car,and overcomes the drawbacks of former designs in which only the front or the back of the car is considered,so it is especially suitable for high-speed,night or the beginner’s driving.
上傳時間: 2013-10-14
上傳用戶:GavinNeko
該系統(tǒng)由單片機89S52控制模塊,程控寬帶放大模塊,整形模塊,F(xiàn)PGA內(nèi)頻率、相位差測量模塊等構(gòu)成,采用等精度測頻法測出頻率和周期,可測量有效值為0.01~5V,頻率范圍1Hz~20MHz信號的頻率、周期信號,精度高達10-6。采用計數(shù)法測量相位差,該系統(tǒng)可測量有效值0.5~5V,頻率10Hz~100kHz信號的相位差,精度為1°。系統(tǒng)功能由按鍵控制,測量結(jié)果實時顯示,人機界面友好。 Abstract: The system consists of the following functional blocks:89S52microcontroller controlling module,programmable amplifier module,comparator module,frequency and phase difference testing module in the FPGA.The system use the equal accuracy frequency-examining technique it measures frequency and circle of signal which its ranges is from1Hz to20MHz and the amplitude of which its range is from0.01Vrms to5Vrms,precision is up to10-6.Using of count method,the system detects the phase difference of signal,the amplitude of whic its range is from0.5Vrms to5Vrms and the frequency of which its ranges is from10Hz to100kHz,precision is up to1°,The system functions is controlled by certain keys,measurement results are displayed in real-time and it is friendly interface.
上傳時間: 2013-11-04
上傳用戶:CHINA526
以89S52單片機和EP1C6Q240C8型FPGA為控制核心的多功能計數(shù)器,是由峰值檢波、A/D轉(zhuǎn)換、程控放大、比較整形、移相網(wǎng)絡(luò)部分組成,可實現(xiàn)測量正弦信號的頻率、周期和相位差的功能。多功能計數(shù)器采用等精度的測量方法,可實現(xiàn)頻率為1Hz~10MHz、幅度為0.01~5Vrms的正弦信號的精確測頻,以及頻率為10Hz~100kHz、幅度為0.5~5Vrms的正弦信號精確測相。液晶顯示器能夠?qū)崟r顯示當前信號的頻率、周期和相位差。該多功能計數(shù)器精度高,界面友好,實用性強。 Abstract: A multi-function counter,which uses89S52MCU and EP1C6Q240C8FPGA as a control core,consists of peak detector,A/D conversion,program-controlled amplification,compared shaping and phase-shifting network part.The counter measures the frequency,period and phase of sinusoidal signal.With the equal precision method,the multi-function counter achieves the precise frequency measurement of the sinusoidal signal which its frequency is from1Hz to10MHz,its amplitude is from0.01Vrms to5Vrms,as well as the accurate phase measurement of the sinusoidal signal which its frequency is from10Hz to100kHz,its amplitude is from0.5Vrms to5Vrms.The LCD monitor real-time displays the frequency,period and phase difference of current signal.The multi-function counter features high precision,friendly interface,and strong practical.
上傳時間: 2013-11-15
上傳用戶:gy592333
介紹一種多功能音樂播放器,它是以AT89S52單片機為核心,并輔有一些外圍器件,采用匯編語言編寫程序,實現(xiàn)多功能音樂播放,歌曲自動循環(huán)播放和使用琴鍵自編曲目功能。此外,彩燈顯示歌曲節(jié)奏,按鍵跳轉(zhuǎn)到喜愛曲目,液晶顯示當前播英文曲目。并給出了系統(tǒng)軟硬件設(shè)計。 Abstract: It introduces a multifunctional music player,taking AT89S52 single-chip microcomputer as hardware control core and using some peripheral elements.Programmes are compiled in assembly language to act as expected.There are two functional modes in this system.One is to make the music play automatically and consecutively,the other is to compose new songs through keys.In addition,lights show the pace of music and the English names can be displayed in the liquid crystal screen.With perfect combination of hardware and software,the music player can meet many music lovers’needs for multifunctional music player.And the hardware and software of the system are given.
上傳時間: 2013-11-18
上傳用戶:xiaodu1124
摘要:本文介紹應(yīng)用PIC16C57單片機設(shè)計的一種可編程、高性能的數(shù)碼式樓宇對講系統(tǒng),詳細闡明了有關(guān)工作原理和關(guān)鍵技術(shù)。本系統(tǒng)充分應(yīng)用PIC單片機的軟硬件資源,具有可編程、電路簡單、功能強大等優(yōu)點,在安居工程、樓宇技防系統(tǒng)等領(lǐng)域具有廣泛的應(yīng)用前景。 關(guān)鍵詞:PIC 單片機 樓宇對講 編碼 譯碼 可編程
標簽: PIC 單片機 中的應(yīng)用 可編程
上傳時間: 2013-11-14
上傳用戶:hj_18
在嵌入式系統(tǒng)中,嵌入式CPU往往要通過各種串行數(shù)據(jù)總線與“外界”進行通信。在應(yīng)用中,異步的串行數(shù)據(jù)通信用得較多,而通用異步收發(fā)器UART(Universal Asynchronous Receiver Transmitter)在其中扮演著重要角色:完成數(shù)據(jù)的串并轉(zhuǎn)換,即把并行數(shù)據(jù)按照通信波特率轉(zhuǎn)化為通信協(xié)議中規(guī)定的串行數(shù)據(jù)流,也可從串行數(shù)據(jù)流中取出有用數(shù)據(jù)轉(zhuǎn)變?yōu)椴⑿袛?shù)據(jù)。而UART與CPU接口簡單,CPU只需通過執(zhí)行讀寫操作即可完成收發(fā)數(shù)據(jù),從而完成與外界的通信。有許多現(xiàn)成的芯片可以實現(xiàn)UART的功能,如常用的Intel8250/8251接口芯片就可以作為RS232、RS422串口的UART控制芯片。
上傳時間: 2013-11-25
上傳用戶:www240697738
本章基本要求:通過對本章的學(xué)習(xí)主要了解一個單片機系統(tǒng)設(shè)計的全過程,包括:提出要求、方案確定、硬件設(shè)計、軟件設(shè)計、系統(tǒng)可靠性設(shè)計及最后的調(diào)試通過、產(chǎn)品定型等。 7.1.1設(shè)計要求與設(shè)計步驟(1)設(shè)計要求單片機應(yīng)用系統(tǒng)大多數(shù)用于工業(yè)環(huán)境、嵌入到其它設(shè)備或作為部件組裝到某種產(chǎn)品中,所以單片機應(yīng)用系統(tǒng)的設(shè)計應(yīng)滿足以下要求:●高可靠性●較強的環(huán)境適應(yīng)能力●較好的實時性●易于操作和維護●具有一定的可擴充性●具有通信功能(2)設(shè)計步驟單片機不同應(yīng)用系統(tǒng)的開發(fā)過程基本相似,其一般步驟可以分為需求分析,總體方案設(shè)計、硬件設(shè)計與調(diào)試、軟件設(shè)計與調(diào)試、系統(tǒng)功能調(diào)試與性能測試、產(chǎn)品驗收和維護、文件編制和技術(shù)歸檔等。①需求分析需求分析就是要明確所設(shè)計的單片機應(yīng)用系統(tǒng)要“做什么”和“做的結(jié)果怎樣”。需求分析階段的結(jié)果是形成可操作的設(shè)計需求任務(wù)書。任務(wù)書應(yīng)包含單片機應(yīng)用系統(tǒng)所應(yīng)具有的功能特性和性能指標等主要內(nèi)容。如果是自主開發(fā)產(chǎn)品,還應(yīng)附有市場調(diào)研和可行性論證等內(nèi)容;如果是委托開發(fā),則應(yīng)該與委托方討論擬制的需求任務(wù)書是否滿足對方的需求。②總體方案設(shè)計總體方案設(shè)計就是要從宏觀上解決“怎么做”的問題。其主要內(nèi)容應(yīng)包括:技術(shù)路線或設(shè)計途徑、采用的關(guān)鍵技術(shù)、系統(tǒng)的體系結(jié)構(gòu)、主要硬件的選型和加工技術(shù)、軟件平臺和開發(fā)語言、測試條件和測試方法、驗收標準和條文等。如果是委托開發(fā),設(shè)計需求任務(wù)書和總體方案設(shè)計的主要內(nèi)容往往以技術(shù)文件的形式附于合同書之后。③硬件設(shè)計硬件設(shè)計的主要內(nèi)容是基于總體方案設(shè)計,選擇系統(tǒng)所需的各類元器件、設(shè)計系統(tǒng)的電子線路圖和印刷電路板、安裝元器件的調(diào)試硬件線路。硬件設(shè)計應(yīng)確保功能設(shè)計和接口設(shè)計滿足系統(tǒng)的需求,并且充分考慮和軟件的協(xié)調(diào)工作關(guān)系,注重選用高集成度的器件和采用硬件軟化、軟件硬化等設(shè)計技術(shù)。④軟件設(shè)計本階段的主要任務(wù)是:基于軟件工程的思想,擬制出本系統(tǒng)的軟件設(shè)計方案,劃分出主要的軟件模塊、根據(jù)需要繪制部分軟件模塊的流程圖、調(diào)試程序和測試軟件的基本功能。⑤系統(tǒng)功能調(diào)試與測試本階段的重點是:基于系統(tǒng)的設(shè)計需求,進行系統(tǒng)功能調(diào)試和性能指標的測試,形成測試報告,核對用戶需求或設(shè)計需求和系統(tǒng)現(xiàn)有功能、指標的一致性程度,提出修改意見,循環(huán)上述某些步驟,直至滿足需求。⑥產(chǎn)品驗收和維護單片機應(yīng)用系統(tǒng)設(shè)或產(chǎn)品開發(fā)結(jié)束后,必須經(jīng)過用戶的驗收。屬于國家或部委的科研項目,還應(yīng)通過有關(guān)部門的鑒定。產(chǎn)品投入市場或用戶生產(chǎn)現(xiàn)場后,維護工作就開始了,這步工作一直要持續(xù)到該產(chǎn)品退出市場。⑦文檔編制和技術(shù)歸檔為了維護單片機系統(tǒng),或?qū)⒛壳暗脑O(shè)計成果作為資源用于以后的設(shè)計,有必要編制相應(yīng)的文檔。提供給用戶的安裝手冊、操作手冊和維護手冊等,是技術(shù)文檔的重要組成部分之一。技術(shù)文檔必須按國家標準對其進行標準化,經(jīng)相關(guān)人員審核后存入技術(shù)檔案室進行統(tǒng)一管理。
標簽: 單片機應(yīng)用 系統(tǒng)設(shè)計
上傳時間: 2014-12-27
上傳用戶:liuqy
為解決傳統(tǒng)可視倒車雷達視頻字符疊加器結(jié)構(gòu)復(fù)雜,可靠性差,成本高昂等問題,在可視倒車雷達設(shè)計中采用視頻字符發(fā)生器芯片MAX7456。該芯片集成了所有用于產(chǎn)生用戶定義OSD,并將其插入視頻信號中所需的全部功能,僅需少量的外圍阻容元件即可正常工作。給出了以MAX7456為核心的可視倒車雷達的軟、硬件實現(xiàn)方案及設(shè)計實例。該方案具有電路結(jié)構(gòu)簡單、價格低廉、符合人體視覺習(xí)慣的特點。經(jīng)實際裝車測試,按該方案設(shè)計的可視倒車雷達視場清晰、提示字符醒目、工作可靠,可有效降低駕駛員倒車時的工作強度、減少倒車事故的發(fā)生。 Abstract: A new video and text generation chip,MAX7456,was used in the design of video parking sensor in order to simplify system structure,improve reliability and reduce cost. This chip included all the necessary functions to generate user-defined OSDs and to add them into the video signals. It could be put into work with addition of just a small number of resistances and capacitors. This paper provided software and hardware implementation solutions and design example based on the chip. The system had the characteristics of simplicity in circuit structure,lower cost,and comfort for the nature of human vision. Loading road test demonstrates high video and text display quality and reliable performance,which makes the driver easy to see backward and reduces chance of accidents.
標簽: 7456 MAX 可視倒車 中的應(yīng)用
上傳時間: 2013-12-10
上傳用戶:qiaoyue
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1