首页 | 本学科首页   官方微博 | 高级检索  
     

基于STC89C52RC的超声波测距系统设计
引用本文:李航,王可人.基于STC89C52RC的超声波测距系统设计[J].电子测试,2010(1):55-58.
作者姓名:李航  王可人
作者单位:解放军电子工程学院,304实验室,安徽,合肥,230037
摘    要:本文介绍了一种基于STC89C52RC的超声波测距系统的工作原理及其硬件组成和相应的软件流程。硬件系统由脉冲发射电路、接收电路、温度补偿电路和相应的控制电路组成。软件部分采用单片机C语言程序编程,主要由键盘扫描、定时器/计数器初始化、超声波发射子程序、中断服务子程序和LED动态显示子程序构成。同时,为了提高超声波测距精度,采用温度传感器进行环境温度检测,对超声波的传播速度进行校正。实测证明,系统具有较高的测量精度和较强的适应性。

关 键 词:STC89C52RC  超声波  测距  温度补偿

Ultrasonic ranging system reversing
Li Hang,Wang Keren.Ultrasonic ranging system reversing[J].Electronic Test,2010(1):55-58.
Authors:Li Hang  Wang Keren
Affiliation:LI Hang,Wang Keren(Lab 304,EEI,Hefei Anhui 230037,China)
Abstract:This paper introduces a single-chip-microcomputer STC89C52RC control system for ultrasonic ranging system and the hardware circuit and the software flow chart of the control system.This hardware includes a pulse transmitter,a receiver,a temperature compensating circuit and related control logic.And the software is composed by keyboard scan,timer or counter initialization,sending ultrasonic subprogram,interrupt service routine and dynamic display subprogram.At the same time,in order to improve the accuracy o...
Keywords:STC89C52RC
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号