毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

STC89C52单片机的超声波倒车预警系统设计+电路图

时间:2021-04-08 22:13来源:毕业论文
采用STC89C52单片机作为主要控制单元,用于控制超声波测距。系统主要是利用STC89C52单片机、超声波传感器、LCD1602液晶显示器完成测距、显示及报警系统的制作

摘要:随着社会的汽车事业的发展,城市里面的汽车数量极速增加,汽车一边给人民生活带来许多方便,一边也为交通带来了许多安全风险,倒车问题便是一个典型的方面。为了汽车安全倒车,能以一定的声音警示及直观地距离值在显示器上显示告知广大司机们所驾车子在倒车过程中车后的障碍物分布情况,解除了司机停车,倒车和启动车辆周围的一些障碍物引起的麻烦,从而提高驾驶的安全性,提高驾驶乐趣,显得尤为重要。65142

基于单片机的超声波倒车预警系统采用STC89C52单片机作为主要控制单元,用于控制超声波测距。系统主要是利用STC89C52单片机、超声波传感器、LCD1602液晶显示器完成测距、显示及报警系统的制作,以STC89C52为主控芯片,利用超声波对距离的检测,将物体的距离测出来给LCD1602液晶屏显示,然后单片机处理运算,与设定的报警距离值进行比较判定,当测得的距离小于设定的值时,STC89C52发出报警指令控制蜂鸣器报警。另外,由于超声波测距受温度的影响,系统通过DS18B20进行温度补偿,减少因为温度而带来的测距干扰,从而提高整体的测量精度,达到预期的设计效果。

毕业论文关键字:  单片机STC89C52,超声波传感器, DS18B20, LCD1602

Abstract:The design is based on the control unit MCU STC89C52 ultrasonic ranging topics. STC89C52 STC series single-chip microcontroller is in a relatively wide range of applications, In the field of automatic control with the use of high value, Its ease of use and versatility was well received the majority of our electronic design enthusiasts. This design is the use of STC89C52 microcontroller, ultrasonic sensors, LCD1602 LCD display to complete the distance, making display and alarm systems, as the main chip in STC89C52, the use of ultrasound to detect the distance, the measured distance in front of the object out to LCD1602 LCD display, then MCU processing operations, And set alarm values are compared determining the distance. When the measured distance is less than the set value, STC89C52 command control alarm buzzer alarm. In addition, due to the ultrasonic ranging affeted by temperature, the design through DS18B20 temperature compensation, because the tempcerature and reduce the interference caused by distance, thus improving the overall accuracy, designed to achieve the desired effect.

Key Words :  MCU STC89C52,Ultrasonic Sensors,DS18B20,LCD1602

目录

1 绪论 5

1.1 课题背景 5

1.2 课题研究的意义 5

1.3 目前国内外的倒车设计的发展概况 5

1.4 本设计完成的工作 7

2 总体设计方案 8

2.1 模块构建 8

2.2 超声波测距原理 8

3 系统的硬件设计 12

3.1 系统总体方案设计 12

3.2 STC89C52简介 12

3.3电源部分的设计 16

3.4 控制电路 16

3.5 温度补偿电路 17

3.6 HC-SRO4超声波模块 19

3.7 键盘设置电路 24

3.8 显示模块 24

3.9 报警电路 25

4 系统软件设计 26

4.1 主程序流程图 STC89C52单片机的超声波倒车预警系统设计+电路图:http://www.751com.cn/zidonghua/lunwen_72621.html

------分隔线----------------------------
推荐内容