The IR Proximity Sensor has a distance range of 2cm to 30cm and it is ideal for obstacle detection, line tracking, and more.
It is designed for easy setup and has onboard detection indication to verify its status. A preset knob allows you to fine-tune the distance range for more accurate readings.
This IR Sensor is best for IoT projects, such as creating automatic sanitizer dispensers and home automation systems.
This infrared sensor is suitable for various applications in industrial, automotive, and consumer electronics settings. This sensor offers unbeatable value for money while ensuring optimal accuracy and efficiency in all your projects.
The detection range of the infrared proximity sensor can be adjusted by the potentiometer.
Enjoy our free shipping on orders above Rs 500/- within India.
Features:
Easy to assemble and use
Onboard detection indication
The effective distance range of 2cm to 30cm
A preset knob to fine-tune distance range
If there is an obstacle, the indicator lights on the circuit board.
Infrared Sensor Applications:
IP cameras
Alarm systems and other crime prevention devices
Battery-driven human presence sensors for IoT smart homes
IR sensors are also used in IR imaging devices, optical power meters, sorting devices, remote sensing, flame monitors, moisture analyzers, night vision devices, infrared astronomy, etc.
Infrared Sensor Diagram:
The IR proximity sensor circuit diagram consists of the following components:
LM358 IC
Resistors in the kilo-ohm range
2 pairs of IR transmitter and receiver
LED
Variable resistors
IR sensor pinout
IR Proximity Sensor Interfacing with Arduino - Wiring & Code Guide
Wiring Guide
Connect the sensor’s VCC pin to the Arduino’s +5 V supply (or 3.3 V if your module supports it).
Connect the sensor’s GND pin to the Arduino’s ground (GND).
Connect the sensor’s OUT pin (digital output) to one of the Arduino digital input pins, e.g., D2.
Ensure the sensor has a common ground with the Arduino to avoid erratic behaviour.
Optionally: adjust the onboard potentiometer to set the detection distance (typically 2‑30 cm).
False Triggering: If the sensor triggers without any object present, check for reflective surfaces nearby. Highly reflective objects (mirrors, shiny metals) can cause false readings.
Sunlight Interference: Direct sunlight or strong IR sources may cause the sensor to behave erratically. Try shielding the sensor or repositioning it away from direct sunlight.
Wiring & Connections: Loose or long wires can introduce noise. Ensure solid, short connections between sensor and Arduino, and use proper grounding.
Adjust Sensitivity: Many IR modules have a potentiometer to adjust detection distance. Turn it carefully to reduce false triggers.
Surface Color & Material: Dark or transparent objects may not reflect IR well. Test with different materials if detection seems inconsistent.
Environment Check: Avoid placing the sensor near other IR emitters (remote controls, heaters) that may interfere with readings.
Power Supply Stability: Ensure a stable 5 V supply. Voltage fluctuations can cause inconsistent sensor behavior.
1. How do I use an IR obstacle avoiding sensor with Arduino?
To use this IR obstacle avoiding sensor, connect its VCC, GND, and OUT pins to your Arduino. The Arduino serves as the microcontroller for your robot, reading the sensor's digital output. Your code can then use this signal to detect obstacles and trigger an avoidance maneuver.
2. How do I test an IR obstacle avoidance sensor module?
The simplest way to test your IR obstacle avoidance sensor module is to power it and wave an object in front to see if the onboard LED lights up. For a more definitive test, connect the IR module's output to a microcontroller and monitor the digital signal to confirm it is working correctly.
3. How can I make an obstacle avoidance sensor?
This IR module serves as the core component for creating your own DIY obstacle sensor. By connecting it to a microcontroller and writing a few lines of code to read its output, you create a complete obstacle avoidance sensor. It is then ready to be integrated into any project needing object detection.
4. How do I make an obstacle avoiding robot using a proximity sensor?
To build an obstacle avoiding robot, start by mounting this IR sensor on the front of its chassis. Connect the sensor's output to a digital input on your microcontroller. The code you write will read this proximity sensor's state and command the robot's motors to turn when an obstacle is detected.
5. How can I test my IR sensor for obstacle avoidance?
To test your IR sensor, connect it to a power source and a microcontroller. The best way to verify its function for obstacle avoidance is to monitor its digital output while placing an object at various distances. This confirms the IR module is reliably triggering when an object is within its detection range.
6. How can I combine ultrasonic and IR sensors for an obstacle avoiding robot?
For more robust navigation, you can combine ultrasonic and IR sensors. Connect both to your microcontroller, using the ultrasonic sensor for long-range detection and the IR sensor for close-range precision. This dual-sensor approach provides a more advanced collision avoidance system for your robot.
7. How do I make a robot using an ultrasonic sensor with IR for obstacle detection?
To build a robot with an ultrasonic sensor with IR, mount both sensors on its chassis to cover different angles and ranges. Wire both sensors' outputs to separate digital pins on your microcontroller. Your code can then process the inputs from both to create a more reliable obstacle avoidance system.
The module is working fine i wished you guys had a soldered one and i think you missed the anntena for this module so make sure to provide one with this module