IR sensor working || all about arduino IR sensor
Summary
TLDRThis tutorial from Crazytronics introduces the IR sensor, explaining its components, including an IR transmitter LED, receiver, and a sensitivity adjustment potentiometer. It outlines the sensor's functionality with Arduino, detailing how it detects motion within a 5cm range and differentiates between active high and active low types. A key drawback is its inability to detect black objects due to their light-absorbing properties. The tutorial concludes with practical applications, such as line-following robots, and encourages viewers to engage with the channel for more content.
Takeaways
- π The IR sensor, or Infra-Red sensor, is used with Arduino for motion detection.
- π οΈ It consists of an IR transmitter LED, an IR receiver, and a sensitivity adjustment potentiometer.
- π The sensor has three pins: VCC for 5V input, ground, and an output pin connected to a GPIO pin on Arduino.
- π‘ The IR transmitter continuously emits IR light, which is received by the receiver when reflected by an object.
- πΆ The output from the D0 pin of the sensor goes HIGH when an object is detected within 5cm and LOW when no object is detected.
- π There are two types of IR sensors: active high (HIGH output when object detected) and active low (LOW output when object detected).
- β«οΈ IR sensors do not work on black objects as they do not reflect IR light and are absorbed by the object.
- π€ Despite its limitations, the IR sensor's inability to detect black objects can be utilized for making line-following robots.
- π Remember the three key points about IR sensors: their type (active HIGH or LOW), their range (5cm), and their inability to detect black objects.
- π Stay tuned for future videos that will cover the application of IR sensors in line-following robots.
Q & A
What is an IR sensor?
-An IR sensor, or Infra-Red sensor, is a device used for detecting motion by transmitting and receiving infrared light.
How does an IR sensor work with an Arduino?
-An IR sensor works with an Arduino by connecting its VCC and ground pins to the Arduino's respective pins, and its output pin to a GPIO pin on the Arduino to transfer digital output.
What are the three main pins of an IR sensor?
-The three main pins of an IR sensor are VCC, which receives 5V input, ground, and the output pin, which connects to a GPIO pin on the Arduino.
What is the purpose of the sensitivity adjustment potentiometer in an IR sensor?
-The sensitivity adjustment potentiometer in an IR sensor is used for controlling the range of detection, determining how far or near the sensor can detect an object.
What are the two types of IR sensors mentioned in the script?
-The two types of IR sensors mentioned are active high and active low sensors. Active high sensors output HIGH when an object is detected and LOW when no object is detected, while active low sensors do the opposite.
What is the typical range of an IR sensor as described in the script?
-The typical range of an IR sensor as described in the script is 5cm, meaning the distance between the sensor and the object should be less than 5cm for a HIGH output.
Why does an IR sensor not work well on black objects?
-An IR sensor does not work well on black objects because black objects do not reflect light, and instead absorb the IR light, resulting in no output from the sensor's D0 pin.
What is a major drawback of an IR sensor?
-A major drawback of an IR sensor is that it does not detect black objects due to their inability to reflect IR light.
How can the limitation of an IR sensor be used to an advantage?
-The limitation of an IR sensor not detecting black objects can be used to an advantage in creating line-following robots, as the sensor can be used to follow a black line on a lighter surface.
What are the three major points to remember about an IR sensor as per the script?
-The three major points to remember about an IR sensor are its type (active LOW and active HIGH), its range is 5cm, and it does not detect black objects.
Outlines
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowMindmap
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowKeywords
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowHighlights
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowTranscripts
This section is available to paid users only. Please upgrade to access this part.
Upgrade NowBrowse More Related Video
VERY EASY Arduino IR Sensor Tutorial for Beginners | IR Sensor Arduino Tutorial | Infrared Sensor
How to Use a TCS3200 Color Sensor with Arduino (Lesson #38)
Perangkat Cerdas Pendeteksi Hujan || Raindrop Sensor Dengan Arduino || Full Code dan Penjelasan
HOW TO MAKE A TILT SENSOR ACTIVATED ALARM USING ARDUINO.
Indoor Air Quality Monitor System using Arduino #airqualityindex #arduinoproject #arduinonano #diy
How to use PIR Motion Sensor with Arduino | Motion sensor light
5.0 / 5 (0 votes)