Lesson 2: Obstacle Avoidance Robot Car
In this lesson, you must complete
lesson 1
before you continue on with this lesson. we
use the ultrasonic module to "see" obstacle and measure the distance. If the distance
is less than pre-defined threshold value, the car will turn around from the obstacle
automatically.
OSOYOO Mecanum Wheels Robotic Car Chassis x1(2xleft-wheels/2xright-wheels and Motor x 4)
OSOYOO Mega2560 board fully compatible with Arduino
x 1
OSOYOO V1.0 Wifi shield x 1
OSOYOO Model X motor driver x 2
OSOYOO MG90 servo motor x 1
OSOYOO Ultrasonic sensor module x1
OSOYOO Mount holder
OSOYOO Battery box x 1
18650 Batteries(3.7V) x 2
You must complete
lesson 1 (assembling the car)
before you continue on with this
lesson.In this lesson3, we will add a servo motor and to the robotic car built in Lesson
1.
Step 1:
Install bracket (from servo motor package) on mount holder for Ultrasonic
Module with 2pcs M1.5*6 Self Tapping Screws.
Step 2: Install Ultrasonic Module to mount holder with 4pcs M1.4*8 screw and M1.4 nuts.
Need help?
Do you have a question about the Mega2560 and is the answer not in the manual?