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

正文內(nèi)容

畢業(yè)論文-基于at89s52單片機的紅外電子密碼鎖設(shè)計(完整版)

2025-02-21 20:42上一頁面

下一頁面
  

【正文】 紅外線 遙控 電子密碼鎖 單片機 目 錄 1 緒論 錯誤 !未定義書簽。 8 紅外鑰匙(從機)子系統(tǒng)設(shè)計 錯誤 !未定義書簽。 2 器件地址的約定 6 紅外遙控電子密碼鎖總體原理圖和 PCB 板圖設(shè)計 錯誤 !未定義書簽。 21 數(shù)據(jù)讀寫模塊 1 紅外數(shù)據(jù)發(fā)射模塊設(shè)計 3 紅外鑰匙(從機)子系統(tǒng)軟件結(jié)構(gòu)設(shè)計 29 紅外遙控門鎖(主機)調(diào)試 在慣偷面前,兩根鋼絲或幾件簡單的工具就可以把這些鎖打開,有的慣偷甚至公開揚言: “ 沒有我打不開的鎖。本設(shè)計是利用紅外傳輸為途徑,方便遠距離開鎖,不用像傳統(tǒng)鎖那樣一定要將鑰匙插進鎖里才能開啟;利用單片機來隨機產(chǎn)生密碼并加密, 防止了在開鎖時被人中途攔截了密碼信息而復(fù)制出另外的鑰匙來,這是因為密碼是隨機產(chǎn)生的,每次開鎖的具體密碼均是不一樣的,所以就算竊取了上次開鎖的密碼也是不能將鎖打開。紅外通信一般采用紅外波段內(nèi)的近紅外線,波長在 25um之間。 圖 22 數(shù)據(jù)幀結(jié)構(gòu)示意圖 由于紅外光存在反射 ,在全雙工的方式下發(fā)送的信號也可能會被本身接收,因此,紅外通信應(yīng)采用異步半雙工方式,即通信的某一方發(fā)送和接收是交替進行的。 ⑷ 單片機內(nèi)的序列號是產(chǎn)品在出廠時就已經(jīng)設(shè)定,無法更改。 紅外鑰匙(從機)組成及工作原理 紅外鑰匙是紅外遙控密碼鎖的遙控器部分,紅外鑰匙內(nèi)部存儲了本套系統(tǒng)的序列號、注冊及加密方法等信息。 注冊協(xié)議: 第一步:同上; 第二步:不同時同上;相同時,發(fā)送“注冊啦 ”+密碼; 第三步:從機:保存密碼,將密碼返回給主機; 主機:密碼對了,注冊完畢,發(fā)送“結(jié)束 ”,不對重發(fā)。 PT2262把 6位 并行數(shù)據(jù)轉(zhuǎn)換成串行數(shù)據(jù),減輕編程負(fù)擔(dān),使傳輸速度更快。 紅外編碼工作由軟件完成,因此,紅外編碼方案可以任意設(shè)計,外部只需配接非常簡單的硬件電路,大大降低了了電路的復(fù)雜性,有利于降低成本,減小遙控器的體積。 該方案使用一體化紅外接收器,集紅外接收和放大于一體,不需任何外接元件,就能完成從紅外接收到輸出與 TTL電平兼容的所有工作,而體積和普通的塑封三極管大小一樣。當(dāng)接收到頻帶內(nèi)的紅外信號時, TL1838接收器會輸出低電平,否則數(shù)據(jù) 高電平,從而 “ 將時斷時續(xù) ” 的紅外信號解調(diào)成原來的連續(xù)方波信號。 : AT24C01是美國 ATMEL 公司生產(chǎn)的 I2C串行 E2PROM。該腳為射 (漏)極開路輸出,需接上拉電阻。 圖 39 AT24C01 從器件尋址 應(yīng)答信號 每次數(shù)據(jù)傳送成功后,接收器件發(fā)送一個應(yīng)答信號。 如果主器件在發(fā)送停止信號前發(fā)送的字節(jié)數(shù)超過8 個,先前寫入的數(shù)據(jù)被自動覆蓋。 14 圖 312 AT24C01立即地址讀時序 選擇地址讀 選擇 /隨機讀操作允許主機對寄存器的任意字節(jié)進行讀操作。 從 AT24C01 輸出的數(shù)據(jù)按順序輸出,由 N 到 N+1。 3. 5. 3 紅外發(fā)射模塊設(shè)計 紅外遙控門鎖子系統(tǒng)的紅外發(fā)射模塊與紅外鑰匙(從機)的發(fā)射模塊幾乎相同,具體設(shè)計在方案比較部分已做詳細的論述,在此不再贅述。 電路設(shè)計時,考慮到器件對電源噪聲很敏感, 因此 Vcc 必須要對地加去耦電容 C2 和 C3(從機只加 C2)。④具有強大的原理圖繪制功能。用過匯編語言后再使用 C 來開發(fā),體會更加深刻。 ABS 文件由 OH51 轉(zhuǎn)換成標(biāo)準(zhǔn)的 Hex 文件,以供調(diào)試器 dScope51 或 tScope51 使用進行源代碼級調(diào)試,也可由仿真器使用直接對目標(biāo)板進行調(diào)試,也可以直接寫入程序存貯器如 EPROM 中。數(shù)據(jù)塊長度和校驗碼各占 2個字節(jié),數(shù)據(jù)塊最大長度為 32個字節(jié),數(shù)據(jù)塊的內(nèi)容為發(fā)送者身份標(biāo)識、指令、和數(shù)據(jù),發(fā)送者身份標(biāo)識和指令各占 1 個字節(jié),用 ASCII 字符表示,具體參見各個子系統(tǒng)的數(shù)據(jù)結(jié)構(gòu)描述。收到 8個數(shù)據(jù)后接收第一個停止位(必須是二進制數(shù) “1” ,否則認(rèn)為是幀錯誤)。這樣有利于問題的分析和解決,不會造成問題的積累,而且不會因為一個小問題而進行整體電路的檢查,從而可以節(jié)約大量的調(diào)試時間。 紅外遙控門鎖(主機)調(diào)試 調(diào)試時使用 串口 USBISP線一步步監(jiān)控單片機的紅外反射和接收信號是否符合要求,來進一步地調(diào)整個別電路。在系統(tǒng)設(shè)計過程中,力求硬件線路簡單,充分發(fā)揮軟件片成方便靈活的特點,來滿足系統(tǒng)設(shè)計要求。理論知識還要鞏固加強。 32 參 考 文 獻 [1]李魯群 . 編寫 Palm J2ME 紅外線 “ 聊天 ” 程序 . [2]李朝青. 1998.單片機原理及接口技術(shù).北京:北京航空航天大學(xué)出版社; [3]李朝青 . .北京航空航天大學(xué)出版社; [4]李軍. 2022. 51系列單片機 高級實例開發(fā)指南.北京航空航天大學(xué)出版社; [5]全國大學(xué)生電子設(shè)計競賽組委會. 2022.全國大學(xué)生電子設(shè)計競賽獲獎作品選編( 2022).北京:北京理工大學(xué)出版社; [6]張文崢 ,李先亮 ,張其善等 . . 電子技術(shù)應(yīng)用; [7]邱玉春 ,李文俊 . .電子產(chǎn)品世界; [8]楊將新,李華軍,劉到駿等. 2022.單片機程序設(shè)計及應(yīng)用(從基礎(chǔ)到實踐).電子工業(yè)出版社; [9]周立功. 2022. LPC900 系列 Flash單片機應(yīng)用技術(shù),北京航空航天大學(xué)出版社; [10]周彥明 . 89C2051 系統(tǒng) .電子報; [11]黃耀軍 ,周云 ,嚴(yán)國萍等 . . 電子技術(shù); [12]黃智偉. 2022.全國大學(xué)生電子設(shè)計競賽訓(xùn)練教程.北京:電子工業(yè)出版社; [13]匿名 . PT2262 實現(xiàn)可遙控式電子密碼鎖 .電子設(shè)計應(yīng)用; [14]薛宗祥,鹿樹理,朱惠英等. 1999. EPSON 8 位單片機原理與應(yīng)用.北京航空航天大學(xué)出版社; [15]Intel corporation. 1981. MCS51(tm) family of single chip microputers: Users manual. Santa Clara: Intel Corporation [16]M Mizumoto. 1995. Realization of PID Controls by Fuzzy Control Methods. Fuzzy Sets and Systems [17]Serial Infrared Physical Layer Specification, Version . October 15,1998,IBM corporation ,HewlettPackard Company, Sharp Inc. [18]Link Management Protocol ,Version 23,1996,IBM Corporation. [19]Serial Infrared Link Access Protocol(IrLAP),Version . June 16, 1996,IBM Corporation , [20]HewlettPackard Company, Apple Computer, Inc., Counterpoint Systems Foundry, Inc. [21]AT24C01 datasheet. 33 The Device of Infrared Electronic Lock in Code Based on single chip Device Tang Jianguo (College of Engineering, South China Agricultural University Guangzhou 510640, China) Abstract: Along with the exaltation of social science and the living level of people, how carry out the family to guard against theft, this problem also change particularly of the simple construct of traditional machine lock,the affairs of theft is electronics lock is safer because of its confidentiality, using the vivid good, the safe coefficient is high, being subjected to the large customer close. The Infrared Electronic lock is a kind of to take the high strength password sequence as the foundation, on board the password switch that carry out in the single slice. It is the information medium with the Infrared, thus carrying out to control from a distance, can also provide with a structure simple contact type munication to connect, and hard to broken. This lock have the usage that convenience, operation simple, and the price cheap etc. so it can bring convenient to the our it is applicable to those special place where is damage of human body, for example high radiation area, high infection area etc. It can carry out the key information to register in the main on board initial attestation, the password information encrypt, the red unauthorized biography lose, and the key throws to lose to discard etc. Go to correspond by letter the principle according to the string between 51 machines, make use of infrared to deliver, this is easy to encrypt and protect to the passwords information the adoption is infrared from a distance outside opposite lock is have more advantage to the electronics bination lock that keyboard input in the machine. For example, infrared ray shoot equip adoptio
點擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1