SunFounder 3in1 Kit
5.6 5. Play with Obstacle Avoidance Module
Two infrared obstacle avoidance modules are mounted on the front of the car, which can be used to detect some close
obstacles.
In this project, the car is allowed to move forward freely, and when it encounters an obstacle it is able to avoid it and
continue to move in other directions.
Required Components
In this project, we need the following components.
It’s definitely convenient to buy a whole kit, here’s the link:
Name ITEMS IN THIS KIT LINK
3 in 1 Starter Kit 380+
You can also buy them separately from the links below.
COMPONENT INTRODUCTION PURCHASE LINK
Arduino Uno R4 Minima
L9110 Motor Driver Module -
TT Motor -
Obstacle Avoidance Module
Wiring
The obstacle avoidance module is a distance-adjustable infrared proximity sensor whose output is normally high and
low when an obstacle is detected.
Now build the circuit according to the diagram below.
Left IR Module R4 Board
OUT 8
GND GND
VCC 5V
Right IR Module R4 Board
OUT 7
GND GND
VCC 5V
244 Chapter 5. Car Projects