SunFounder 3in1 Kit
4.3.4 3.3 Detect the Obstacle
This module is commonly installed on the car and robot to judge the existence of the obstacles ahead. Also it is widely
used in hand held device, water faucet and so on.
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 -
Jumper Wires
Obstacle Avoidance Module
Schematic
The digital pin 2 is used to read the signal of IR Obstacle Avoidance Module. We get the VCC of IR Sensor Module
connected to 5V, GND to GND, OUT to digital pin 2.
Wiring
4.3. 3. Digital Read 113