样板论文 - ok

吉林省经济管理干部学院

毕业论文(设计)

题 目 单片机的照明控制系统 系部名称 计算机 专 业 06级电子信息工程技术 学生姓名 赵盛茂 指导教师 毕维峰

吉林省经济管理干部学院 吉林经济职业技术学院

1

吉林省经济管理干部学院

吉林省经济管理干部学院吉林经济职业技术学院

学生毕业论文(设计)评定

论文题目:基于单片机的照明控制系统 教师评语:

建议成绩 指导教师签字 年 月 日

答辩委员会评语:

评定成绩 主任签字

年 月 日

2

吉林省经济管理干部学院

摘 要

随着电子技术的飞速发展,基于单片机的控制系统已广泛应用于工业、农业、电力、电子、智能楼宇等行业,微型计算机作为嵌入式控制系统的主体与核心,代替了传统的控制系统的常规电子线路。同时楼宇智能化的发展与成熟,也为基于单片机的照明控制系统的普及与应用奠定了坚实的基础。

本文阐述了照明的有线、无线控制方式设计原理与实现方法。以设计过程为主线,分别从硬件和软件两个方面描述设计过程,即从硬件电路的设计方法到实现所要求功能的软件技术。该照明控制系统的主控制器、分控制器分别是以AT89C51与AT89C2051单片机为基础,实现了有线通信、无线数传、控制与显示等功能。文中详细地描述了控制电路的设计过程,包括:键盘与LED显示电路、RS485通信电路、无线数传电路、照明灯控制电路以及看门狗电路等。对于软件设计主要有主控制器、分控制器的有线通信程序设计与无线数字传输程序设计以及灯光控制、定时控制、键盘扫描与LED显示等程序设计。有线通信程序的功能是:通过RS485主从通信方式,由主控制器发出命令对全部或单个分控制器所控制的照明灯实现开启、关闭、灯光亮度调节、定时控制等功能。无线数传程序设计的功能是:通过无线数传模块实现照明灯的无线遥控,同样实现有线方式控制的功能。

关键词:主控制器,分控制器,单片机,有线通信,无线数传,灯光

亮度控制,定时控制

3

吉林省经济管理干部学院

目 录

摘要·····················································1 第一章 序言·······················································6 1.1 单片机应用技术···················································6 1.2 有线通信技术···················································7 1.3 无线数传技术···················································7 1.4 本章小结···················································8 第二章 基于单片机的照明控制系统的设计框架和性能························9 2.1 系统设计要点···················································9 2.2 系统的结构···················································9 2.3 系统性能指标与技术要求···········································11 2.4 本章小结···················································12 第三章 基于单片机的照明控制系统的硬件电路设计·······················13 3.1 主控制器的电路设计············································13 3.1.1 键盘的接口设计···················································14 3.1.2 LED数码显示的接口设计···········································14 3.1.3 看门狗监控电路的设计··················································14 3.2 分控制器的电路设计·················································15 3.2.1 时钟芯片的接口设计··············································16 3.2.2 零点检测与可控硅控制电路的设计·····························16 3.3 RS485通信电路的设计···········································17 3.4 无线数传电路的设计···············································20 3.4.1 无线数传电路的连接···········································20 3.4.2 SRWF-1模块的特性·······································20 3.5 本章小结···················································21 第四章 基于单片机的照明控制系统的软件设计······························22 4.1 人机交互程序设计··········································22 4.1.1 键盘扫描程序设计········································23

4

联系客服:779662525#qq.com(#替换为@)