基于STC89C52单片机路灯控制系统设计

基于STC89C52单片机路灯控制系统设计(任务书,开题报告,论文10000字)
摘要
单片机路灯控制系统是一种崭新智能控制系统,基于如今城市路灯能耗严重,维修成本高,反馈不及时的现象,该设计可根据季节变化引起的天气变化和用户的差异需要,通过按键进行操控,方便快捷。既实现了节能减排,绿色环保,又能削减财政开支,减少维护成本,提高反馈效率。该设计从现实出发,分析了如今城市生活中的急需解决的问题。从实用性,便捷性,稳定性,高效性出发设计了本系统。力求以最少的器件实现最大的效果。本电路涵盖供电,时钟发生,显示输出,键盘输入,人体检测,声响检测,光线检测,故障检测,蜂鸣报警,单片机处理。该系统以STC89C52单片机作为主控器件。根据不同的情况,实现不同的操作。该系统具有占地面积小,上手简单,不会轻易出现故障,适用性强,性价比合理等优点,可以满足大小城市照明系统控制的采购,很大程度上达到节能目的。
关键词:单片机,时钟电路,智能路灯
SCM based street lamp control system design
Abstract
Microcontroller street light control system is a kind of new intelligent control system, based on the energy consumption of urban street lamp now serious, high maintenance cost, the phenomenon of feedback is not timely, the design can be according to seasonal change causes the difference of the weather changes and user needs, through the button control, convenient and quick.Both the energy conservation and emissions reduction, green environmental protection, can slash spending again, reduce maintenance costs, improve the efficiency of feedback.The design embarks from the reality, the paper analyzes the urgent problems in city life now.From the practical, convenience, stability and efficiency on the system is designed.Strive to achieve maximum effect with minimal device.Occurs, the circuit of power supply, covering clock display output, keyboard input, the human body detection, noise detection, light detection, fault detection, buzzer alarm, single chip processing.With STC89C52 single-chip microcomputer as main control device for the system, different operations.Main should be combined with the hardware system.The system has a cover an area of an area small, simple to fit, not easily fail, applicability, the advantages of reasonable cost performance, can meet the size of city lighting system control of purchasing, to a large extent to achieve energy saving.
[资料来源:http://Doc163.com]
Keywords:Single chip, the clock circuit, intelligent street lamp


目录
摘要 I
Abstract II
1 绪论 1
1.1课题的来源 1
1.2课题的意义 1
1.3单片机应用技术国内外发展现状 2
1.4课题研究的目的 3
2硬件电路设计 4
2.1系统总体方案设计 4
2.2芯片器件介绍 6
2.2.1 单片机STC89C52简介 6
2.2.2 光敏传感器的介绍 8
2.2.3 实时时钟芯片DS1302介绍 9
2.2.4 1602液晶介绍 10
2.2.5 电压比较器LM393介绍 11
2.3各模块介绍 11
2.3.1 时钟电路模块 11
2.3.2检测模块 12
2.3.3 液晶显示模块 13
2.3.4 复位电路模块 14
2.3.5 按键控制模块 15
3系统软件设计 16
3.1软件系统介绍 16
3.2各子程序模块 18
3.2.1实时时钟子程序 18
3.2.2 LCD显示子程序 18
3.2.3 自动报警子程序 21
3.2.4 路灯开关控制子程序 21
3.2.5人体检测 23
3.2.6键盘控制 25
4结论 26
参考文献 27
致谢 29
