基于單片機(jī)的照明控制系統(tǒng).doc
約56頁DOC格式手機(jī)打開展開
基于單片機(jī)的照明控制系統(tǒng),摘 要隨著電子技術(shù)的飛速發(fā)展,基于單片機(jī)的控制系統(tǒng)已廣泛應(yīng)用于工業(yè)、農(nóng)業(yè)、電力、電子、智能樓宇等行業(yè),微型計算機(jī)作為嵌入式控制系統(tǒng)的主體與核心,代替了傳統(tǒng)的控制系統(tǒng)的常規(guī)電子線路。同時樓宇智能化的發(fā)展與成熟,也為基于單片機(jī)的照明控制系統(tǒng)的普及與應(yīng)用奠定了堅實的基礎(chǔ)。 本文闡述了照明的有線、無線控制方式設(shè)計原理與實現(xiàn)方法...
內(nèi)容介紹
此文檔由會員 shixin7751 發(fā)布
摘 要
隨著電子技術(shù)的飛速發(fā)展,基于單片機(jī)的控制系統(tǒng)已廣泛應(yīng)用于工業(yè)、農(nóng)業(yè)、電力、電子、智能樓宇等行業(yè),微型計算機(jī)作為嵌入式控制系統(tǒng)的主體與核心,代替了傳統(tǒng)的控制系統(tǒng)的常規(guī)電子線路。同時樓宇智能化的發(fā)展與成熟,也為基于單片機(jī)的照明控制系統(tǒng)的普及與應(yīng)用奠定了堅實的基礎(chǔ)。
本文闡述了照明的有線、無線控制方式設(shè)計原理與實現(xiàn)方法。以設(shè)計過程為主線,分別從硬件和軟件兩個方面描述設(shè)計過程,即從硬件電路的設(shè)計方法到實現(xiàn)所要求功能的軟件技術(shù)。該照明控制系統(tǒng)的主控制器、分控制器分別是以AT89C51與AT89C2051單片機(jī)為基礎(chǔ),實現(xiàn)了有線通信、無線數(shù)傳、控制與顯示等功能。文中詳細(xì)地描述了控制電路的設(shè)計過程,包括:鍵盤與LED顯示電路、RS485通信電路、無線數(shù)傳電路、照明燈控制電路以及看門狗電路等。對于軟件設(shè)計主要有主控制器、分控制器的有線通信程序設(shè)計與無線數(shù)字傳輸程序設(shè)計以及燈光控制、定時控制、鍵盤掃描與LED顯示等程序設(shè)計。有線通信程序的功能是:通過RS485主從通信方式,由主控制器發(fā)出命令對全部或單個分控制器所控制的照明燈實現(xiàn)開啟、關(guān)閉、燈光亮度調(diào)節(jié)、定時控制等功能。無線數(shù)傳程序設(shè)計的功能是:通過無線數(shù)傳模塊實現(xiàn)照明燈的無線遙控,同樣實現(xiàn)有線方式控制的功能。
關(guān)鍵詞:主控制器,分控制器,單片機(jī),有線通信,無線數(shù)傳,燈光亮度控制,定時控制
The Control System for Lighting Based on
Single–chip Microcomputer
Abstract
With the rapid development of electronic technology, the system of control based on Single-chip Microcomputer is widely applied in industry, agriculture, electric power, electron, intelligent building and so on. Microcomputer, 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 single-chip microcomputer.
The paper expatiates on the designing theories and implementation method of the control system for lighting by wired or wireless communications. Taking the designing process as mainline, it describes the process of designing from two respects—hardware and software. In another word, the paper describes the process from the method of circuit designing to the software technology of realizing the demanded functions. The host controller of the control system for lighting is based on AT89C51 single-chip microcomputer, and the auxiliary ones are based on AT89C2051. The system can do many jobs, such as wired communication, wireless data transmitting, controlling and display. The paper describes the designing process of the circuit at length, including: keyboard and LED display circuit, RS485 communication circuit, wireless transmitting circuit, control circuit of lighting, watchdog circuit, etc. The designing of software mainly includes the several programming, such as wired communication, wireless data transmitting, lamplight controlling, timed controlling, keyboard scanning and LED displaying. The wired communication programming function is that through Master-slave communication method based on RS485 the host controller sends orders to the all auxiliary controllers or each one, including: turning on lighting, turning off lighting, regulating brightness of lighting, controlling timed lighting, etc. The wireless data transmitting programming function is that by wireless transmitter it realizes wireless controlling of the lighting, and achieves the functions identical to wired communication.
Key Words: Host controller, Auxiliary controller, Single-chip microcomputer, Wired communication, Wireless data transmitting, controlling brightness of lighting, Timed controlling
目 錄
摘要•••••••••••••••••••••••••••••••••••••••••••••••••••••1
Abstract••••••••••••••••••••••••••••••••••••••••••••••••••2
第一章 序言••••••••••••••••••••..
隨著電子技術(shù)的飛速發(fā)展,基于單片機(jī)的控制系統(tǒng)已廣泛應(yīng)用于工業(yè)、農(nóng)業(yè)、電力、電子、智能樓宇等行業(yè),微型計算機(jī)作為嵌入式控制系統(tǒng)的主體與核心,代替了傳統(tǒng)的控制系統(tǒng)的常規(guī)電子線路。同時樓宇智能化的發(fā)展與成熟,也為基于單片機(jī)的照明控制系統(tǒng)的普及與應(yīng)用奠定了堅實的基礎(chǔ)。
本文闡述了照明的有線、無線控制方式設(shè)計原理與實現(xiàn)方法。以設(shè)計過程為主線,分別從硬件和軟件兩個方面描述設(shè)計過程,即從硬件電路的設(shè)計方法到實現(xiàn)所要求功能的軟件技術(shù)。該照明控制系統(tǒng)的主控制器、分控制器分別是以AT89C51與AT89C2051單片機(jī)為基礎(chǔ),實現(xiàn)了有線通信、無線數(shù)傳、控制與顯示等功能。文中詳細(xì)地描述了控制電路的設(shè)計過程,包括:鍵盤與LED顯示電路、RS485通信電路、無線數(shù)傳電路、照明燈控制電路以及看門狗電路等。對于軟件設(shè)計主要有主控制器、分控制器的有線通信程序設(shè)計與無線數(shù)字傳輸程序設(shè)計以及燈光控制、定時控制、鍵盤掃描與LED顯示等程序設(shè)計。有線通信程序的功能是:通過RS485主從通信方式,由主控制器發(fā)出命令對全部或單個分控制器所控制的照明燈實現(xiàn)開啟、關(guān)閉、燈光亮度調(diào)節(jié)、定時控制等功能。無線數(shù)傳程序設(shè)計的功能是:通過無線數(shù)傳模塊實現(xiàn)照明燈的無線遙控,同樣實現(xiàn)有線方式控制的功能。
關(guān)鍵詞:主控制器,分控制器,單片機(jī),有線通信,無線數(shù)傳,燈光亮度控制,定時控制
The Control System for Lighting Based on
Single–chip Microcomputer
Abstract
With the rapid development of electronic technology, the system of control based on Single-chip Microcomputer is widely applied in industry, agriculture, electric power, electron, intelligent building and so on. Microcomputer, 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 single-chip microcomputer.
The paper expatiates on the designing theories and implementation method of the control system for lighting by wired or wireless communications. Taking the designing process as mainline, it describes the process of designing from two respects—hardware and software. In another word, the paper describes the process from the method of circuit designing to the software technology of realizing the demanded functions. The host controller of the control system for lighting is based on AT89C51 single-chip microcomputer, and the auxiliary ones are based on AT89C2051. The system can do many jobs, such as wired communication, wireless data transmitting, controlling and display. The paper describes the designing process of the circuit at length, including: keyboard and LED display circuit, RS485 communication circuit, wireless transmitting circuit, control circuit of lighting, watchdog circuit, etc. The designing of software mainly includes the several programming, such as wired communication, wireless data transmitting, lamplight controlling, timed controlling, keyboard scanning and LED displaying. The wired communication programming function is that through Master-slave communication method based on RS485 the host controller sends orders to the all auxiliary controllers or each one, including: turning on lighting, turning off lighting, regulating brightness of lighting, controlling timed lighting, etc. The wireless data transmitting programming function is that by wireless transmitter it realizes wireless controlling of the lighting, and achieves the functions identical to wired communication.
Key Words: Host controller, Auxiliary controller, Single-chip microcomputer, Wired communication, Wireless data transmitting, controlling brightness of lighting, Timed controlling
目 錄
摘要•••••••••••••••••••••••••••••••••••••••••••••••••••••1
Abstract••••••••••••••••••••••••••••••••••••••••••••••••••2
第一章 序言••••••••••••••••••••..