49
Step 5: Ultrasonic sensor servo initial direction alignment
After power on the car, you will hear a long beep sound, then the servo will
make some movement and finally stops at a direction for 5 seconds.
During this first 5 seconds, you must make sure the Ultrasonic sensor(two
eyes) is facing straight forward.
If it is not straight forward, you should turn off the car immediately and remove
the sensor from servo, reinstall it and make it facing straight forward direction
as following picture. Otherwise the obstacle avoidance program will not work
properly.
After adjusting sensor direction, power on the car again. After hearing the long
beep, the sensor should face front same as following picture. If its direction is
not straight forward, turn off the car and do direction alignment again.
Testing
Power on the car, if the ultrasonic module turn to front view position, that
means you no need adjust sensor position anymore. Just wait 5 seconds. If no
Summary of Contents for 3
Page 6: ...6 ...
Page 13: ...13 Connection Step 1 Connect OSOYOO Motor Shield V1 0 with the motor ...
Page 18: ...18 ...
Page 25: ...25 Step 5 Choose corresponding board and port for your project upload the sketch to the board ...
Page 39: ...39 Step 7 Connect ultrasonic module with OSOYOO motor shield V1 0 as below connection diagram ...
Page 40: ...40 Step 8 Connect buzzer module with OSOYOO motor shield V1 0 as below connection diagram ...
Page 48: ...48 Step 4 Choose corresponding board port for your project upload the sketch to the board ...