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

正文內(nèi)容

基于51單片機(jī)電子密碼鎖的課程設(shè)計(jì)-閱讀頁(yè)

2025-07-07 04:46本頁(yè)面
  

【正文】 0。col++) // 列檢測(cè){if((P1amp。 //獲取鍵值,識(shí)別按鍵while((P1amp。return。tmp2)==0x00)}}}} 密碼設(shè)置軟件設(shè)計(jì) 密碼設(shè)置程序流程圖如圖43為密碼設(shè)置流程圖,開(kāi)始按下設(shè)置鍵,輸入舊密碼,如果錯(cuò)誤累計(jì)三次,進(jìn)行報(bào)警程序。如果兩次輸入的新密碼不一樣,則修改密碼失敗,重新返回設(shè)置新密碼。(cp[0]==0)) { GotoXY(0,0)。 // 提示輸入舊密碼pass=1。count=0。count2=1。sk[11]==0。(pass==1)amp。 //輸出顯示*if(count==1){GotoXY(0,0)。}if((count!=0)amp。(cp[0]==0)){pass=0。 print(new code:*)。(count7==1)) //按鍵盤認(rèn)鍵,校驗(yàn)舊密碼{ //舊密碼輸入正確if((password[0]==cq[0])amp。(password[2]==cq[2])amp。(password[4]==cq[4])amp。(pass==1)amp。 print(new code:)。pass=0。count=0。n=0。}else{GotoXY(0,0)。 //舊密碼輸入錯(cuò)誤sk[14]=0。count7=0。m=0。(pass0==1){co[n]=pa。pa=10。(count==6)){GotoXY(0,0)。 //舊密碼輸入正確,存新密碼}} 開(kāi)鎖軟件設(shè)計(jì) 開(kāi)鎖程序流程圖如圖44為開(kāi)鎖流程圖,開(kāi)始時(shí)按開(kāi)鎖鍵,輸入密碼,如果輸入正確,則開(kāi)鎖成功。初始化按開(kāi)鎖鍵輸入密碼按確認(rèn)鍵所輸入密碼正確?Y開(kāi)鎖開(kāi)鎖開(kāi)始輸入次數(shù)加1次數(shù)3?報(bào)警程序返回返NYN開(kāi)始開(kāi)鎖返回圖4 4開(kāi)鎖流程圖 開(kāi)鎖功能子程序if(sk[15]==1) //提示輸入密碼{GotoXY(0,0);count=0。count1=1。count6=1。sk[14]=0。cp[0]=1。amp。 print(code:*)。}}if((sk[14]==1)amp。(count6==1)) //按下確認(rèn),進(jìn)入校驗(yàn){ //密碼正確if((password[0]==cq[0])amp。(password[2]==cq[2])amp。(password[4]==cq[4])amp。(count==6)){GotoXY(0,0)。sk[14]=0。count2=0。count4=1。DelayMs(1000)。DelayMs(500)。 LCD_Initial()。}else{GotoXY(0,0)。DelayMs(1000)。count=0。count6=0。 p3_6=0。count6=1。DelayMs(100)。p3_6=1。cp[0]=0。本章主要根據(jù)系統(tǒng)功能,介紹了本設(shè)計(jì)的軟件流程圖的設(shè)計(jì),確定系統(tǒng)的總體結(jié)構(gòu)和操作控制過(guò)程,然后介紹了按鍵功能子程序設(shè)計(jì)、密碼設(shè)置子程序設(shè)計(jì)、開(kāi)鎖功能子程序設(shè)計(jì)等。它運(yùn)行于Windows操作系統(tǒng)上,可以仿真、分析各種模擬器件和集成電路,該軟件的特點(diǎn)是:①實(shí)現(xiàn)了單片機(jī)仿真和數(shù)字電路仿真相結(jié)合。②支持主流單片機(jī)系統(tǒng)的仿真。③提供軟件調(diào)試功能。④具有強(qiáng)大的原理圖繪制功能。本章介紹Proteus ISIS軟件的工作環(huán)境和一些基本操作。包括:標(biāo)題欄、主菜單、標(biāo)準(zhǔn)工具欄、繪圖工具欄、狀態(tài)欄、對(duì)象選擇按鈕、預(yù)覽對(duì)象方位控制按鈕、仿真進(jìn)程控制按鈕、預(yù)覽窗口、對(duì)象選擇器窗口、圖形編輯窗口。通過(guò)左側(cè)工具欄中的P(從庫(kù)中選擇元件命令)命令,在Pick Devices 左側(cè)窗口中選擇所需元件的關(guān)鍵字,然后放置元件并調(diào)整方向和位置以及參數(shù)設(shè)置,進(jìn)行連線。圖5 3 Proteus運(yùn)行按鍵在利用Proteus進(jìn)行仿真的條件下,通過(guò)不停的調(diào)試與改正,顯示屏LCD1602不能顯示任何內(nèi)容,最后還是不能實(shí)現(xiàn)密碼鎖的功能,其Proteus仿真如圖56所示。結(jié)論與展望以上為畢業(yè)期間所作的畢業(yè)論文基于單片機(jī)的電子密碼鎖設(shè)計(jì),在著手本次畢業(yè)設(shè)計(jì)時(shí),通過(guò)查閱網(wǎng)絡(luò)與圖書館搜集到的資料,再加上指導(dǎo)老師指點(diǎn),結(jié)合生活中對(duì)密碼鎖的功能特性要求,設(shè)計(jì)出了這一套電子密碼鎖系統(tǒng)的主要硬件結(jié)構(gòu)和軟件結(jié)構(gòu),基本完成了課題的要求。但因?yàn)槲业乃接邢?,此電路中也存在一定的?wèn)題。另外由于畫線、電路問(wèn)題,仿真結(jié)果并未有完成顯示,相關(guān)功能也沒(méi)有實(shí)現(xiàn),所以很遺憾!本次設(shè)計(jì)的電子密碼鎖是以手動(dòng)鍵盤輸入密碼的,通過(guò)這幾個(gè)月對(duì)電子密碼鎖的研究學(xué)習(xí),發(fā)覺(jué)這種密碼輸入方式可以進(jìn)行改革。也可以放棄傳統(tǒng)的按鍵輸入密碼模式,借助傳感器技術(shù)運(yùn)用聲控來(lái)實(shí)現(xiàn)密碼輸入,又或者人臉識(shí)別技術(shù),還有一種就是用戶指紋輸入方式,這些都可以使開(kāi)鎖的時(shí)間更短更方便。通過(guò)本次畢業(yè)設(shè)計(jì)的鍛煉,我學(xué)到了很多有關(guān)電子密碼鎖的設(shè)計(jì)方法與工作原理,鞏固了單片機(jī)知識(shí)。同時(shí)也明白了理論與實(shí)踐相結(jié)合的重要性,只有理論知識(shí)是遠(yuǎn)遠(yuǎn)不夠的,只有把所學(xué)的理論知識(shí)與實(shí)踐相結(jié)合起來(lái),從理論中得出結(jié)論,才能真正為社會(huì)服務(wù),從而提高自己的實(shí)際動(dòng)手能力和獨(dú)立思考的能力。還要感謝的是我們各課任課老師,沒(méi)有你們的諄諄教誨,就沒(méi)有我們學(xué)有所長(zhǎng)的今天。現(xiàn)在即將揮別我的學(xué)校、老師、同學(xué),還有我的大學(xué)生活,雖然依依不舍,但是對(duì)未來(lái)的路,我充滿了信心。s living standards improve and strengthen the sense of security, safety locks system bees essential, therefore a password lock, magnetic locks, electronic locks, laser lock, voiceactivated lock locks, etc., they are On the basis of traditional keys, using one or more passwords, different voices, different magnetic field, different sound, different light beams of different images (such as fingerprints, retina, etc.) to control open the lock. In this paper, using speech recognition technology and keyboard to control the importation of the integration of SCM in Sunplus SPCE061A achieve a voice on the electronic certification system password lock.This system is mainly posed of Sunplus SPCE061A SCM, MIC input circuit, voice output circuit, 4 4 keyboard, six Qiduan LED display and output control and FLASH memory ponents. System is the main function: the training, the speaker39。s personality characteristics and parameters Store, a speaker parameters database. In recognition, will be voice recognition and speaker parameters database matching, voice recognition and plete control of the keyboard, and activate or release of locks, the final pletion of the lock. System is relying on hardware and software to closely cooperate with the Sunplus SPCE061A SCM flexible control achieved. Voice entry due to the interference of external environment, it is possible errors, but through a number of training can make parison and identification of voice greatly improved.The system using a single kernel of Sunplus SPCE061A, the chip has ADC, DAC, timer / counter, RAM, FLASH, and other devices, coupled with appropriate external circuit and supporting Sunplus pany39。 suspension system to support 1 O interrupt vector And l4 from the system can be a clock, timer / counter, time benchmark generator, external interrupt, key wakeup call, Universal Asynchronous serial munication and software interruption interrupt source, Very suitable for realtime applications。nSPTM mand system also provides high puting speed of 16 16bit multiplication instructions and directives within the plot operation, the DSP for the application of additional features in a plex digital signal processing both Very convenient than the DSP chip for much cheaper.SPCE061A builtin 8channel 1 Obit A / D converter, which will be seven channels for analog signals (such as voltage signal) converted to digital signals, a channel used only for voice input, through the builtin automatic gain control amplifier The microphone channels (MICIN) input. Therefore, it can be directly given to the voice signal input channels, the pletion of 8 kHz voice signals in the collection, encoding and storage to offchip FLASH, simplifying the circuit design.Sunplus SPCE061A MCU with audio output of dualchannel 1 Obit D / A converters can plete user training, identification of various operations, such as the voice prompts. SPCE061A provide audio lose A way for the dualchannel DAC, in this manner, DAC1 and DAC2 conversion of analog current output signal passed AUD1 and AUD2pin output, enter the number of volume into the PDAC1 (write) (0 x7017) and P DAC2 (write) (0 x7016) unit.LED displays in each LED through 5 ~ 20mA current to achieve the normal brightness, and the IO I SPCEO61A output current up to 5 mA, do not have to drive circuit to reach normal brightness. In order to meet the reliability of systems design, driven by a tran
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1