摘要:以AT89C52单片机作为控制核心,结合光敏电阻、DS1302、ADC0832以及LCD1602,设计出了本仿真系统:基于Proteus的路灯控制系统。实现的主要功能有:具有年月日时分秒星期显示功能;于6:00至19:00这个期间内,依据对于自然光强度的检测,从而执行相对应的路灯开关与否的指示。如若光线充足,就关闭路灯。如果自然光强度较低,便开启路灯。通过光敏电阻和分压电阻的阻值变化对于ADC0832的输入端的影响,从而判断光的强弱;于00:00-6:00这个期间内,依据路人或交通通过的方向,依次开启和熄灭路灯。路人或交通移动的方向通过一个多路开关得以体现。顺时针旋转则代表自左向右移动;逆时针旋转则代表自右向左移动;于19:00-00:00的期间内,路灯则始终保持常亮。本设计包含以下模块:时钟模块,显示模块,模数转换模块,复位模块等等……80865

毕业论文关键字:AT89C52、光敏电阻、LCD1602、智能路灯、DS1302、单片机、ADC0832、Proteus

Design and Simulation of street lamp control system based on Proteus

Abstract: Using AT89C52 microcontroller as control core, combined with DS1302, ADC0832 and photosensitive resistance, LCD1602, designed the simulation system: Proteus lamp control system based on。 The main features are: having a split second week date when the display function; from 6:00 to 19:00 this period, according to detection of natural light intensity, thus perform lamp switch corresponding to the instructions。 If not enough light, close the lamp。 If natural light intensity is low, then open the lamp。 Through the photosensitive resistance and pressure resistance of the resistance change for the ADC0832 input, to determine the strength of the light; 00:00-6:00 in this period, on the basis of passers-by or traffic the direction of open and extinguished lights。 Passers-by or moving in the direction of traffic through a multi way switch to be reflected。 The clockwise rotation represents moves from left to right; counter clockwise rotation Turn is moving from right to left; in the 19:00-00:00 period, the street is always lit。 The design includes the following modules: clock module, display module, ADC module, reset module and so on。

Key words: AT89C52, photosensitive resistor, LCD1602, intelligent street lamp, DS1302, single chip microcomputer, ADC0832, Proteus

目  录

1 绪论 1

1。1关于路灯照明的调查研究 1

1。1。1 国内现状 1

1。1。2 国外现状 2

1。2 关于单片机的调查研究 3

1。2。1 单片机发展历史 3

1。2。2 单片机的应用 3

1。2。3 本设计使用单片机的优点 4

2 系统各模块 6

2。1 LCD1602 6

2。2 AT89C52 7

2。3 DS1302 8

2。4 光敏电阻 9

2。5 ADC0832 10

3 软件设计 12

3。1 系统框图 12

3。2 主程序流程图 14

3。3 程序设计 15

3。3。1 IO定义

上一篇:UPPAAL铁路信号微机监测系统通信过程仿真
下一篇:PLC四大车联动智能无线传输系统设计

STC89C52单片机的温度控制系统设计+电路图

STM32单片机数字回转库控制系统设计+PCB电路图

AT89C51单片机电力电缆温度...

STM32单片机的电力系统数字频率计设计+流程图

STC90C51RD+单片机的纺织机械...

单片机的纺织机械电机保护系统设计任务书

STC89C52单片机超声波和红外...

麦秸秆还田和沼液灌溉对...

互联网教育”变革路径研究进展【7972字】

我国风险投资的发展现状问题及对策分析

张洁小说《无字》中的女性意识

ASP.net+sqlserver企业设备管理系统设计与开发

网络语言“XX体”研究

安康汉江网讯

LiMn1-xFexPO4正极材料合成及充放电性能研究

新課改下小學语文洧效阅...

老年2型糖尿病患者运动疗...