摘要
针对ARM-Linux平台下对超声波测距研究较少的问题,根据超声波的工作原理,利用字符设备驱动编写的基本方法,用ARM处理器在Linux2.6内核下实现了超声波模块和温度传感器驱动程序和应用程序的开发。实验结果表明,经过温度补偿方法,测量的数据准确,稳定性和实时性好,实现了ARM-Linux下对HC-SR04和DS18B20的支持,并已应用在移动机器人控制系统中,且运行效果良好。
In order to resolve the problems of ultrasonic distance measure under the ARM-Linux platform,following the working principe of ultrasonic and basic method of character device driver written,the ultrasonic modular and temperature sensor driver program and application program were designed and implemented under the ARM processor and the kernel of Linux2.6. Experimental results show that the measurement data was accurate,stable and real-time using temperature compensation method,it has accomplished the support of HC-SR04 sensor and DS18B20 sensor under the ARM-Linux platform,and has been applied in the mobile robot control system,and run to good effect.
出处
《自动化与仪表》
北大核心
2013年第3期21-24,共4页
Automation & Instrumentation