กลับไปหน้ารวมไฟล์
arduino-with-ir-sensor-b7e7b1-en.md

Arduino With (IR) Infrared Sensor

Hi guys In here I am going to show you have to work with IR - Infrared Sensor.

In above sensor, You find it easy to see 3 pins there…

1.VCC - for operate the sensor (5v)

2.OUT - for, get signal to Arduino development board.

3.GND - for ground (GND) from Arduino development board.

EXPANDED TECHNICAL DETAILS

Object & Motion Detection Logic

This foundational project explores the use of Active Infrared (IR) sensors for proximity and line-following applications.

  • IR Pair Working: The sensor consists of an IR LED (Transmitter) and a photodiode (Receiver). The Arduino monitors the analog or digital signal from the photodiode. When a physical object reflects the IR light back, the signal voltage changes.
  • Ambient Light Compensation: The firmware includes calibration to ignore standard room lighting, ensuring that the "Reflection" detected is truly from a physical object within 5-10cm.

Use Cases

  • Touchless Switches: Implementing a wave-to-on light switch for kitchens or bathrooms.
  • Counting & Sorting: Used in assembly line simulations or piggy-bank builds to detect when a coin/object has passed a certain point, providing a silent and low-power alternative to ultrasonic sensors.

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

title: "Arduino with IR Sensor"
description: "IR Sensor project with Arduino"
author: "jehankandt"
category: ""
tags:
  - "kids"
  - "communication"
  - "remote control"
views: 3293
likes: 0
price: 870
difficulty: "Intermediate"
components:
  - "1x 5 mm LED: Red"
  - "2x Resistor 220 ohm"
  - "1x IR Range Sensor"
  - "1x Arduino UNO"
  - "1x 5 mm LED: Green"
  - "1x Breadboard (generic)"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles:
  - "https://projects.arduinocontent.cc/7267d51a-b4f3-4607-96f5-3870e98e3259.ino"
documentationLinks: []
passwordHash: "56afd903239614937a5946479dcf9d8a4270c1d5eb5d109e8fc2f65b28f71bd7"
encryptedPayload: "U2FsdGVkX19NNDDQ6wemomhCrjngoCsGh8tIzIsDTgHHhtPWU2O3CyYmZCsQ6ThmZRqlwaWClaSuAEZQRhg6WdVC7rsd+AlwKOqKv1XPSbU="
seoDescription: "Learn how to use an IR Sensor with Arduino in this simple detection project tutorial."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/arduino-with-ir-sensor-b7e7b1_cover.jpg"
lang: "en"