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

正文內容

畢業(yè)論文-基于單片機at89s52數字密碼鎖設計(定稿)(編輯修改稿)

2025-07-09 03:26 本頁面
 

【文章內容簡介】 使用 7805 要注意 最高輸入電壓是 35V 左右 。 圖 10 7805 引腳圖 4 系統軟 件設計 初始歡迎顯示程序 include 頭文件 include define uchar unsigned char 用 uchar 來表示 unsigned char define uint unsigned int sbit RS=P2^0。 位的宏定義定義 ,使用 RS 來表示 P2的 0端口 sbit RW=P2^1。 sbit En=P2^2。 uchar LCD_title[]=Input Password: 。 這里可以編輯歡迎語句 void main() { uchar i,j,k,z,error。 uchar keynum=1。 uchar Valid_user=0。 uchar change=0。 LCD_Init()。 Dis_String(0,LCD_title)。 延時程序 void delay(uint x) 第 13 頁 共 21 頁 { uint y。 while(x) { for(y=120。y0。y)。 } } LCD 的初始化 void LCD_Init() 詳細指令可查 LCD 介紹版面 { write_(0x38)。 write_(0x01)。 write_(0x06)。 write_(0x0e)。 鍵盤掃描程序 uchar Keyscan() { uchar i,j,temp。 for(i=0。i4。i++) { P3=keyboard_Scan[i]。 temp=P3。 temp=temp4|0x0f。 for(j=0。j4。j++) { if(keyboard_Scan[j]==temp)return(j*4+i)。 while(keyboard_Scan[i]!=P3) { 第 14 頁 共 21 頁 P3=keyboard_Scan[i]。 } } } return 1。 } 密碼比較程序 while(1) { P3=0xf0。 if(P3!=0xf0) { delay(5)。 if(P3!=0xf0) keynum=Key_Pos[Keyscan()]。 if(i16) { switch(keynum) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: if(i==0)Dis_String(1, )。 if(k==0) { userpassword[i]=keynum+39。039。 userpassword[i+1]=39。\039。 } 第 15 頁 共 21 頁 else { user_buf[i]=keynum+39。039。 user_buf[i+1]=39。\039。 } dis_buf[i]=39。*39。 dis_buf[i+1]=39。\039。 Dis_String(1,dis_buf)。 i++。 break。 case 10: i。 userpassword[i]=39。\039。 dis_buf[i]=39。\039。 Dis_String(1,dis_buf)。 break。 case 11: if(change==0) { if(strcmp(userpassword,Password)==0) { Green_Led=0。 Yellow_Led=1。 Clear_password()。 Dis_String(0,Wele!Have Fun)。 Dis_String(1, Unlock OK! )。 Valid_user=1。 } 第 16 頁 共 21 頁 else { Green_Led=1。 Yellow_Led=0。 Clear_password()。 Dis_String(1, ERROR ! )。 delay(300)。 Dis_String(1, )。 Valid_user=0。 error++。 if(error==3) { error=0。Beep()。 } } } 密碼修改程序 if(k==2) { Dis_String(0, Input Again! )。 Clear_password()。 Dis_String(1,dis_buf)。 k=0。 } else { if(strcmp(userpassword,user_buf)==0) 第 17 頁 共 21 頁 { change=0。 for(j=0。j16。j++) Password[j]=39。\039。 for(z=0。zi。z++) Password[z]=userpassword[z]。 Dis_String(1,Password Save ! )。 delay(200)。 Dis_String(0,Wele!Have Fun )。 Dis_String(1, )。 } else { Dis_String(1, Not Agreeable! )。 delay(300)。 Dis_String(0,New Password: )。 Dis_String(1, )。 Clear_password()。 k=1。 } } } i=0。 break。 第 18 頁 共 21 頁 參 考 文 獻 [ 1]、 祝勝林 . C 語言程序設計教程 .華南理工大學出版社 .2021. [ 2]、 康華光 .電子技術基礎(第四版) [M].北京 :高等教育出版社 ,1998. [ 3]、 梁宗善 .新型集成塊應用 [M].武漢 :華中理工大出版社 ,2021. [ 4]、 梁麗 . 計算機仿真 .2021 第 2期 [ 5]、 張志飛 劉祖潤 .電工技術 . 1999 第 3 期 第 19 頁 共 21 頁 致 謝 以上為實習期間所設計的電子密碼鎖電路,它經過多次修改和整理,以是一個比較不錯的設計,可以滿足人們的基本要求,但因為水平 有限,此電路中也存在一定的問題,譬如說電路的密碼不能遺忘,一旦遺忘,就很難打開,這可以通過增加電路解決,但過于復雜,本次設計未其中;求在規(guī)定的時間內按一定的順序開鎖,所以他人開鎖的幾率很?。浑娐分形醇语@示電路,但可通過其它數字模塊實現這一功能。這需要一段時間的進一步改進,如果有好的意見,希望老師給以支持。 通過這段時間 的學習,我感覺有很大的收獲:首先,通過學習使自己對課本上的知識可以應用于實際,使的理論與實際相結合,加深自己對課本知識的更好理解,同時實習也段練了我個人的動手能力:能夠充分利用圖書館去查閱資料 ,增加了許多課本以外的知識。能對 protel 9和 EWB 等仿真軟件操作,能達到學以致用。對我們學生來說,理論與實際同樣重要,這是我們以后在工作中說明自己能力的一個重要標準。 在實習中,我感受到了老師對學生的那種悔人不卷的精神,每天的固定時間, 趙慧娟老師都來給我們指導,使我們少走彎路,順利完成實習任務,請允許我向你們致意崇高的敬意,感謝你們,老師! 第 20 頁 共 21 頁 附錄 1 PCB 原理圖 第 21 頁 共 21 頁 附錄 2 仿真原理圖 ag an employment tribunal clai Emloyment tribunals sort out disagreements between employers and employees. You may need to make a claim to an employment tribunal if: you don39。t agree with the disciplinary action your employer has taken against you your employer dismisses you and you think that you have been dismissed unfairly. For more informu, take advice from one of the anisations listed under Further help. Employment tribunals are less formal than some other courts, but it is still a legal process and you will need to give evidence under an oath or affirmation. Most people find making a claim to an employment tribunal challenging. If you are thinking about making a claim to an employment tribunal, you should get help straight away from one of the anisations listed under Further help. ation about dismissal and unfair dismissal, see Dismissal. You can make a claim to an employment tribunal, even if you haven39。t appealed against the disciplinary action your employer
點擊復制文檔內容
畢業(yè)設計相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1