【正文】
應(yīng)用程序的整合,用手機(jī)控制家里部分設(shè)備,進(jìn)而代替以前用的遙控器,更加方便智能的控制家里設(shè)備。于是,該系統(tǒng)將從理論方面進(jìn)一步加深,使用目前比較先進(jìn)的技術(shù),用現(xiàn)在應(yīng)用廣泛的手機(jī)安卓系統(tǒng)來操作。 2 基于安卓的燈光與冰箱的智能控制系統(tǒng),可以實現(xiàn)對燈光亮度的不同要求,并且可以設(shè)置定時功能 [2],也可以實現(xiàn)對冰箱溫度的控制,無論在家里的哪個地方都可以輕松控制電燈、冰箱,適用度很高。隨著智能家居的發(fā)展,人們的家庭生活有了很大的變化,過去的電燈只能發(fā)出固定的亮度,如果想要關(guān)燈,還必須走到開關(guān)處手動關(guān)掉,有的開關(guān)是安裝在墻上,有的是用繩子拴著,這種開關(guān)模式對于老人很不方便 。基于此提出一種以安卓手機(jī)為平臺 ,藍(lán)牙無線技術(shù)為通信方式的燈光與冰箱的智能控制系統(tǒng)設(shè)計方案。 傳統(tǒng)的照明控制和冰箱的控制已經(jīng)不能滿足人們的需求。 之前有過這樣的幻想,不用走到電器的開關(guān)前就可以控制家里的電器,用遙控器控制家里的電器,這個已經(jīng)實現(xiàn)了。但是這些照明系統(tǒng)不僅操作起來比較復(fù)雜 ,而且功耗高。由于人們對家庭住宅觀念發(fā)生了變化,“物聯(lián)網(wǎng)”這一新興產(chǎn)業(yè)被認(rèn)為是下一個億萬級產(chǎn)業(yè),而智能家居燈光及冰箱控制作為其研究的一部分。 目 錄 一、論文( 設(shè)計 )正文 ........................................... 1 1 緒論 ........................................................ 1 課題背景及研究意義 .......................................... 1 課題的設(shè)計目的 .............................................. 2 課題的主要工作 .............................................. 2 2 需求分析 .................................................... 4 可行性分析 .................................................. 4 功能需求 .................................................... 4 可靠性和可用性需求 .......................................... 5 3 總體分析 .................................................... 6 系統(tǒng)設(shè)計原理 ................................................ 6 方案選擇 .................................................... 6 系統(tǒng)設(shè)計方案 .............................................. 6 電源模塊設(shè)計方案 .......................................... 8 顯示模塊設(shè)計方案 .......................................... 8 通信模塊設(shè)計方案 .......................................... 9 系統(tǒng)組成 .................................................... 9 4 系統(tǒng)硬件設(shè)計 ................................................ 10 控制電路模塊 ............................................... 10 STC89C52 單片機(jī)結(jié)構(gòu)和原理 ................................ 10 時鐘電路 ................................................. 11 復(fù)位電路 ................................................. 12 HC06 藍(lán)牙模塊 ............................................. 12 HC06 藍(lán)牙模塊工作原理 ................................... 12 HC06 藍(lán)牙模塊工作參數(shù) ................................... 13 HC06 藍(lán)牙模塊連接方式 ................................... 14 LCD1602 液晶顯示 模塊 ....................................... 14 LCD1602 液晶管腳 ......................................... 14 LCD1602 液晶工作原理 ..................................... 15 電源模塊 ................................................... 16 燈光控制模塊 ............................................... 17 冰箱溫度控制模塊 ........................................... 17 5 系統(tǒng)軟件設(shè)計 ................................................ 18 系統(tǒng)功能結(jié)構(gòu) ............................................... 18 主程序設(shè)計 ................................................. 18 LED 燈光控制函數(shù) ........................................... 25 冰箱溫度控制函數(shù) ........................................... 27 LCD1602 顯示屏的顯示函數(shù) ................................... 30 6 系統(tǒng)安裝與測試 .............................................. 33 系統(tǒng)硬件測試 ............................................... 33 系統(tǒng)軟件測試 ............................................... 33 7 總結(jié) ....................................................... 37 參考文獻(xiàn) ..................................................... 38 謝 辭 ...................................................... 39 二、附錄 ..................................................... 40 寶雞文理學(xué)院本科畢業(yè)設(shè)計開題報告 ............................... 40 寶雞文理學(xué)院本科畢業(yè)設(shè)計結(jié)題報告 ............................... 41 寶雞文理學(xué)院本科畢業(yè)設(shè)計答辯過程記錄 ........................... 43 寶雞文理學(xué)院本科畢業(yè)設(shè)計答辯評分表 ............................. 42 1 1 緒論 從計算機(jī)到互聯(lián)網(wǎng)的變革,再從互聯(lián)網(wǎng)到移動通信的變革后,世界信息產(chǎn)業(yè)革命使人們對生活的安全、舒適、便捷等方面的要求也逐漸提升。 Bluetooth。 關(guān)鍵詞 : 安卓;智能控制;藍(lán)牙; 傳感器; 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)的手機(jī)通過藍(lán)牙串口助手軟件與 HC06 藍(lán)牙模塊通信控制 LED 燈以及冰箱并在 LCD1602 液晶上顯示,進(jìn)而實現(xiàn)燈管與冰箱控制的智能化。 該系統(tǒng)是針對智能家居系統(tǒng)中智能燈光與智能冰箱控制的需求,設(shè)計了一個基于 STC89C52 單片機(jī)的智能燈光與冰箱的控制系統(tǒng)。 I 基于安卓的燈光與冰箱智能控制系統(tǒng) 摘要: 從計算機(jī)到互聯(lián)網(wǎng)的變革,再從互聯(lián)網(wǎng)到移動通信的變革后,世界信息產(chǎn)業(yè)革命使人們對生活的安全、舒適、便捷等方面的要求也逐漸提升。為了方便老人及行動不便的人,特別設(shè)計了基于安卓的燈光與冰箱智能控制系統(tǒng),可以不用走到電器的開關(guān)前就可已控制家里的電器,例如,對電燈和冰箱的控制。該智能燈光與冰箱的控制系統(tǒng)主要完成遠(yuǎn)程控制燈光的亮滅、對燈光進(jìn)行亮度調(diào)節(jié)以及遠(yuǎn)程 控制冰箱的溫度,為了更好的觀測數(shù)據(jù)又增加了顯示功能,將手機(jī)上設(shè)