Ultrasonic Obstacle Avoidance - Keywish Hummer-Bot-1.0 Instruction Manual

Table of Contents

Advertisement

3.2.4 Ultrasonic Obstacle Avoidance

In this product, we will integrate the ultrasonic module and steering engine together and make the two
parts working at the same time, which greatly increases the effectiveness of the data and the flexibility of the
car, the main working flow: When the power is on, steering engine will automatically rotates to 90 degrees,
the MCU will read data from the reflected ultrasonic. If the data is greater than the security value, the car
will continue to drive forward, otherwise the car will stop, then the steering engine will rotate 90 degrees to
the right. After that, the MCU reads data from the reflected ultrasonic again, the steering engine rotates 180
degrees to the left, then reading data again, the steering engine rotate 90 degrees, the MCU will contrast the
two detected data, if the left data is greater than the right data, the car will turn left, otherwise turn right, if
the two data are both less than the safety value, the car will turn around.
3.2.4.1 Suite Introduction
1. The steering gear
The steering gear is mainly composed of the following parts in general, steering wheels, gear group,
position feedback potentiometer, DC motor and control circuit (shown in Fig.3.2.24). Fig.3.2.25 shows the
most commonly used 9G steering gear now.
Figure .3.2.24 Diagram of Steering Gear
62

Advertisement

Table of Contents
loading

Table of Contents