文档详情

 智能楼宇照明系统毕业论文.doc

发布:2016-11-23约3.12万字共54页下载文档
文本预览下载声明
摘 要 随着电子技术的飞速发展,基于单片机的控制系统已广泛应用于工业、农业、电力、电子、智能楼宇等行业,微型计算机作为嵌入式控制系统的主体与核心,代替了传统的控制系统的常规电子线路。同时楼宇智能化的发展与成熟,也为基于单片机的照明控制系统的普及与应用奠定了坚实的基础。 系统设计包括硬件设计和软件设计两部分。该照明控制系统的主控制器、分控制器分别是以AT89C51单片机为基础,实现了通信、控制与显示等功能。文中详细地描述了控制电路的设计过程,包括:键盘与LED显示电路、RS485通信电路、照明灯控制电路以及看门狗电路等。对于软件设计主要有主控制器、分控制器的有线通信程序设计以及灯光控制、定时控制、键盘扫描与LED显示等程序设计。提出了有效的节能方案,为智能化楼宇建设提供了理论依据。 关键词:主控制器,分控制器,单片机,有线通信,无线数传,灯光亮度控制,定时控制 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 system includes hardware and software designed in two parts. The host controller of the control system for lighting is based on AT89C51 single-chip microcomputer, and the auxiliary ones are based on AT89C51. 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, 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 l
显示全部
相似文档