摘 要

随着单片机、传感器技术的发展,当前城市的路灯已经不能满足当前人们的需求,当前城市的建设也已经由传统的城市向新型智能化的城市进行转变,而当前城市路灯的智能控制也在新型城市的的组成中占据较为重要的位置。当前城市路灯的控制大多采用手动控制或者采用定时控制进行的,这种控制智能化水平低,且浪费资源,进行路灯的维护也较为麻烦。此次设计一款智能路灯,采用STC89C52单片机作为主控芯片,通过检测路灯周围的光照强度及其路灯周围是否有人控制路灯的开关,当检测到路灯周围的光线强度较暗时,且检测到有人控制路灯打开,检测到没有声音时控制路灯关闭,此外用户可以设置开关路灯的时间,检测到路灯损坏时,自动将信息传输到上位机。该路灯通过自动控制开关,可以节省大量的能源,且维护较为方便,从人们夜晚出行进行考虑,为人们夜晚出行安全进行考虑。

【关键词】STC89C52单片机;路灯;光照检测;人体检测;自动控制

Abstract

With the development of single-chip microcomputer and sensor technology, the current city street light can no longer meet the current needs of people, the current city construction has also been transformed from the traditional city to the new intelligent city, and the current intelligent control of the city street light also occupies a more important position in the composition of the new city. At present, the control of urban street lights is mostly carried out by manual control or timing control, which has a low intelligent level and wastes resources, and the maintenance of street lights is also more troublesome. This design of a smart street lamp, using STC89C52 single chip microcomputer as the main control chip, by detecting the light intensity around the street lamp and whether there is anyone around the street lamp to control the switch of the street lamp, when the light intensity around the street lamp is detected to be dark, and it is detected that someone controls the street lamp to open, and it is detected that there is no sound to control the street lamp to close. In addition, the user can set the time to switch on and off the street lamp, and automatically transmit the information to the upper computer when the street lamp is detected damaged. The street light through the automatic control switch, can save a lot of energy, and maintenance is more convenient, from people’s night travel to consider, for people’s night travel safety..

Key words:STC89C52 MCU; Street lamps; Light detection; Human body detection; Automatic control

  

摘 要

Abstract

第一章 绪论

1.1 研究背景及实际意义

1.2 研究现状

1.3 研究目标

第二章 系统方案设计

2.1 主要元器件选择

2.1.1 主控芯片方案选择

2.1.2 显示模块方案选择

2.1.3 光照强度监测方案选择

2.2 整体方案设计

第三章 硬件电路

3.1 主控模块电路

3.2 显示模块电路

3.3 人体热释电检测模块电路

3.4 光照强度监测模块电路

3.5 时钟模块电路

3.6 按键模块电路

3.7 声光报警模块电路

3.8 LED灯照明模块电路

4 系统程序设计

4.1 编程软件介绍

4.2 上位机主程序流程设计

4.3 上位机按键函数流程设计

4.4 上位机显示函数流程设计

4.5 上位机处理状态函数流程设计

4.6 下位机主程序流程设计

第五章 仿真测试

5.1 整体仿真测试图

5.2 上电运行仿真测试

5.3 路灯开关控制仿真测试

第六章 实物测试

5.1 整体实物测试图

5.2 上电运行实物测试

5.3 路灯开关控制实物测试

总结

参考文献

致谢

附录

附录一:原理图

附录二:PCB

附录三:主程序

……………..本设计说明书是配套实物和仿真的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源