【正文】
應用程序的整合,用手機控制家里部分設備,進而代替以前用的遙控器,更加方便智能的控制家里設備。于是,該系統(tǒng)將從理論方面進一步加深,使用目前比較先進的技術,用現(xiàn)在應用廣泛的手機安卓系統(tǒng)來操作。 2 基于安卓的燈光與冰箱的智能控制系統(tǒng),可以實現(xiàn)對燈光亮度的不同要求,并且可以設置定時功能 [2],也可以實現(xiàn)對冰箱溫度的控制,無論在家里的哪個地方都可以輕松控制電燈、冰箱,適用度很高。隨著智能家居的發(fā)展,人們的家庭生活有了很大的變化,過去的電燈只能發(fā)出固定的亮度,如果想要關燈,還必須走到開關處手動關掉,有的開關是安裝在墻上,有的是用繩子拴著,這種開關模式對于老人很不方便 ?;诖颂岢鲆环N以安卓手機為平臺 ,藍牙無線技術為通信方式的燈光與冰箱的智能控制系統(tǒng)設計方案。 傳統(tǒng)的照明控制和冰箱的控制已經(jīng)不能滿足人們的需求。 之前有過這樣的幻想,不用走到電器的開關前就可以控制家里的電器,用遙控器控制家里的電器,這個已經(jīng)實現(xiàn)了。但是這些照明系統(tǒng)不僅操作起來比較復雜 ,而且功耗高。由于人們對家庭住宅觀念發(fā)生了變化,“物聯(lián)網(wǎng)”這一新興產(chǎn)業(yè)被認為是下一個億萬級產(chǎn)業(yè),而智能家居燈光及冰箱控制作為其研究的一部分。 目 錄 一、論文( 設計 )正文 ........................................... 1 1 緒論 ........................................................ 1 課題背景及研究意義 .......................................... 1 課題的設計目的 .............................................. 2 課題的主要工作 .............................................. 2 2 需求分析 .................................................... 4 可行性分析 .................................................. 4 功能需求 .................................................... 4 可靠性和可用性需求 .......................................... 5 3 總體分析 .................................................... 6 系統(tǒng)設計原理 ................................................ 6 方案選擇 .................................................... 6 系統(tǒng)設計方案 .............................................. 6 電源模塊設計方案 .......................................... 8 顯示模塊設計方案 .......................................... 8 通信模塊設計方案 .......................................... 9 系統(tǒng)組成 .................................................... 9 4 系統(tǒng)硬件設計 ................................................ 10 控制電路模塊 ............................................... 10 STC89C52 單片機結構和原理 ................................ 10 時鐘電路 ................................................. 11 復位電路 ................................................. 12 HC06 藍牙模塊 ............................................. 12 HC06 藍牙模塊工作原理 ................................... 12 HC06 藍牙模塊工作參數(shù) ................................... 13 HC06 藍牙模塊連接方式 ................................... 14 LCD1602 液晶顯示 模塊 ....................................... 14 LCD1602 液晶管腳 ......................................... 14 LCD1602 液晶工作原理 ..................................... 15 電源模塊 ................................................... 16 燈光控制模塊 ............................................... 17 冰箱溫度控制模塊 ........................................... 17 5 系統(tǒng)軟件設計 ................................................ 18 系統(tǒng)功能結構 ............................................... 18 主程序設計 ................................................. 18 LED 燈光控制函數(shù) ........................................... 25 冰箱溫度控制函數(shù) ........................................... 27 LCD1602 顯示屏的顯示函數(shù) ................................... 30 6 系統(tǒng)安裝與測試 .............................................. 33 系統(tǒng)硬件測試 ............................................... 33 系統(tǒng)軟件測試 ............................................... 33 7 總結 ....................................................... 37 參考文獻 ..................................................... 38 謝 辭 ...................................................... 39 二、附錄 ..................................................... 40 寶雞文理學院本科畢業(yè)設計開題報告 ............................... 40 寶雞文理學院本科畢業(yè)設計結題報告 ............................... 41 寶雞文理學院本科畢業(yè)設計答辯過程記錄 ........................... 43 寶雞文理學院本科畢業(yè)設計答辯評分表 ............................. 42 1 1 緒論 從計算機到互聯(lián)網(wǎng)的變革,再從互聯(lián)網(wǎng)到移動通信的變革后,世界信息產(chǎn)業(yè)革命使人們對生活的安全、舒適、便捷等方面的要求也逐漸提升。 Bluetooth。 關鍵詞 : 安卓;智能控制;藍牙; 傳感器; II The Lights and Refrigerators Intelligent Control System Based On Android Abstract: From puter to the Inter, and then from the Inter to the mobile munication after the change, the world’s information industry revolution made people’s life safety, fortable, convenient requirements also gradually improve. In order to facilitate the elderly and the disabled people, specially designed the lights and refrigerators intelligent control system based on android, don’t have to go to the front of the electrical switch, which can control the electric. Such as, control the lights and refrigerators. This system aims at the intelligent lighting, refrigerator control in the intelligent home system, which designs a control system of intelligent light and refrigerator based on STC89C52 single chip microputer. The lighting and refrigerator intelligent control system mainly plete with remote control the switch of the light, which adjust the brightness of the light and remote control the temperature of the refrigerator, in order to better observation data and increased the display function, the mobile phone set data via Bluetooth serial assistant and Bluetooth module for data transmission, the Bluetooth module receives the data and then displayed on the LCD1602 screen. The lights and refrigerators intelligent control system use battery powered, using a Android mobile phone system via Bluetooth serial port assistant software and Bluetooth module HC06 munication control LED lamp, refrigerator and displayed on the LCD1602 screen, and then realize the lamp and refrigerator intelligent control. The system bines intelligent lighting and refrigerator temperature control, which saves energy while operating conveniently. It also fits with the lighting and refrigerator well in control the ideal intelligent. Keywords: Android。該燈光與冰箱的智能控制系統(tǒng)采用干電池供電,運用一部安卓系統(tǒng)的手機通過藍牙串口助手軟件與 HC06 藍牙模塊通信控制 LED 燈以及冰箱并在 LCD1602 液晶上顯示,進而實現(xiàn)燈管與冰箱控制的智能化。 該系統(tǒng)是針對智能家居系統(tǒng)中智能燈光與智能冰箱控制的需求,設計了一個基于 STC89C52 單片機的智能燈光與冰箱的控制系統(tǒng)。 I 基于安卓的燈光與冰箱智能控制系統(tǒng) 摘要: 從計算機到互聯(lián)網(wǎng)的變革,再從互聯(lián)網(wǎng)到移動通信的變革后,世界信息產(chǎn)業(yè)革命使人們對生活的安全、舒適、便捷等方面的要求也逐漸提升。為了方便老人及行動不便的人,特別設計了基于安卓的燈光與冰箱智能控制系統(tǒng),可以不用走到電器的開關前就可已控制家里的電器,例如,對電燈和冰箱的控制。該智能燈光與冰箱的控制系統(tǒng)主要完成遠程控制燈光的亮滅、對燈光進行亮度調節(jié)以及遠程 控制冰箱的溫度,為了更好的觀測數(shù)據(jù)又增加了顯示功能,將手機上設