毕业论文

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

51单片机雷达扫描测距仪设计+程序

时间:2022-01-09 15:25来源:毕业论文
增强型51单片机STC12C5A60S2自带的AD转换功能在1602液晶上显示障碍物离红外测距传感器的距离,同时利用298驱动模块驱动电机使红外测距传感器进行360度的全方位检测障碍物

摘要本篇文章阐述的是一款基于增强型51单片机而设计的雷达扫描测距仪。本作品使用机器人最常使用的夏普GP2D12红外测距传感器检测障碍物并且结合增强型51单片机STC12C5A60S2自带的AD转换功能在1602液晶上显示障碍物离红外测距传感器的距离,同时利用298驱动模块驱动电机使红外测距传感器进行360度的全方位检测障碍物,在电机顶部装有WDD35D-4精密导电塑料电位器通过增强型51单片机STC12C5A60S2自带AD转换在1602液晶上显示出障碍物偏离的角度。本设计构造简单、运行安全可靠、测量精确度高,能够快速有效的检测到近距离障碍物并显示出距离和偏转角度。76870

该论文有图10幅,参考文献10篇。毕业论文关键词:STC12C5A60S2  红外测距  电位器   

Radar Scanning Range Finder Based on Super 51Single Chip Microcomputer

Abstract  This article describes the design of an enhanced 51 microcontroller based radar scanning range finder。 This work is the use of robots the most frequently used sharp gp2d12 infrared distance sensors to detect obstacles。 And combined with enhanced 51 MCU STC12C5A60S2 built-in AD conversion function in the 1602 LCD display obstacles from the infrared distance sensor distance, the 298 drive module motor to drive the infrared distance sensor 360 degree of the full range of obstacle detection, on the top of the motor is equipped with WDD35D-4 precision conductive plastic potentiometer through enhanced 51 MCU STC12C5A60S2 built-in AD conversion in 1602 LCD shows obstacle deviation angle。 The design is simple, safe and reliable operation, high measurement accuracy, can quickly and effectively detect the obstacles and display the distance and deflection angle。

    There are 10 figures and 10 references in this paper。

Key Words:STC12C5A60S2   nfrared distance measurement  potentiometer 

目  录

摘要。I

AbstractII

目录。。III

图清单。。。V

1绪论。1

1。1设计背景。。1

1。2设计目的。。1

1。3设计应用。。1

2方案的设计对比与论证。3

2。1供电模块。。3

2。2检测障碍物模块。。3

2。3测量角度模块。。4

2。4显示模块。。4 

3系统的硬件结构电路设计。6

3。1供电电源电路。。6

3。2STC12C5A60S2单片机。。。6

3。3红外测距模块。。7

3。4角度传感器模块。。8

3。5液晶1602显示模块。8

3。6驱动电机模块。。9

3。7蜂鸣器和继电器部分10

4系统软件设计。。。12

4。1KEIL 软件的集成开发环境。。12

4。2KEIL工程的建立。。。13

4。3STC12C5A60S2单片机C语言程序调试13

4。4使用ISP工具下载程序的步骤13

4。5角度和距离采集AD转换显示程序14

5软件和硬件的联合调试。。。15

5。1 硬件的调试。。。15

5。2软件的调试16

6结论。。。17

参考文献。。18

致谢。。19

附录。。20

图清单

图序号 图名称 页码

图3-1 5V电池实物图 6

图3-2 STC12C5A60S2单片机硬件最小系统原理图 7

图3-3 STC12C5A60S2单片机实物图

图3-4 红外传感器GP2D12实物图 51单片机雷达扫描测距仪设计+程序:http://www.youerw.com/zidonghua/lunwen_88245.html

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