搜索资源列表
super-wave-control-car
- 超声波控制倒车源代码。这是基于凌阳16单片机开发的,实现通过超声波测距来控制倒车动作的进行和结束,很值得一看的。-ultrasonic control reversing the source code. This is based on Sunplus 16 MCU Development, and achieving through Ultrasonic Ranging reversing moves to control the conduct and concluded, is the
Ultrasonic
- 超声波传感器在凌阳16位单片机上的C语言程序,精确度很高哦-Ultrasonic sensors at Sunplus 16-bit single-chip on the C language procedure, high accuracy Oh
chashengboceju
- AT89S52单片机控制的超声波测距,主程序首先对系统环境初始化,设置定时器T0工作模式为16位的定时计数器模式,置位总中断允许位EA并给显示端口P0和P2清0。然后调用超声波发生子程序送出一个超声波脉冲,为避免超声波从发射器直接传送到接收器引起的直接波触发,需延迟0.1ms(这也就是测距器会有一个最小可测距离的原因)后,才打开外中断0接收返回的超声波信号。由于采用12MHz的晶振,机器周期为1us,当主程序检测到接收成功的标志位后,将计数器T0中的数(即超声波来回所用的时间)按下式计算即可测得
main
- 凌阳十六位单片机超声波测距主程序,程序结构清楚,有详细的文字说明-Sunplus 16-bit single-chip Ultrasonic Ranging main program, the program is clearly structured, detailed text descr iption