基于单片机技术的多功能路灯自动控制系统的设计 下载本文

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

学号:

常 州 大 学 毕业设计(论文) (2012届)

题 目 基于单片机技术的多功能路灯自动控制系统的设计 学 生 学 院 专业班级 校内指导教师 专业技术职务 校外指导老师 专业技术职务

二○一二年六月

基于单片机技术的多功能路灯自动控制系统的设计

摘 要:随着我国经济的快速发展,电力消费也随之快速增长。如何节能降耗己成为近年来研究的热点。本课题就是针对我国在城市照明上所存在的巨大的能源消耗而提出的。本系统利用红外传感器模块、声控模块、光控模块和时钟控制模块,并结合深圳宏晶科技公司的STC89C52RC单片机芯片制作的单片机最小系统实现了多功能路灯控制的功能。系统设计包括硬件和软件,其中硬件设计采用以STC89C52RC单片机为主CPU构建的单片机最小系统,通过红外控制模块,光控制模块,时钟控制模块和声音控制模块,将采集到的数据送给STC89C52RC单片机芯片进行处理;软件设计是在Keil平台上,以C51为开发语言,开发的一款路灯控制系统。系统分为四个功能模块:声控功能,光控功能,时钟控制功能和红外控制功能,通过检测STC89C52RC单片机与模块之间连接引脚的信号实时的控制路灯的开关,以及其它的操作(如时间设定、LCD显示等)。本系统实现了自动控制路灯的功能,节约了人力和能源消耗,从而实现了良好的社会效益。

关键词:STC89C52RC单片机,DS1302时钟芯片,光敏控制,红外控制,声音控制

I

The design of automatic control system of multi-functional street

lights based on microcontroller technology

Abstract: With China's rapid economic development, electricity consumption along with rapid growth. How to save energy has become a hot research in recent years .This topic is for China's urban lighting on the enormous energy consumption .The system uses infrared sensor module , voice module , the light control module and the clock control module , and combines the smallest single-chip system produced by STC89C52RC microcontroller of the Shenzhen macro crystal technology company to achieve the control functions of the multi-functional street lights .System design includes hardware and software, including hardware design uses STC89C52RC microcontroller as the main CPU to build the smallest single-chip system, via infrared control module , the light control module, the clock control module and the voice control module , giving the collected data to STC89C52RC microcontroller to deal with. Software design is in the platform of Keil, the C51 for the development of language, the development of a street light control system .The system is divided into four functional modules: voice features, light control function, clock control function and infrared control functions, it real-time controls of the lights off, and other operations (such as time settings, LCD display, etc.) by detecting the connecting pin signal between STC89C52RC microcontroller and module. The system achieves the automatic control of street lamp function, saves manpower and energy consumption, thus to achieve a good social.

Key words: STC89C52RC microcontroller;DS1302 clock chip; the photosensitive control;

infrared control; sound control

II