【正文】
].現(xiàn)代電子技術(shù) .2020,19(2);9496. [4] 陳晶 .基于單片機(jī)的教室燈光自動(dòng)控制器的研究 [J].福建農(nóng)林大學(xué) .2020. [5] 盧斌 .基于單片機(jī)的光電雙向計(jì)數(shù)器 [J].制造業(yè)自動(dòng)化 .2020. [6] 謝宜仁 .單片機(jī)實(shí)用技術(shù)問(wèn)答 [M].北京:人民郵電出版社 .2020,6. [7] 陳歲生,盧建剛.基于智能檢測(cè)技術(shù)的室內(nèi)照明系統(tǒng) [J].機(jī)電工程技術(shù) .2020, 37(5):5355. [8] 郭奇 .智能家居控制平臺(tái)的設(shè)計(jì)與實(shí)現(xiàn) [J].沈陽(yáng)理工大學(xué) .2020. [9] 徐梅 .基于 AT89C51 的室內(nèi)照明控制系統(tǒng)的設(shè)計(jì) [J].自動(dòng)化與儀器儀表 .2020,17(5). [10] 康華光 .電子技術(shù)基礎(chǔ)數(shù)字部分 [M]。 sbit ren=P2^0。 } if(kai==1) { if(guang==1) { sc=1。//顯示有人 for(num=0。num15。num++) { writedata(table1[num])。 } void write(uchar ) { lcdrs=0。 delay(5)。 write(0x01)。 } void init1602() { lcden=0。 delay(5)。x0。 } else { sc=1。 } } delay(10000)。num++) { writedata(table[num])。 uchar code table[]= YOU REN 。感謝老師給我提供相關(guān)的信息,理清思路,提供解決問(wèn)題的方法。因?yàn)闂l件有限,本設(shè)計(jì)用發(fā)光二極管代替了照明燈,使用 5V 電壓供電,進(jìn)行模 擬。根據(jù)上述要求,可以畫(huà)出系統(tǒng)邏輯功能表如表 1 所示,轉(zhuǎn)化成真值表如表 2 所示。 介紹 Porteus 是一款集單片機(jī)仿真與 SPICE 分析于一身的 EDA 仿真軟件,于 1989 年由英國(guó) Labcenter Eletronice Ltd 研發(fā)成功,經(jīng)過(guò)多年的發(fā)屏,現(xiàn)已成為當(dāng)前 EDA 性價(jià)比最高、性能最強(qiáng)的一款軟件。在光照較強(qiáng)時(shí),系統(tǒng)繼續(xù)對(duì)光照檢測(cè)電路的輸出狀態(tài)進(jìn)行檢測(cè)。上電運(yùn)行時(shí),在 VCC≥ 之前, RST 必須保持低電平。 DS1302 由 VCC1 或 VCC2 兩者中的較大者供電。 第 7~ 14 腳: D0~ D7 為 8 位雙向數(shù)據(jù)線。輸出延遲時(shí)間 Tx 由外部的 R9 和 C7 的大小調(diào)整,值為 Tx≈24576xR9C7;觸發(fā)封鎖時(shí)間 Ti 由外部的 R10 和 C6 的大小調(diào)整,值為 Ti≈24xR10C6。根據(jù)以上要求,人體熱釋電檢測(cè)電路組成框圖如圖 3 所示: 圖 3 熱釋 電組成框圖 檢測(cè)對(duì)象 菲涅爾透鏡 熱釋電紅外傳感器 信號(hào)處理電路 0V 9 信號(hào)處理電路 本設(shè)計(jì)采用 BISS0001 來(lái)完成對(duì)熱釋電傳感器輸出信號(hào)的處理。 工作電壓范圍寬:默認(rèn)工作電壓 。當(dāng)沒(méi)有光照的時(shí)候,光敏電阻阻值較大,分壓大于 R2,所以 1腳輸出為高電平,繼電器閉合。掉電保護(hù)方式下, RAM 內(nèi)容被保存,振蕩器被凍結(jié), 單片機(jī) 一切工作停止,直到下 一個(gè)中斷或硬件復(fù)位為止。 ,即顯示此刻的時(shí)間。主要針對(duì)光電檢測(cè)電路和熱釋電傳感器輸出信號(hào)進(jìn)行處理。 4 第二章 系統(tǒng)設(shè)計(jì)方案 設(shè)計(jì)要求 在一個(gè)盡可能大的環(huán)境,白天自然光充足時(shí),照明設(shè)備不啟動(dòng);自然光不充足時(shí),會(huì)根據(jù)人所處的位置,開(kāi)啟該位置的照明設(shè)備,若人在室內(nèi)走 動(dòng),則會(huì)依次點(diǎn)亮其行走路徑上的照明設(shè)備;當(dāng)人離開(kāi)時(shí),則關(guān)閉該處的照明設(shè)備。而此問(wèn)題對(duì)我國(guó)來(lái)說(shuō)尤為嚴(yán)重。 CBus系統(tǒng)是一個(gè)二線制的總線型式的智能控制系統(tǒng),主要用于對(duì)照明系統(tǒng)的控制。 相對(duì)智能 照明控制 系統(tǒng) 而言, 傳統(tǒng)控制方式 簡(jiǎn)單 、 有效 、 直觀。 關(guān)鍵詞:?jiǎn)纹瑱C(jī);傳感器;照明 控制 ;節(jié)能 控制 ; BISS0001 II The Control System for Intelligent Lighting Based on Single–chip Microputer ABSTRACT With the rapid development of electronic technology, the system of control based on Singlechip Microp uter is widely applied in industry, agriculture, electric power, electron, intelligent building and so on. Microputer, as the subject and core of the embedded system of control, replaces the traditional system— electronic circuit. At the same time, the development and maturation of the intelligent building have established the substantial foundation for the popularization and application of the control system for lighting based on singlechip microputer. In this paper, the Indoor Lighting Control Syste m Based on STC89C52 and its principle are introduced. Some effective and energy saving control strategys of lighting system are brought forward. The current system uses a relatively mature sensor technology and puter control technology, using multiparameter to achieve the indoor lighting control. Microputer controls lighting equipment open or closed, by the relay ,through the light detection circuit for lighting equipment testing, if surrounding brightness is not enough then microputer detect the BISS0001 chip whether collected to human pyroelectric sensing signals, according to whether have pyroelectric sensing signals microcontroller redirected immediately control lighting equipment open or closed in order to achieve lighting controls to sava energy. KEY WORD: microcontroller; sensor; lighting control; energysaving; BISS0001 III 目 錄 第一章 前言 ...................................................................1 ...........................