摘要
介绍了利用超声波传感器实现的非接触式距离检测系统.该系统可以用于汽车倒车时的报警、液位和物位的非接触式测量.介绍了超声波传感器原理及系统各单元的设计.系统中采用了AT89C2051型单片机作为主控制器.把一种直流电机PWM调速芯片应用到此系统中,使得控制方法简便,应用范围增强,同时可以利用单片机设定距离值和输出控制信号.最终距离用串行方法在数码管上显示出来,可以直观地查看距离值,以实现测距、显示、输出控制信号的功能.
A distance measurement device using ultrasonic sensors is presented 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 principle of ultrasonic sensors has been described in detail. The system utilizes AT89C2051 microcomputer as major controller. ADC motor PWM velocity regulation chip is used in this system, making the control method simpler and application range wider. The distance and output control signal can be set up by MCU. The measured distance can be displayed on LED. Hence, the functions of distance measurement, display, and control signal output have been achieved.
出处
《应用科技》
CAS
2006年第11期11-14,共4页
Applied Science and Technology
关键词
单片机
超声波
L293
测距
microcomputer
ultrasonic sensor
L293
distance measurement