freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

基于51單片機的煤氣泄漏報警系統(tǒng)設計-閱讀頁

2025-02-02 16:04本頁面
  

【正文】 */void LCD_write_hanzi(unsigned char row, unsigned char page,unsigned char c) { unsigned char i。// 列,頁 for(i=0。i++) { LCD_write_byte(hanzi[c*32+i],1)。// 列,頁 for(i=16。i++) { LCD_write_byte(hanzi[c*32+i],1)。本程序初始時設定的報警濃度為2000ppm,在進入系統(tǒng)后可以對報警濃度進行設置。主程序如下:/*************************************************** 主程序***************************************************/void main (){ P3 = 0xFF。 LCD_init()。 //Init ADC sfr LCD_clear()。 while (1){ P3 = 0xFF。amp。amp。 if (Change == 0){ Change_Flag++。 } if (Sub == 0){ Warning_Set = 10。Software公司出品的51系列兼容單片機C語言軟件開發(fā)系統(tǒng),與匯編相比,C語言在功能上、結構性、可讀性、可維護性上有明顯的優(yōu)勢,因而易學易用。圖5. 1 Keil UV3環(huán)境KeilC51軟件提供豐富的庫函數和功能強大的集成開發(fā)調試工具,全Windows界面。C51生成的目標代碼效率非常之高,多數語句生成的匯編代碼很緊湊,容易理解。KEILC51標準C編譯器為80C51微控制器的軟件開發(fā)提供了C語言環(huán)境,同時保留了匯編代碼高效,快速的特點。C51已被完全集成到uVision2的集成開發(fā)環(huán)境中,這個集成開發(fā)環(huán)境包含:編譯器,匯編uVision2 程序調試的步驟(1)源文件的建立:使用菜單“FileNew”或者點擊工具欄的新建文件按鈕,即可在項目窗口的右側打開一個新的文本編輯窗口,在該窗口中輸入匯編語言源程序()。(2)建立工程文件:點擊“ProjectNew Project”菜單,出現一個對話框,要求給工程起一個名字,我們輸入天煤氣,不需要擴展名,點擊保存按鈕,出現第二個對話框?;氐街鹘缑妫藭r,在工程窗口的文件頁中,出現了“Targ et1”,前面有“+”號,點擊“+”展開,可以看到下一層的“Source Group1”,這時的工程還是一個空工程,里面什么文件也沒有,需要手動把剛才編寫好的源程序加入,點擊“Souce Group”使其反白顯示,然后,點擊鼠標右鍵,出現一個下拉菜單。將文件加入項目,注意,在文件加入項目后,該對話框并不消失,等待繼續(xù)加入其他文件,但初學時常會認為操作沒有成功而再次雙擊同一文件,這時會出現對話框,提示你所選的文件以在列表中,此時點擊確定,返回前一對話框,然后,點擊”Close”即可返回主界面,返回后,點擊“Souce Goup 1”前的加號, 文件以在其中。(3)工程的詳細設置:首先點擊左邊Project窗口的Target 1,然后使用菜單“ProgetOption for target ‘target 1’”即出現對工程設置的對話框,對這個對話框可謂非常復雜,共有8個頁面,要全部高清可不容易,好在絕大部分設置項取默認值就行了。(4)編譯、連接:在設置好工程后,既可以進行編譯、連接。編譯過程中的信息將出現在輸出窗口中的Build頁中,如果源程序有語法錯誤,會有錯誤報告出現,雙擊該行,可以定到出錯的位置,對源程序反復修改后,最終會得到如圖51所示的結果,該文件即可被編圖5. 2 ISP下載界面程器讀入并寫到芯片中,同時還產生了一些其他相關文件可被用于KEIL的仿真與調試。(2)匯編出現數字、字母混淆解決方法:字母“O” 和數字 “0”的混淆(3)程序調試時,一些程序必須滿足一定的條件才能被執(zhí)行到解決方法:這些條件往往是異步發(fā)生或難以預先設定的,這類問題使用的單步實行方法是很難調試的,這時就要使用程序調試中的另一種非常重要是方法斷點設置。在程序行設置/移除斷點的方法是將光標定位于需要設置斷點的程序行,使用菜單Debug/Insert/RemoveBreakPoint設置或移除斷點(也可以用鼠標在該行雙擊實現同樣的功能);Debug/Enable/Disable BreakPoint是開啟或暫停光標所在懂行的斷點功能;Dubug/Disale All BreakPoint暫停所有斷點;Debug/Kill All BreakPoint清除所有的斷點設置。(4)輸入程序時,有中文標點,用keil編譯時出現錯誤解決方法:程序里有帶中文標點,用英文重輸入一遍。本論文在對氣體傳感器和報警技術進行深入研究的基礎上,全面比較國內外同類產品的技術特點,合理地確定系統(tǒng)的設計方案。本論文設計的氣體報警器由氣體信號采集電路與單片機控制電路兩大部分構成。該傳感器是對以烷類氣體為主的多種氣體有良好敏感特性的廣譜型半導體敏感器件。在系統(tǒng)單片機控制電路的設計上,采用了STC12C5A60S2單片機作為核心芯片,充分利用了其高速數據處理能力和豐富的片內外設,實現了儀器的小型化和智能化。由于氣體傳感器需要在加熱狀態(tài)下工作,溫度越高,反應越快,響應時間和恢復時間就越快。氣體報警器能實時范圍檢測工作,當煙霧的濃度達到設定的濃度時,發(fā)出聲光報警。在本論文研制的報警器的基礎上,可以再做適當的功能擴展,使可燃性氣體報警器的功能更加完善,安全性更高,使用更加方便等。在大學階段,我在學習上和思想上都受益非淺,這除了自身的努力外,與各位老師、同學和朋友的關心、支持和鼓勵是分不開的。同時我還要感謝在我學習期間給我極大關心和支持的各位老師以及關心我的同學和朋友。我將銘記我曾是一名沈陽理工學子,在今后的工作中把理工的優(yōu)良傳統(tǒng)發(fā)揚光大。四年的求學生涯在師長、親友的大力支持下,走得辛苦卻也收獲滿囊,在論文即將付梓之際,思緒萬千,心情久久不能平靜。我不是您最出色的學生,而您卻是我最尊敬的老師。授人以魚不如授人以漁,置身其間,耳濡目染,潛移默化,使我不僅接受了全新的思想觀念,樹立了宏偉的學術目標,領會了基本的思考方式,從論文題目的選定到論文寫作的指導,經由您悉心的點撥,再經思考后的領悟,常常讓我有“山重水復疑無路,柳暗花明又一村”。北京:北京航空航天大學出版社,2003.[11] 陳愛萍,何智勇,羊四清.電子顯示屏的單片機控制系統(tǒng).自動化與儀表[J],1999(7):54~57[12][M].北京:[1] [13] [M] ..[14] ..[15] UT550/UT520 Digital Indicating Controllers Users : Yokogawa,2003.附錄ANew HighAccuracy LowCost Approach for tanδ OnlineMonitoring Based on MCUAbstract Through analyzing the principle of microcurrent sensor and the shortage of zeroflux microcurrent sensor, a new online monitoring method of dielectric tangent of loss angle (tanδ) based on passive microcurrent sensor technology is presented. This method can not only overe difficulties existing in the manufacturing sensors of the high precision relative scale difference and the high precision angular difference which is often necessary in online monitoring of insulation dielectric tanδ, but also can achieve high precision at low cost. This method bines the balance measurement principle and potential puter difference measuring technology, and it can be easily realized by using microcontroller unit (MCU). It also adopts anticircumstance electromagnetic interference and intelligent diagnostic techniques in the course of measurement, so it possesses great antiinterference ability under strong electromagnetic interference environment. Both the principle analysis and the onsite test have proved that this measure method can reach goodtanδ monitoring precision.Index Terms Balance measurement principle, Dielectric loss, High voltage and insulation engineering, Online measurement, Zeroflux, Microcurrent sensorI. INTRODUCTIONIT will be a great technical advance in power system safelyworking if electric equipment insulation onlinemonitoring could carry into effect, it is worth to researchand develop deeply. There are more than twenty years ofdevelopment of the power equipment online monitoringmeasurement in China. Many universities and institutes arepaying attention to new methods in this field. Now theresearch is focus on technology of signal obtaining andprocessing, and also reducing molestation. The way ofsignal obtaining is to measure current which passed thecapacitance equipment by microcurrent sensor. Microcurrentsensors used in this way always are no energy, their intensityof iron core magnetic inductions is affected by temporal inputcurrent and load characteristic easily. This brings unsteadinessof sensor39。s angle differenceby signal processing technology and data fusion technology. It is also a brainteaser to obtain a steadiness and accuratetanδmeasurement of online monitoring. It is important if anew tanδonline monitoring method could be found to applyon it.Owing to the difficulties existing in the manufacture ofsensor and microcurrent dielectric loss tanδmeasurementmethods have not been resolved until now, which blocks thepopularization of the insulation online monitoring technology. Based on the existing status of insulation online monitoringmicrocurrent sensor and dielectric loss tanδmonitoringmeasuring technique, this paper proposes a low cost highprecision online dielectric loss tanδmonitoring measurementmethod.II. PRINCIPLE OF MICROCURRENT SENSOR AND ANALYSIS OF EXISTING PROBLEMCurrent sensor
點擊復制文檔內容
法律信息相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1