【正文】
II THE FAMILY SECURITY ALARM SYSTERM DESIGN BASED ON GSM ABSTRACT This graduation design paper about a MCU and GSM module and some sensors detect the state of the environment of a phone/SMS alarm system. Based on GSM alarm system is a new type of alarm, when the monitoring object to set value, alarm control system will automatically reflect the situation in the form of text messages or phone calls to your mobile phone number of deposited on mobile phones, remote monitoring, close alarm buzzer alarm at the same time to realize. This design using STC89C52RC as the main controller system, using DS18B20 digital temperature sensor, digital humidity sensor DHT11, MQ 2 smoke sensor as the detecting element the physical properties of the testing environment, and then use LCD12864 LCD display sensors measured values. When the system is working, if sensors numerical more than set value system will automatically through GSM munication module and MCU munication can realize the function of family security alarm, is it dangerous to timely control of the family, if yes, can take timely measures to deal with, to avoid some unnecessary danger happening. KEYWORDS Smoke alarm/Temperature alarm/GSM/STC89C52RC 目 錄 摘 要 ..................................................... I ABSTRACT .................................................. II 1 緒論 ..................................................... 1 本設(shè)計的研究背景及意義 ............................... 1 設(shè)計要求與預(yù)期結(jié)果 ................................... 1 2 系統(tǒng)總體設(shè)計及論證 ....................................... 2 控制器選定與論證 .................................... 2 顯示模塊的選定與論證 ................................ 2 傳感器檢測模塊的選定 ................................. 3 溫度傳感器的選定 ........................................... 3 濕度傳感器的選定 ........................................... 3 煙霧傳感器的選定 ........................................... 4 GSM 通訊模塊選定 ..................................... 4 電源模塊選定與論證 ................................... 4 按鍵設(shè)置的選定與論證 ................................ 5 系統(tǒng)總體設(shè)計框圖 .................................... 6 3 系統(tǒng)硬件設(shè)計 .............................................. 7 單片機(jī)最小系統(tǒng) ...................................... 7 STC89C52RC 單片機(jī)簡介 ...................................... 7 單片機(jī)復(fù)位電路 ............................................. 8 單片機(jī)晶振電路 ............................................. 9 液晶顯示器 12864 .................................... 10 LCD12864 液晶顯示器簡介 ................................... 10 液晶顯示電路 ............................................. 11 溫度傳感器 ......................................... 11 DS18B20 溫度傳感器簡介 .................................... 11 DS18B20 檢測電路 .......................................... 12 濕度傳感器 ......................................... 13 DHT11 濕度傳感器簡介 ...................................... 13 DHT11 傳感器檢測電路 ...................................... 13 煙霧傳感器 ......................................... 14 MQ2 煙霧傳感器簡介 ....................................... 14 MQ2 傳感器檢測電路 ....................................... 15 時鐘電路設(shè)計 ....................................... 16 DS1302 時鐘芯片簡介 ....................................... 16 DS1302 時鐘電路 ........................................... 17 穩(wěn)壓電源設(shè)計 ....................................... 17 SIM900A 模塊簡介 .................................... 18 4 軟件設(shè)計 ................................................ 19 軟件設(shè)計流程圖 ...................................... 19 溫度報警軟件設(shè)計 .................................... 20 火焰報警軟件設(shè)計 .................................... 20 GSM 電話短信軟件設(shè)計 ................................ 21 5 系統(tǒng)調(diào)試與結(jié)果 ........................................... 23 致 謝 .................................................... 25 參考文獻(xiàn) .................................................. 26 附 錄 1 .................................................. 27 附 錄 2 .................................................. 28 附 錄 3 .................................................. 29