摘要
本文简要介绍了一种基于Arduino新型集成开发环境的超声波避障小车的工作原理,包括对小车的结构、传感器、执行元件、Arduino单片机软件编程及试验结果的介绍。本方案基于蝙蝠超声波测距的原理,利用超声波传感器,检测小车前方障碍物的距离;轮速传感器分别检测左右轮速,所有信号传递给单片机,由其控制小车两个直流电机,驱动车轮。实现小车根据外部环境,完成前进、后退和转向动作,完成避障的功能。
This paper briefly introduces a new type of integrated development environment based on Arduino, and a design of ultrasonic obstacle avoidance cart, including the structure of cart, sensors, execute component, Arduino software programming and test result is introduced. The scheme based on the principle of ultrasonic ranging bats, using ultra- sonic sensors, testing the distance between the cart and the obstacles: two wheel speed sensors testing two wheel's speed,all signals are transmit to the single-chip microcomputer which controls two dc motor,and drives the wheels.The cart can move forward, backward and steering according to the outside environment,it makes the cart evade obstacles.
出处
《自动化技术与应用》
2014年第1期16-19,共4页
Techniques of Automation and Applications
关键词
Arduino单片机
脉宽调制
超声波测距
避障
arduino single-chip microcomputer: PWM: ultrasonic ranging: obstacle avoidance