首页 | 官方网站   微博 | 高级检索  
     

基于C8051F320单片机的超声波测距仪
引用本文:张芬,董浩斌,焦彦斌.基于C8051F320单片机的超声波测距仪[J].仪表技术与传感器,2009(12).
作者姓名:张芬  董浩斌  焦彦斌
作者单位:1. 中国地质大学(武汉)机械与电子信息学院,湖北武汉,430074
2. 中国地质大学(武汉)资源学院,湖北武汉,430074
摘    要:介绍了USB(通用串行总线,Universal Serial Bus)型单片机C8051F320和相应的集成开发环境,详细论述了超声波测距仪从系统的整体结构设计到发射与接收部分电路的实现以及软件设计的整个过程.为了提高测量精度,采取了温度补偿、增大发射功率、回波捕捉等措施.系统充分利用C8051F320的功能模块和片内资源,实现了温度和距离的测量、输入信号的采集和USB总线传输,可在VC编制的界面平台上控制单片机及实时显示数据处理结果.该超声波测距仪符合USB2.0规范并采用USB总线供电模式,无需外接电源,支持即插即用.经测试该系统能有效提高测距精度,有望得到进一步应用.

关 键 词:单片机  通用串行总线  超声波测距仪

Design of Ultrasonic Range Finder Based on C8051F320
ZHANG Fen,DONG Hao-bin,JIAO Yan-bin.Design of Ultrasonic Range Finder Based on C8051F320[J].Instrument Technique and Sensor,2009(12).
Authors:ZHANG Fen  DONG Hao-bin  JIAO Yan-bin
Abstract:The C8051F320 device integrated Universal Serial Bus (USB) Function Controller and corresponding Integrated Development Environment (IDE) was introduced. The research process concerning the ultrasonic range finder was described, including the frame of ultrasonic range finder, schematics of ultrasonic transmitter and receiver and software part. In order to improve measurement accuracy, it takes various measures, such as temperature compensation, increasing transmitter power and echo capture. By using all on-chip analog and digital peripherals of C8051F320 device, the system is carried out. Having a platform of application programs written in Visual C++, this ultrasonic range finder can measure temperature and distance, sample input signal, support USB 2.0 protocol, control MCU and display results in real time. This ultrasonic range finder is USB 2.0 compliant and USB bus-powered, no external power supply and support plug and play. It improves the accuracy and expects to be supported more widely.
Keywords:MCU  USB  ultrasonic range finder
本文献已被 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号