กลับไปหน้ารวมไฟล์
obstacle-avoidance-using-infrared-ir-sensor-ad5fbc-en.md

Introduction

Hello World! I made another example project, I am using the KY-032 to show you how obstacle avoidance Sensors work. The code is basic but works fine for simple things. From the code you can build bigger projects.

The obstacle avoidance sensor is being used in multiple things, for example Unmanned military vehicles, cars, and a lot of robotics.

Check the next step for code and schematic.

Step 1: Schematic Code & Parts List.

PARTS LIST:

  • Arduino Uno, I used the RobotDyn UNO, a chinese copy with 7 Analog pins.
  • Obstacle Avoidance Sensor KY-032
  • Buzzer
  • Set of Jumper wires MM/FF/MF
  • 9 Volt battery + Battery Plug.(optional)

EXPANDED TECHNICAL DETAILS

Low-Latency Non-Contact Navigation

This project builds a simple, effective autonomous rover that uses optical reflection to navigate around objects.

  • IR Reflectance Calibration: Uses a pair of IR emitter/receiver (TCRT5000) sensors. The Arduino monitors the analog reflection intensity; when a surface is close, the reflected IR light increases the sensor's voltage, signaling an obstacle.
  • Differential Steering Logic: When an obstacle is detected on the "Left" sensor, the Arduino reverses the left wheel and drives the right wheel forward, performing a sharp "Z-turn" until the path is clear.

Hardware

  • L9110S Compact Driver: Manages two DC hobby motors using a high-density H-bridge, providing sufficient current for the rover while maintaining a small physical footprint.

ข้อมูล Frontmatter ดั้งเดิม

title: "Obstacle Avoidance using Infrared (IR) Sensor"
description: "Play with bots having obstacle avoidance for the safety of the bot."
author: "SURYATEJA"
category: ""
tags:
  - "robots"
  - "tracking"
  - "cars"
  - "internet of things"
  - "garden"
views: 7767
likes: 1
price: 299
difficulty: "Easy"
components:
  - "1x Buzzer"
  - "1x Arduino UNO"
  - "1x RGB Diffused Common Cathode"
  - "1x SparkFun Transceiver Breakout - nRF24L01+"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "ae729f61b3ef4b4f44803114273136c6a377353f1c1ca1ba28b422c1134d0f64"
encryptedPayload: "U2FsdGVkX18RqoOc5A1cOHkF13KqKLQuCoHSna8WWlIMR8uwK+bDqL8s8mRKus/qLLM3R0vPKCU9mABGgTIWNf80jK5l6J+higa/5g6tbJs="
seoDescription: "Build an Obstacle Avoidance bot using an Infrared (IR) Sensor and Arduino. Ensure bot safety with this simple DIY electronics project."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/obstacle-avoidance-using-infrared-ir-sensor-ad5fbc_cover.jpg"
lang: "en"