在深入了解Flash存儲器的基礎上,采用單片機自動檢測存儲器無效塊。主要通過讀取每一塊的第1、第2頁內容,判斷該塊的好壞,并給出具體的實現過程,以及部分關鍵的電路原理圖和C語言程序代碼。該設計最終實現單片機自動檢測Flash壞塊的功能,并通過讀取ID號檢測Flash的性能,同時該設計能夠存儲和讀取1GB數據。 Abstract: On the basis of in-depth understanding the Flash chips,this paper designs a new program which using the SCM to detect the invalid block.Mainly through reading the data of the first and second page to detect the invalid block.Specific implementation procedure was given,and the key circuit schematic diagram and C language program code was introduced.This design achieved the function of using the MCU checks the invalid block finally,and increased the function by reading the ID number of Flash to get the performance of the memory.And the design also can write and read1GB data
上傳時間: 2013-10-25
上傳用戶:taozhihua1314
概述 HT46R32/HT46R34是8位高性能精簡指令集單片機,專門為需要A/D轉換的產品而設計,例如傳感器信號輸入。內置放大器/比較器和PWM調制功能使得這款單片機處理模擬信號的能力更加強大。 低功耗、I/O使用靈活、可編程分頻器、計數器、振蕩類型選擇、多通道A/D轉換運算放大器/比較器、脈沖測量功能、暫停和喚醒功能,使這款單片機可以廣泛應用于傳感器的信號處理、馬達控制、工業控制、消費類產品、子系統控制等等。
上傳時間: 2013-11-13
上傳用戶:哈哈hah
在汽車發動機起動時,若發動機起動后起動機不能及時斷電,將會燒毀起動機或損壞飛輪齒環;若變速器不在空檔位置起動,則起動機的瞬間動力將使汽車位移,還可能引起交通事故和人身安全。為此介紹一種利用NXP P89LPC901單片機控制的汽車起動保護控制器,通過檢測汽車起動開關、變速箱檔位、發動機轉速,實現對汽車發動機起動過程檢測和保護。起動保護控制器在發動機起動過程中通過采用逐個關閉打開負載系統,解決汽車發動機過程中因起動電流大而對汽車電源的沖擊影響,延長了電瓶壽命。 Abstract: When the automotive engine is started, the engine start motor and flywheel gear may be damaged, even traffic accidents and personal safeties may be caused by wrong operation or other factors.In order to ensure the automotive engine can be started normally and safely,it is necessary that the protecting measures and methods are considered in the automotive electrical control system.This paper introduces a kind of the automotive engine starting protect controller based on NXP P89LPC901 MCU.The controller can protect the engine starting process by detecting the starter key switch,transmission stall and engine speed.Through the use of close and open load system,the controller can solve the impact on automotive power because of the high-current load in the process of the automobile engine starting, and extend battery life.
上傳時間: 2013-10-15
上傳用戶:mikesering
利用Atmel公司的ATmega168微處理器,采用A/D轉換方式來實現按摩椅控制器的鍵盤接口,通過在硬件電路中巧妙地選擇電阻,在軟件設計中采用數字濾波、二分法和區間鑒定等方法,靈敏可靠地實現了按摩椅中30個按鍵的處理。給出了硬件電路設計和軟件設計思想以及部分匯編代碼。 Abstract: This paper chooses A/D conversion method to realize the keyboard interface of the controller by using ATmega168 microchip from Atmel Company.It accomplishes 30-key dealing sensitively and reliably in massage chair through skillfully selecting resistors in hardware circuit and using digital filter,dichotomy and area-judging method in software design.The hardware design circuit, software design idea and partly assembles code are presented mainly.
上傳時間: 2014-01-10
上傳用戶:咔樂塢
介紹了一種基于MSP430系列單片機和ADXL203加速度傳感器的數字式傾角儀,它不僅可以實現水平度檢測,而且可以測量00~3600范圍內的任意傾角,分辨率可達O.1。。此外,由于該傾角儀輸出為數字結果,因此它也可以與其他的數字設備結合起來,組合成一個功能更加強大的儀器。該數字傾角儀可廣泛應用于建筑、機械、道路、橋梁、石油、煤礦和地質勘探等各種需要測量重力參考系下傾角的場合。關鍵詞:MSP430F133單片機;力敏傳感器;ADXL203加速度計;角度測量 Abstract:This paper presents a new style digital inclinometer which is developed on the basis of the MSP430F133 MCU and the ADXL203 dual axis aeeelerometer.This inclinometer not only can test levelness,but also can measure any angle between 0。and 360。with an accuracy of 0.1 O.In addition,its output is a digital result,which makes it possible to integrate itself with other digital devices to form a more functional unit.This inclinometer can be widely used in any construction site,oil field,coal-mine or geologic survey and SO on where it will provide the working people with convenience to measure any angles.Key words:MSP430F133 MCU;force sensor;ADXL203 accelerometer;angle measurement
上傳時間: 2013-11-14
上傳用戶:lizhizheng88
汽車發動機電控系統的結構與維修(A)試題
上傳時間: 2013-10-09
上傳用戶:hsfei8
HT46R23/HT46C23是8位高性能精簡指令集單片機,專門為需要A/D轉換的產品而設計,例如傳感器信號輸入。掩膜版本HT46C23與OTP版本HT46R23引腳和功能完全相同。低功耗、I/O使用靈活、可編程分頻器、計數器、振蕩類型選擇、多通道A/D轉換、脈沖測量功能、I2C通信、暫停和喚醒功能,使這款單片機可以廣泛應用于傳感器的A/D轉換、馬達控制、工業控制、消費類產品等系統中。
上傳時間: 2013-11-02
上傳用戶:aa54
單片機在日常生活中用得越來越多,其集成度也越來越高,目前擁有多種單片機都集成有A/D轉換功能,如PIC,AVR,SUNPLUS,SH等。處理器的位數從4位到32位或更高,轉換精度從6位,8位,10位或更高。
上傳時間: 2013-10-28
上傳用戶:xa_lgy
摘 要:從應用角度介紹了具有11個輸入端的12位A/D轉換器TLC2543的結構與編程要點,探討了TLC2543與51系列單片機的接口方法,用軟件合成SPI操作,給出了接口電路與A/D采集程序設計實例,并對實際應用時應注意的問題進行了探討。關鍵詞:A/D轉換;TLC2543芯片;51系列單片機;接口技術
上傳時間: 2013-11-22
上傳用戶:瓦力瓦力hong
根據看門狗電路的原理,設計出簡單適用、性能可靠的1TrL型看門狗電路以及價格低廉、性能可靠的微功耗CMOS型看門狗電路,同時還介紹了常用的uP監視器O型看門狗電路。關鍵詞:看門狗電路;1TrL型;CMOS型Abstract:In accordance with the principle of WDT (Watch Dog Timer 1circuit,design a,IT.L type WTD circuit,it is a dimple an d applicable an d reliable on performanceo Design a CMOS type WTD circuit,it is low prices and mini-power consumption。Also the article describes a common uP type WTD circuit。Key word:WDT circuit;TFL type;CMOS typ e
上傳時間: 2013-11-05
上傳用戶:685