摘要:本文以STC89C52单片机为核心设计了一款视力保护器。视力保护器主要可以实现测距、感光、定时和温度显示四种功能。其中测距模块、温度模块和感光模块由相应的传感器来完成。该设计的硬件部分包括单片机,超声波测距电路,温度补偿电路,光敏电阻,液晶显示,声光报警电路等部分。软件设计部分先设计系统流程图,然后绘制protel电路图,进行Proteus仿真,验证电路原理的可靠性。最后焊接制作电路板并且进行调试,实现视力保护器的设计。74004

毕业论文关键词:STC89C52单片机,超声波测距,光敏电阻,LCD1602 

Abstract: In this paper, a STC89C52 microcontroller as the core design of a vision protector。 The vision protector can realize the four kinds of functions of distance measurement, light sensitivity, time and temperature display。 The ranging module, temperature module and sensor module are completed by the corresponding sensor。 The design of the hardware, including the microcontroller, ultrasonic ranging circuit, temperature compensation circuit, photosensitive resistance, liquid crystal display, sound and light alarm circuit, etc。。 Software design part of the first design system flow chart, and then draw the Protel circuit diagram, Proteus simulation, verify the reliability of the circuit principle。 Finally, the welding production circuit board and debugging, to achieve the design of visual protection。

Keywords: STC89C52MCU, ultrasonic distance measurement, photosensitive resistance, LCD1602

目录

1  绪论 4

1。1  本文研究的背景与意义 4

1。2  研究的发展现状 4

1。3 本文研究内容与安排 5

2  视力保护器总体方案设计 5

2。1 系统控制要求 5

2。2  控制系统总框图 6

2。3  单片机最小系统 6

2。4  传感器模块 9

2。5 光强度检测模块 12

2。6 液晶显示LCD1602 13

3  视力保护器系统硬件设计 14

3。1 单片机最小系统设计 16

3。2  电源电路 17

3。3  蜂鸣器报警电路设计 18

3。4  显示模块LCD1602液晶屏 19

3。5  测距模块电路 19

3。6  按键电路 20

4  视力保护器系统软件设计 20

4。1  主程序设计 20

4。2 子程序设计 21

5  仿真与实验 23

5。1  仿真 23

5。2  电路制作与调试 25

结  论 28

参考文献 29

致  谢 30

附录  主程序 30

1  绪论

1。1  本文研究的背景与意义

上一篇:PLC多种液体混合控制系统设计+梯形图
下一篇:STC89C51单片机的数字时钟设计+电路图+程序

基于Kinect手势识别的遥操...

冷库GPRS的无线数据采集系统设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

PLC物料自动分拣系统的设计+源程序

单相电压型逆变电路的谐...

MNL模型历史城区居民活动...

高效课堂教师问卷调查表

从企业eHR建设谈管理信息...

浅析施工企业保理融资成...

遥感土地用变化监测国内外研究现状

提高小學语文課堂朗读教...

PCI+PID算法直流力矩电机速...

《水浒传》中血腥暴力研...

大规模MIMO系统的发展研究现状

小型通用机器人控制系统设计任务书