資源描述:
《基于單片機(jī)的紅外遙控窗簾設(shè)計(jì)論文(含c語言源程序)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、摘要隨著電子技術(shù)和自動(dòng)化技術(shù)的發(fā)展,人們對(duì)生活質(zhì)量的要求越來越高。家用電器產(chǎn)品也在不斷的更新?lián)Q代。從始初的晶體管、到電子管;由模擬到數(shù)字;由分立元件到集成電路;從普通向高性能、多功能型;由手動(dòng)控制向紅外線遙控、向智能化發(fā)展。此次要設(shè)計(jì)的就是紅外遙控窗簾。它是采用89C2051單片機(jī)的最小系統(tǒng)設(shè)計(jì),控制一個(gè)220V的可逆、直流電動(dòng)機(jī)控制窗簾的拉開和關(guān)閉。紅外遙控的重點(diǎn)就在紅外發(fā)送和接收及編碼與解碼問題。所以討論的重點(diǎn)也就是這些個(gè)方面。當(dāng)今專用的紅外發(fā)送和接收器件非常多,編碼與解碼的方法也很多,所以要根據(jù)實(shí)際的情況來選取合適的發(fā)送、接收器件和編碼、解碼方法。除此之外,還要
2、了解單片機(jī)的接口技術(shù)的應(yīng)用和單片機(jī)的抗干擾方法。接口方面主要介紹單片機(jī)的串口??垢蓴_技術(shù)有:指令冗余、攔截技術(shù)、軟件陷阱的設(shè)計(jì)、軟件“看門狗”技術(shù)等。關(guān)鍵詞:遙控,紅外線,編碼,抗干擾,智能,串行口38ABSTEACTWiththedevelopmentofelectronictechnologyandautomatictechnology,peoplehavemoreandmorehighexpectationsforlifequality.Thehomeelectricequipmentproductsareinconstantupdatetoo.Fromthet
3、ransistorofthebeginningofbeginning,totheelectrontube;Imitatedittothefigure;Fromthediscretecomponenttotheintegratedcircuit;Fromordinarytohighperformance,multi-functionaltype;Bymanualtocontroltoinfraredrayremotecontrol,tointelligenttodevelop.Thisonethatdesignedlessimportantisaninfraredrem
4、otecontrolcurtain.Itadoptminimumsystem,89C2051ofMCUdesign,controlone220Vreversiblechangingspeedthemotorcontroltodrawbackandshutoffthecurtain.[27]Infraredfocalpointofremotecontrolininfraredtosendwithreceivingandcodeanddecodetheissue.Sofocalpointthatdiscussthe.Aspecial-purposeoneinfraredt
5、osendandreceivedeviceverymore,codeandmethodthatdecodetooalotofnowadays,sowillchoosesuitablesending,receivingthedevice,code,decodingmethodaccordingtotherealsituation.Inaddition,shouldunderstandtheapplicationoftheinterfacetechnologyoftheone-chipcomputerandone-chipcomputeranti-interference
6、method.Interfacerespectintroducesoneclusterofmouthsoftheone-chipcomputermainly.Anti-interferencetechnologyisasfollows,orderredundancy,interceptiontechnology,design,software,softwareoftrap“guardthegatedog"technology,etc.Keywords:Remotecontrol,Infraredray,Code,Anti-interference,Intelligen
7、ce,Serialmouth38目錄摘要IABSTEACTII1緒論12概述22.1選題背景22.2設(shè)計(jì)思路33紅外遙控電路原理及編碼解碼53.1電路原理53.2紅外遙控解碼原理84單片機(jī)介紹124.1單片機(jī)簡(jiǎn)介與接口技術(shù)124.2單片機(jī)抗干擾技術(shù)165實(shí)際電路設(shè)計(jì)215.1窗簾控制器原理圖215.2工作原理解說215.3遙控器按鍵功能24總結(jié)與展望26致謝27參考文獻(xiàn)28附錄131附錄235381緒論當(dāng)今,計(jì)算機(jī)技術(shù)帶來了科研和生產(chǎn)的許多重大飛躍,微型計(jì)算機(jī)的應(yīng)用已滲透到生產(chǎn)、生活的各個(gè)方面。其中單片機(jī)問世不久,然而體積小、廉價(jià)、功能強(qiáng),其銷售額每