›› 2015, Vol. 28 ›› Issue (8): 56-.

• 论文 • 上一篇    下一篇

基于单片机带温度补偿的超声波测距仪设计

于姣   

  1. (苏州高等职业技术学校 电子工程系,江苏 苏州 215009)
  • 出版日期:2015-08-15 发布日期:2015-08-15
  • 作者简介:于姣(1981—),女,硕士,讲师。研究方向:信号检测与智能控制。E-mail:76515188@qq.com

Design of Ultrasonic Distance Instrument with Temperature Compensation Based on Microprocessor

YU Jiao   

  1. (Department of Electronic Engineering,Suzhou Vocational and Technical School,Suzhou 215009,China)
  • Online:2015-08-15 Published:2015-08-15

摘要:

为了克服超声波测距系统中环境温度波动对系统的测距造成的误差,设计实现了一种AT89S52单片机为核心的超声波测距系统,由DS18B20温度传感器、超声波传感器HC-SRF05以及LCD1602显示电路组成。文中对该系统的硬件组成和软件控制流程中的关键点进行了阐述。实验结果表明,该测距系统稳定可靠、测量精度高,并有一定的实用性和推广价值。

关键词: 单片机, 超声波, 温度补偿, 测距仪

Abstract:

In order to overcome the error of environment temperature fluctuation caused by the ultrasonic ranging,an ultrasonic ranging system is designed using AT89S52 MCU as the core.The system consists of the DS18B20 temperature sensor,HC-SRF05 ultrasonic sensor and LCD1602 digital display circuit.The hardware and software of the system are described in detail.The experiment results show that the measurement system is stable,reliable and highly accurate.

Key words: microprocessor;ultrasonic;temperature compensation;range finder

中图分类号: 

  • TP274+.53