【正文】
摘要 I 摘 要 隨著 信息 科技的日益發(fā)展,智能家居逐漸得到普及,而遠程家電控制系統(tǒng)則是智能家居的一個重要組成部分。 本系統(tǒng)設計的是由用戶通過撥打家里的電話來實現(xiàn)遠程控制家用電器。本系統(tǒng)是以AT89S52 為控制核心,通過振鈴檢測來實現(xiàn)模擬摘掛機;通過音芯片 ISD4004 完成語音的錄制和播放,用來提示用戶進行密碼輸入等一系列的操作;通過解碼芯片 MT8870 對DTMF 信號進行解碼,用按鍵操作來實現(xiàn)密碼輸入及對控制對象的選擇;通過 ZigBee模塊組網(wǎng)來實現(xiàn)對具體家用電的控制。 并 結合具體的軟件程序實現(xiàn)了遠程家電控制系統(tǒng)。 振鈴檢測及模擬摘掛機部分則是本文的重點。系統(tǒng)通過設計了一個具有整流、濾波、穩(wěn)壓等一系列功能的模擬電路以及相應的軟件程序來實現(xiàn)對電話線路中鈴流信號的檢測和模擬摘掛機。 并 通過 實際測試,最終實現(xiàn)了振鈴信號檢測及模擬摘掛機的功能。 關鍵詞 : 遠程家電控制;模擬摘掛機; MT8870; ISD4004; ZigBee Abstract II Abstract With the increasing development of information technology, smart home gradually gained popularity, and the remote appliance control system is the smart home is an important ponent. This system is designed by the user by calling your home phone to remote control home appliances. The system is based AT89S52 as the control center via the ring detection to achieve analog hook。 through a plete voice chip ISD4004 voice recording and pla yback, used to prompt the user for the password input and a series of operations。 through the decoder chip MT8870 DTMF signals on decode the password with the key operation to achieve the object of the control input and choice。 through working ZigBee module to achieve the specific household electric control. Combined with specific software programs to achieve the remote appliance control system. Ring detection and analogue hook part is the focus of this article. By designing a system with a rectifier, filter, regulator and a series of functional analog circuits and the software program to achieve the ringing signal on the telephone line and the analog detection hook. Through the actual test, and finally realize the ringing signal detection and simulation pick hang up function. Keywords: remote control of home appliances。 analog hook and hang up。 MT8870。 ISD4004。 ZigBee 目錄 目 錄 摘 要 ......................................................................................................................................... I Abstract ....................................................................................................................................II 1 緒 論 .................................................................................................................................. 1 設計背景 .................................................................................................................... 1 發(fā)展現(xiàn)狀 .................................................................................................................... 2 功能及特點 ................................................................................................................ 3 2 總體設計 .............................................................................................................................. 4 硬件設計 .................................................................................................................... 4 主要芯片 ............................................................................................................ 4 振鈴檢測及模擬摘掛機模塊 ............................................................................ 9 DTMF 信號解碼模塊 ......................................................................................... 9 語音提示模塊 .................................................................................................. 11 控制模塊 .......................................................................................................... 12 軟件設計 .................................................................................................................. 12 振鈴計數(shù)部分 .................................................................................................. 14 語音提示部分 .................................................................................................. 14 密碼服務部分 .................................................................................................. 19 控制部分 .......................................................................................................... 20 3 詳細設計 ............................................................................................................................ 21 振鈴檢測部分 .......................................................................................................... 21 振鈴信號 .......................................................................................................... 22 檢測原理 .......................................................................................................... 22 整流模塊 .......................................................................................................... 23 濾波模塊 .......................................................................................................... 27 穩(wěn)壓模塊 .......................................................................................................... 30 光耦模塊 .......................................................................................................... 32 觸發(fā)器模塊 ...................................................................................................... 33 模擬摘掛機部分 ...................................................................................................... 35 繼電器模塊 ...................................................................................................... 35 摘掛機模塊 ...................................................................................................... 36 目錄 4 系統(tǒng)調試 ............................................................................................................................ 37 結 論 ...................................................................................................................................... 40 致 謝 ...................................................................................................................................... 4