1 / 4
文档名称:

基于AT89C2051的超声波测距系统.pdf

格式:pdf   页数:4页
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

基于AT89C2051的超声波测距系统.pdf

上传人:drp539606 2015/9/20 文件大小:0 KB

下载得到文件列表

基于AT89C2051的超声波测距系统.pdf

相关文档

文档介绍

文档介绍:2
2
第 33卷第 11期应用科技 Vol. 33, №. 11
2006年 11月 App lied Science and Technology Nov. 2006
文章编号: 1009 - 671X (2006) 11 - 0011 - 04
基于 AT89C2051的超声波测距系统
高川,谈振藩
(哈尔滨工程大学自动化学院,黑龙江哈尔滨 150001)
摘要:介绍了利用超声波传感器实现的非接触式距离检测系统. 该系统可以用于汽车倒车时的报警、液位和
物位的非接触式测量. 介绍了超声波传感器原理及系统各单元的设计. 系统中采用了 AT89C2051型单片机作
为主控制器. 把一种直流电机 PWM 调速芯片应用到此系统中,使得控制方法简便,应用范围增强,同时可以利
用单片机设定距离值和输出控制信号. 最终距离用串行方2法在数码管上显示出来,可以直观地查看距离值,以
实现测距、显示、输出控制信号的功能.
关键词:单片机;超声波; L293;测距
中图分类号: TP274. 53 文献标识码: A
An ultrason ic distance measurement system
based on AT89C2051 m puter
GAO Chuan, TAN Zhen fan
(College of Automation, Harbin Engineering University, Harbin 150001, China)
Abstract: A distance measurement device using ultrasonic sensors is p resented which can be used as astern alarm
or non contact measuring device for liquid level and object position. The design of each unit of the system and the
p rincip le of ultrasonic sensors has been described in detail. The system utilizesAT89C2051 m puter asmajor
controller. ADC motor PWM velocity regulation chip is used in this system, making the control method simp ler and
app lication range wider. The distance and output control signal can be set up byMCU. The measured distance can
be disp layed on LED. Hence, the functions of distance measurement, disp lay, and control signal output have been
achieved.
Keywords: m puter; ultrasonic sensor; L293;