摘要
为了提高移动机器人的定位能力,提出一种基于STC89C52单片机的电子罗盘-超声波测障系统方案,并完成系统的软硬件设计。系统中,电子罗盘模块测试障碍物的方位(角度和方向),超声波模块测试与障碍物的距离,STC89C52单片机系统处理上述数据后在液晶显示器LCD1602上显示。实验表明,系统能精确测试障碍物的方位和距离,并实时显示,达到设计要求。
In order to get more accurate positioning for mobile robot, a kind of range system is presented in this paper.It is combination of the electronic compass and ultrasonic technology based on MCU,the electronic compass for direction angle acquisition and the ultrasonic technology for measurmeng distance from barriers. In the system, direction angle and distance from barriers as digital signal are processed by MCU, finally digital value,time and date are displayed in real time by LCD1602. Experimental result shows the system meet the design requirement.
出处
《电子设计工程》
2013年第10期163-166,共4页
Electronic Design Engineering
关键词
单片机
电子罗盘
超声波
测障
MCU
electronic compass
ultrasonic technologty
range acquisition