.. note:: Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts. **Why Join?** - **Expert Support**: Solve post-sale issues and technical challenges with help from our community and team. - **Learn & Share**: Exchange tips and tutorials to enhance your skills. - **Exclusive Previews**: Get early access to new product announcements and sneak peeks. - **Special Discounts**: Enjoy exclusive discounts on our newest products. - **Festive Promotions and Giveaways**: Take part in giveaways and holiday promotions. 👉 Ready to explore and create with us? Click [|link_sf_facebook|] and join today! Video 16: Infrared Obstacle Avoidance ======================================== Learn to set up and program an infrared obstacle avoidance sensor with Arduino to detect obstacles and activate a buzzer. * **Understanding IR Sensor Mechanics**: Overview of the infrared sensor's components and how they function to detect obstacles. * **Sensor-Arduino Connection**: Step-by-step instructions for wiring the infrared sensor to the Arduino board. * **Programming for Obstacle Detection**: Introduction to writing and understanding Arduino code for obstacle detection using the sensor. * **Real-Time Obstacle Detection Demo**: Demonstrating the sensor's ability to detect objects at various distances and conditions. * **Sensitivity Adjustment**: Detailed guide on adjusting the sensor's sensitivity for different detection ranges. * **Integrating a Buzzer**: Modifying the setup and code to include a buzzer that activates upon obstacle detection. **Video** .. raw:: html

**Related On-line Tutorials** * :ref:`ar_ir_obstacle`