基于单片机的照明控制系统毕业设计论文C语言

上传人:夏** 文档编号:469730711 上传时间:2022-11-07 格式:DOC 页数:55 大小:1.38MB
返回 下载 相关 举报
基于单片机的照明控制系统毕业设计论文C语言_第1页
第1页 / 共55页
基于单片机的照明控制系统毕业设计论文C语言_第2页
第2页 / 共55页
基于单片机的照明控制系统毕业设计论文C语言_第3页
第3页 / 共55页
基于单片机的照明控制系统毕业设计论文C语言_第4页
第4页 / 共55页
基于单片机的照明控制系统毕业设计论文C语言_第5页
第5页 / 共55页
点击查看更多>>
资源描述

《基于单片机的照明控制系统毕业设计论文C语言》由会员分享,可在线阅读,更多相关《基于单片机的照明控制系统毕业设计论文C语言(55页珍藏版)》请在金锄头文库上搜索。

1、基于单片机的照明控制系统基于单片机的照明控制系统 摘 要 随着电子技术的飞速发展,基于单片机的控制系统已广泛应用于工业、农业、电力、电子、智能楼宇等行业,微型计算机作为嵌入式控制系统的主体与核心,代替了传统的控制系统的常规电子线路。同时楼宇智能化的发展与成熟,也为基于单片机的照明控制系统的普及与应用奠定了坚实的基础。 本文阐述了照明的有线、无线控制方式设计原理与实现方法。以设计过程为主线,分别从硬件和软件两个方面描述设计过程,即从硬件电路的设计方法到实现所要求功能的软件技术。该照明控制系统的主控制器、分控制器分别是以AT89C51与AT89C2051单片机为基础,实现了有线通信、无线数传、控制

2、与显示等功能。文中详细地描述了控制电路的设计过程,包括:键盘与LED显示电路、RS485通信电路、无线数传电路、照明灯控制电路以及看门狗电路等。对于软件设计主要有主控制器、分控制器的有线通信程序设计与无线数字传输程序设计以及灯光控制、定时控制、键盘扫描与LED显示等程序设计。有线通信程序的功能是:通过RS485主从通信方式,由主控制器发出命令对全部或单个分控制器所控制的照明灯实现开启、关闭、灯光亮度调节、定时控制等功能。无线数传程序设计的功能是:通过无线数传模块实现照明灯的无线遥控,同样实现有线方式控制的功能。关键词:主控制器,分控制器,单片机,有线通信,无线数传,灯光亮度控制,定时控制The

3、 Control System for Lighting Based on Singlechip MicrocomputerAbstract 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

4、 the subject and core of the embedded system of control, replaces the traditional systemelectronic 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 lighti

5、ng 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 respectshardware and softwa

6、re. 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 AT89C205

7、1. 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 circu

8、it 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 thro

9、ugh 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 fun

10、ction 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

11、 lighting, Timed controlling目 录摘要1Abstract2第一章 序言61.1 单片机应用技术61.2 有线通信技术71.3 无线数传技术71.4 本章小结8第二章 基于单片机的照明控制系统的设计框架和性能9 2.1 系统设计要点92.2 系统的结构92.3 系统性能指标与技术要求112.4 本章小结12第三章 基于单片机的照明控制系统的硬件电路设计133.1 主控制器的电路设计133.1.1 键盘的接口设计143.1.2 LED数码显示的接口设计143.1.3 看门狗监控电路的设计143.2 分控制器的电路设计153.2.1 时钟芯片的接口设计163.2.2 零点检测与可控硅控制电路的设计163.3 RS485通信电路的设计173.4 无线数传电路的设计203.4.1 无线数传电路的连接203.4.2 SRWF-1模块的特性20 3.5 本章小结21第四章 基于单片机的照明控制系统的软件设计224.1 人机交互程序设计224.1.1 键盘扫描程序设计234.1.2 LED数码显示程序设计254.2 照

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 工作计划

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号