1、 毕业设计说明书 基于单片机的房间自动照明控制系统设计 基于单片机的房间自动照明控制系统设计 -I- 摘摘 要要 随着电子技术的飞速发展,基于单片机的控制系统已广泛应用于工业、农 业、电力、电子、智能楼宇等行业,微型计算机作为嵌入式控制系统的主体与核 心,代替了传统的控制系统的常规电子线路。同时楼宇智能化的发展与成熟,也 为基于单片机的照明控制系统的普及与应用奠定了坚实的基础。 本文阐述了照明的控制方式设计原理与实现方法。以设计过程为主线,分别从 硬件和软件两个方面描述设计过程,即从硬件电路的设计方法到实现所要求功能 的软件技术。该照明控制系统的控制器分别是以 AT89C51 单片机为基础,实
2、现了 控制与显示等功能。文中详细地描述了控制电路的设计过程,包括:与 LCD 显示 电路,照明灯控制电路以及看门狗电路等。对于软件设计主要有控制器、程序设 计与灯光控制、键盘扫描与 LCD 显示等程序设计。该功能是:通过人体释热红外 线传感器,光敏三极管和 AT89C51 单片机控制的照明灯实现开启、关闭、调节房 间亮度功能。 关键词:单片机,手动控制,自动控制,人体释热红外线传感器,光敏三极管 南京工程学院电力工程学院毕业设计(论文) -II- Abstract With the rapid development of electronic technology, the system o
3、f 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 systemelectronic circuit. At the same time, the develo
4、pment 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. Taking the designing process as mainline, it describes the process of designing from two respectshardware and software. In another word, the paper describes the process from the method