文件名称:ul_Main
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- w**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这是个机于8051单片机的超声波测距程序。工作原理为:
在发射端加一个8--15us的高电平,然后在接收端开始计时,此时接收端为高电平, 超声波在空气中传播一定时间返回接收器,接收端收到一个下降沿,这个过程就是超声波的传输时间,用下面的公式就可以测算出有形物体到测距模块的距离-This is a machine in 8051 ultrasonic ranging process. Working principle: the transmitter plus a 8- 15us' s high, and then start the timer at the receiving end, when the receiver is high, ultrasound propagation in the air some time to return the receiver, the receiver receives a falling, this process is the transmission time of ultrasound, using the following formula can measure the physical distance from the object to the distance measuring module
在发射端加一个8--15us的高电平,然后在接收端开始计时,此时接收端为高电平, 超声波在空气中传播一定时间返回接收器,接收端收到一个下降沿,这个过程就是超声波的传输时间,用下面的公式就可以测算出有形物体到测距模块的距离-This is a machine in 8051 ultrasonic ranging process. Working principle: the transmitter plus a 8- 15us' s high, and then start the timer at the receiving end, when the receiver is high, ultrasound propagation in the air some time to return the receiver, the receiver receives a falling, this process is the transmission time of ultrasound, using the following formula can measure the physical distance from the object to the distance measuring module
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ul_Main.c