【正文】
、網(wǎng)絡(luò)通信、信息家電、設(shè)備自動化,集系統(tǒng)、結(jié)構(gòu)、服務(wù)、管理為一體的高效、舒適、安全、便利、環(huán)保的居住環(huán)境,盡顯便捷將家中的各種設(shè)備(如音視頻設(shè)備、照明系統(tǒng)、窗簾控制、空調(diào)控制、安防系統(tǒng)、數(shù)字影院系統(tǒng)、網(wǎng)絡(luò)家電等)通過家庭網(wǎng)絡(luò)連接到一起。該窗簾控制器采用89s52的最小系統(tǒng)設(shè)計,控制一個5v直流電動機控制窗簾的拉開和關(guān)閉。紅外線窗簾遙控控制器是我廠最新研制的一種高科技產(chǎn)品,它不但取代原有的無線遙控窗簾控制器,而且工作可靠, 4種不同的工作方式任意選擇,數(shù)字自動測試環(huán)境亮度,整點報時,電機工作鳴響提示,數(shù)碼時鐘等功能,滿足不同用戶的需要。單片機在電子產(chǎn)品中的應(yīng)用已經(jīng)越來越廣泛,在很多的電子產(chǎn)品中也用到了紅外控制。高精度、多功能、低功耗,是現(xiàn)代科技發(fā)展的趨勢。人們對家居的要求早已不只是物理空間,更為關(guān)注的是一個安全、方便、舒適的居家環(huán)境。 窗簾紅外遙控設(shè)計目的隨著社會信息化的加快,人們的工作、生活和通訊、信息的關(guān)系日益緊密。隨著窗簾紅外控制器應(yīng)用范圍的日益廣泛和多樣,各種適用于不同場合的窗簾控制器應(yīng)運而生。在這種趨勢下,窗簾的數(shù)字化、智能化已經(jīng)成為現(xiàn)代生產(chǎn)研究的主導(dǎo)設(shè)計方向。隨著電子技術(shù)產(chǎn)業(yè)結(jié)構(gòu)調(diào)整,生產(chǎn)工藝的飛速發(fā)展,人們生活水平的不斷提高,家用電器逐漸普及,市場對于紅外遙控控制系統(tǒng)的需求也越來越大。信息化社會在改變?nèi)藗兩罘绞脚c工作習(xí)慣的同時,也對傳統(tǒng)的住宅提出了挑戰(zhàn),社會、技術(shù)以及經(jīng)濟的進步更使人們的觀念隨之巨變。還由原來的被動靜止結(jié)構(gòu)轉(zhuǎn)變?yōu)榫哂心軇又腔鄣墓ぞ?,提供全方位的信息交互功能,幫助家庭與外部保持信息交流暢通,優(yōu)化人們的生活方式,幫助人們有效安排時間,增強家居生活的安全性,甚至為各種能源費用節(jié)約資金。AbstractAs electronic technology industrial restructuring, the rapid development of production technology, continuous improvement of living standard, household appliances became more mon, the market for infrared remote control system demand is growing. Highprecision, multifunction, low power consumption, is the modern trend of technological development. In this trend, the number of curtains, intelligence has bee a modern production of the dominant design direction. 10 000 with the remote storage has a lot of home appliances remote control codes, the biggest disadvantage is that flexibility is poor, even using the same remote control chip remote control can select a different identification number (customer code) and the mand code (data code), which is almost countless kind of specific use. Combined with the new remote control codes emerging new appliance models, leading to use of application specific integrated circuit (ASIC) or a cover model for SCM (MaskROM MPU) chips produced by the Federationpurpose remote control for some equipment, but more and more devices can not work. Learning is the original home appliances remote control learning remote at the receiver one by one remote control button, which accurately record the waveform of the remote control, then the waveform reconstruction applications, launch out. This has the advantage of versatility, drawback is the remote control base within the memory capacity of the very limited, generally only record the waveform dozens of keys, replacement of equipment is even more relearning. Appliance controller as a universal remote control is not specific to the chip as an application, and each code for each function, do not need a learning remote so as to mechanically record the waveform of each button, but integrated remote control encoding characteristics of the many factors that form the word, will need to change some of the data encoded by a separate PC, software to deal with significant savings in data storage and entirely without losing generality. This way you have already had to overe the advantages of both the corresponding shortings. MCU in the application of electronic products have been widely used in many electronic products also use the infrared control. As the curtain infrared controller applications bee increasingly wide and diverse range, all for different occasions curtain controller came into being. Infrared remote control curtain is a newly developed hightech products, which not only replace the original controller, wireless remote control curtains, and be more reliable, 4 arbitrary choice of different ways of working, digital automatic test environment brightness, the whole point of the newspaper Electrical work ringing tips, digital clock and other functions to meet the needs of different usersKey words: infrared remote control, timing, events, programming引 言智能家居,或稱智能住宅,以住宅為平臺,兼?zhèn)浣ㄖ⒕W(wǎng)絡(luò)通信、信息家電、設(shè)備自動化,集系統(tǒng)、結(jié)構(gòu)、服務(wù)、管理為一體的高效、舒適、安全、便利、環(huán)保的居住環(huán)境,盡顯便捷將家中的各種設(shè)備(如音視頻設(shè)備、照明系統(tǒng)、窗簾控制、空調(diào)控制、安防系統(tǒng)、數(shù)字影院系統(tǒng)、網(wǎng)絡(luò)家電等)通過家庭網(wǎng)絡(luò)連接到一起。隨著窗簾紅外控制器應(yīng)用范圍的日益廣泛和多樣,各種適用于不同場合的窗簾控制器應(yīng)運而生。這樣一來就具備了二者的優(yōu)點而克服了相應(yīng)的缺點。這樣的優(yōu)點是通用性強,缺點是遙控器內(nèi)存儲器的容量極基有限,一般只能記錄數(shù)十人鍵的波形,更換設(shè)備就更重新學(xué)習(xí)。新的遙控編碼組合隨新的家電機型層出不窮,導(dǎo)致采用專用集成電路(ASIC)或掩模型單片機(MaskROM MPU)制作的萬用遙控芯片總會對一些設(shè)備,而且是越來越多的設(shè)備無法起作用。在這種趨勢下,窗簾的數(shù)字化、智能化已經(jīng)成為現(xiàn)代生產(chǎn)研究的主導(dǎo)設(shè)計方向。45目錄中文摘要…………………………………………………………………………2引 言 …………………………………………………………………………4第1章 概述……………………………………………………………………4 選題意義…………………………………………………………………4 窗簾紅外遙控設(shè)計目的…………………………………………………4 窗簾紅外遙控完成的功能…………………………………………………5 智能家居的現(xiàn)狀與發(fā)展…………………………………………………5第2章 設(shè)計基礎(chǔ)………………………………………………………………6 單片機的簡介、原理及引腳功能………………………………………6 單片機的現(xiàn)狀……………………………………………………………10 紅外控制的工作原理和應(yīng)用……………………………………………13第3章 總體方案設(shè)計…………………………………………………………第4章 硬件設(shè)計……………………………………………………………… 紅外遙控電路原理……………………………………………………… 紅外遙控解碼原理……………………………………………………… 紅外編碼及接收電路…………………………………………………… 單片機時鐘電路和復(fù)位電路…………………………………………… 電機的驅(qū)動及AT7267BP的使用………………………………………第5章 軟件設(shè)計……………………………………………………………… 主程序設(shè)計……………………………………………………………… 數(shù)據(jù)處理子程序…………………………………………………………第7章 安裝和調(diào)試……………………………………………………………第8章 總結(jié)……………………………………………………………………第9章 參考文獻………………………………………………………………附錄………………………………………………………………………………中 文 摘 要隨著電子技術(shù)產(chǎn)業(yè)結(jié)構(gòu)調(diào)整,生產(chǎn)工藝的飛速發(fā)展,人們生活水平的不斷提高,家用電器逐漸普及,市場對于紅外遙控控制系統(tǒng)的需求也越來越大。高精度、多功能、低功耗,是現(xiàn)代科技發(fā)展的趨勢。萬用遙控器存儲有很多家電遙控器的編碼,最大缺點是靈活性差,即使是采用同一遙控芯片的遙控器可以選取不同的識別碼(客戶碼)和命令碼(數(shù)據(jù)碼),從而構(gòu)成幾乎無數(shù)種具體的用法。學(xué)習(xí)型遙控器是將原家電遙控器對準學(xué)習(xí)型遙控器的接收器逐一按鍵,從而準確地記錄該遙控器的波形,應(yīng)用時再將這一波形再現(xiàn)、發(fā)射出去。 家電控制器不象萬用遙控器那樣具體到芯片的每一種應(yīng)用以及每個碼的功能,也不需要象學(xué)習(xí)型遙控器那樣機械地記錄每個按鍵的波形,而是綜合了遙控編碼方式的諸多因素形成特征字,將需要改變的部分數(shù)據(jù)編碼分離出來由PC機軟件去處理,極大地節(jié)省了數(shù)據(jù)存儲量而又完全不失通用性。單片機在電子產(chǎn)品中的應(yīng)用已經(jīng)越來越廣泛,在很多的電子產(chǎn)品中也用到了紅外控制。紅外線窗簾遙控控制器是最新研制的一種高科技產(chǎn)品,它不但取代原有的無線遙控窗簾控制器,而且工作可靠,4種不同的工作方式任意選擇,數(shù)字自動測試環(huán)境亮度,整點報時,電機工作鳴響提示,數(shù)碼時鐘等功能,滿足不同用戶的需要。與普通家居相比,智能家居不僅具有傳統(tǒng)的居住功能,提供舒適安全、高品位且宜人的家庭生活空間。第1章 概述 選題意義隨著社會信息化的加快,人們的工作、生活和通訊、信息的關(guān)系日益緊密。人們對家居的要求早已不只是物理空間,更為關(guān)注的是一個安全、方便、舒適的居家環(huán)境。高精度、多功能、低功耗,是現(xiàn)代科技發(fā)展的趨勢。單片機在電子產(chǎn)品中的應(yīng)用已經(jīng)越來越廣泛,在很多的電子產(chǎn)品中也用到了紅外控制。紅外線窗簾遙控控制器是我廠最新研制的一種高科技產(chǎn)品,它不但取代原有的無線遙控窗簾控制器,而且工作可靠, 4種不同的工作方式任意選擇,數(shù)字自動測試環(huán)境亮度,整點報時,電機工作鳴響提示,數(shù)碼時鐘等功能,滿足不同用戶的需要。信息化社會在改變?nèi)藗兩罘绞脚c工