基于单片机的路灯控制系统设计 下载本文

内容发布更新时间 : 2024/5/22 10:02:02星期一 下面是文章的全部内容请认真阅读。

济南大学泉城学院

毕 业 设 计

题 目 基于单片机的路灯控制系统设计 学 院 工学院 专 业 电气工程及其自动化 班 级 1302班 学 生 李学联 学 号 2013010855 指导教师 张兴达 魏志轩

二〇一七年五月十六日

济南大学泉城学院毕业设计

摘 要

随着科学技术的日益发展,在日常生活中人们对于路灯控制系统的要求越来越高。针对人们的需求功耗大,功能单一的系统已不再满足人们的需求。本设计针对上述问题提出了一种新型的路灯系统,可以解决人们的需求。

本设计主要包括硬件系统设计和软件系统设计。其系统硬件是由AT89S52单片机,时钟芯片DS1302,驻极体话筒,LCD1602和光敏电阻等为核心的的路灯低功耗智能控制装置构成。软件部分是以Keil、Proteus等软件为载体,使用C语言对程序进行编写。单片机根据光敏电阻和人体红外感应模块对路边状况的检测和时钟芯片DS1302设置时间来控制电压比较器实现LED路灯亮度的自动调节,通过LCD显示时间和光感度,通过光敏电阻实现故障检测,当路灯出现故障时,蜂鸣器会自动进行报警。

通过仿真及实物制作、调试,验证了本设计内容的可行性,为进一步研发推广提供了一定的数据参考。

关键词:单片机;传感器;路灯控制

- I -

济南大学泉城学院毕业设计

ABSTRACT

With the development of the technology, the application of streetlight control system is playing an increasingly important role in our daily life.Demand for people's needs, a single function of the system is no longer meet people's needs. The design of the above mentioned a new type of street lamp system, can solve people's needs.

The design includes hardware system design and software system design.The hardware system includes the single chip of AT89S52, the clock chip 1302, Analog-to-Digital Converter and photosensitive resistor .The software system is based on Keil, Proteus and other software as the carrier, the use of C language to write the program.Single-chip according to the photosensitive resistor and infrared pyroelectric sensor on the roadside detection and clock chip DS1302 set the time to control the A / D conversion chip to achieve automatic adjustment of LED street light brightness. Through the LCD display time and light sensitivity, through the photosensitive resistor to achieve fault detection, when the street lights break down, the buzzer will automatically alarm.

Through the simulation and production, debugging, verify the feasibility of the design content, to further research and development to provide a certain data reference.

Key words:MCU; transducer; Street light control

- - II