I. Objective
II. Parts and Devices
III. Hardware Installation
IV. Software Installation
V. Functional Testing and Verification
VI. Troubleshooting


In this lesson, we will do an obstacle avoidance auto-driving project. We use an ultrasonic module to “see” obstacle, and the car will turn around from the obstacle automatically.

You must complete lesson 1 before you continue on with this lesson.


OSOYOO ESPro Robot car chassis x1
OSOYOO Wheels x2
OSOYOO DC motors x2
OSOYOO ESPro motor driver board x1
OSOYOO Voltage meter x1
OSOYOO MG90 servo motor x 1
OSOYOO Mount holder x1
OSOYOO Ultrasonic module x1
OSOYOO Battery box x1
OSOYOO 3pin female to female jumper wire x1
OSOYOO 4pin female to female jumper wire x1
18650 Batteries (3.7 V) x2
Battery charger x1


Step (1) Install Ultrasonic Module to mount holder with 4pcs M1.4*8 screw and M1.4 nuts.

Step (2)Install mount holder for Ultrasonic Module on servo motor with M2*4 Self Tapping screw.

Step (3) Before connecting wires, Please keep all lesson 1 connections same as it is.
Connect SG90 servo motor and Ultrasonic Module to OSOYOO ESPro motor driver board using 4pin female to female jumper cable as follows.