【正文】
廣州大學(xué)松田學(xué)院 畢業(yè)論文(設(shè)計(jì)) 題 目 基于單片機(jī)的紅外鬧鐘裝置設(shè)計(jì)與實(shí)現(xiàn) 二○一三 年 六 月 基于 STC89C52 單片機(jī)的紅外鬧鐘裝置設(shè)計(jì)與實(shí)現(xiàn) 摘要 : 隨著生活節(jié)奏的提高,事務(wù)必的繁多,人們?cè)絹?lái)越離不開(kāi)電子產(chǎn)品的定時(shí)提醒功能,而最典型的就是早晨的鬧鐘喚醒,很多人有賴床和睡回籠覺(jué)的壞習(xí)慣,影響上班上學(xué),本文中將針對(duì)此部分人群設(shè)計(jì)一款具有強(qiáng)制喚醒功能的智能感應(yīng)鬧鐘。 單片機(jī)適用于機(jī)電一體化的智能產(chǎn)品,控制功能強(qiáng),而熱釋電晶體作為 紅外激光的一種較理想的探測(cè)器,被廣泛應(yīng)用到各種自動(dòng)化控制裝置中, 本設(shè)計(jì)基于以智能化強(qiáng)制喚醒方式,防止懶人賴床的設(shè)計(jì)理念,以 STC89C52單片機(jī)控制為核心,結(jié)合 DS1302時(shí)鐘芯片, 1602 LCD液晶屏,按鍵電路,熱釋電紅外傳感器模塊,周期性遮光裝置。除了基本的鬧鐘功能,可以設(shè)置并且顯示年、月、日、時(shí)、分、秒、星期,主要實(shí)現(xiàn)智能紅外感應(yīng)功能,到達(dá)設(shè)置時(shí)間,能自能檢測(cè)床上一定范圍內(nèi)有無(wú)存在人體,有則驅(qū)動(dòng)鬧鈴并延時(shí)檢測(cè),無(wú)則延時(shí)感應(yīng)檢測(cè)。設(shè)計(jì)特色在于鬧鐘理念的創(chuàng)新,及熱釋電紅外傳感器對(duì)靜止人體的感應(yīng)敏感度低的 問(wèn)題解決。 關(guān)鍵詞: STC89C52, 1602 液晶顯示屏,熱釋電紅外傳感器, DS1302時(shí)鐘芯片 Based on single chip microputer infrared alarm device design and implementation Abstract: With the improvement of life rhythm, the transaction will be a variety of perspectives, people more and more inseparable from electronic products regularly remind function, and the most typical is the alarm clock wake up in the morning and many people depend on the bed and sleep up bad habits, and affected to work or school, this article in view of this part design a crowd has forced intelligent sensing alarm clock wake up function. Microcontroller is applicable to mechanical and electrical integration of intelligent product, control function is strong, the pyroelectric crystal as an ideal detector, infrared laser is widely applied to various kinds of automation control device, this design is based on intelligent forced wake up way, prevent the lazy bed design concept, STC89C52 singlechip control as the core, based on DS1302 clock chip, 1602 LCD screen, button circuit, pyroelectric infrared sensor module, periodic shading device. In addition to the basic alarm clock function, can set up and display year, month, day, hours, minutes, seconds, weeks, and main function of intelligent infrared induction to set a time, and can detect the bed whether exist within a certain range of the human body, has the drive alarms and delay detection, no delay induced detection. Design feature is that alarm clock concept innovation, pyroelectric infrared sensor and low sensitivity to static human body induction of problem solving. Keywords: STC89C52, 1602 LCD, Pyroelectric infrared sensor, DS1302 clock chip 目 錄 1 緒 論 ............................................................................................................................................... 1 單片機(jī)與熱釋電紅外傳感器的應(yīng)用 ......................................................................................... 1 單片機(jī)的應(yīng)用 ................................................................................................................. 1 熱釋電紅外傳感器的應(yīng)用 ............................................................................................ 1 單片機(jī)與熱釋電紅外傳感器的結(jié)合 ........................................................................................ 1 2 設(shè)計(jì)要求與方案論證 .......................................................................................................................... 3 設(shè)計(jì)要求 .................................................................................................................................... 3 系統(tǒng)基本方案選擇及論證 ......................................................................................................... 3 單片機(jī)芯片方案的選擇及論證 ..................................................................................... 3 顯示模塊選擇方案和論證 ............................................................................................. 3 時(shí)鐘芯片的選擇方 案和論證 ......................................................................................... 4 電路設(shè)計(jì)最終方案決定 ............................................................................................................. 4 3 主要元件介紹 ..................................................................................................................................... 5 STC89C52 ..................................................................................................................................... 5 STC89C52 主要功能及 PDIP 封裝 .................................................................................. 5 STC89C52 引腳介紹 ........................................................................................................ 5 DS1302 時(shí)鐘芯片介紹 ................................................................................................................ 6 DS1302 概述 .................................................................................................................... 6 DS1302 引腳介紹 ............................................................................................................ 7 DS1302 時(shí)鐘芯片工作原理 ............................................................................................ 7 DS1302 內(nèi)部結(jié)構(gòu)圖 ....................................................................................................... 8 1602 字符液晶介紹 ................................................................................................................... 8 1602 液晶概述 ............................................................................................................... 8 1602 引腳介紹 ............................................................................................................... 9 1602 字符液晶使用基本操作時(shí)序 ............................................................................. 10 熱釋電紅外傳感器介紹 .......................................................................................................... 10 熱釋電紅外傳感器結(jié)構(gòu) ............................................................................................... 10 BISS0001 紅外傳感器信號(hào)處理芯片 ......................................................................... 11 4 系統(tǒng)軟硬件設(shè)計(jì) ..................................................................................................................