This lesson is part of:
Arduino Course based on SunFounder's 3-in-1 Learning Kit
Lesson 16/31: Detecting Obstacle Using Infrared Obstacle Avoidance Sensor using SunFounder Kit
In this tutorial, we will learn how to use an Infrared Obstacle Avoidance Sensor to detect obstacles effectively. We'll demonstrate how to program actions in the code to respond when an obstacle is detected, using a buzzer as an example. Additionally, we will explore how to adjust the sensor's sensitivity to increase its detection range. This lesson includes detailed explanations of the wiring setup and complete code implementation.
No code attached.
Common Course Links
Common Course Files
Resources & references
No resources yet.
Files📁
Arduino Libraries (zip)
-
SunFounder's 3-in-1 Smart Car learning kit source code
3in1-kit-main-v2.zip12.80 MB