What is an IR Sensor?
IR Sensor is an electronic device that measure and detects infrared radiation from the surrounding environment. It do not measures the distance between the sensor and the object. It is fast responsive and non atmosphere dependent sensor. It works upon the principle of Infrared Light. Its frequency is high that’s why its range is very low. It only detects obstacle in straight line.
Features of an Infrared (IR) Sensor
- Supply Voltage: 5V (DC)
- Supply Current: 20mA
- Modulation Frequency: 38kHz
- Output: Digital signal (0 or 1) (Output high when obstacle detected)
- Detection Range: 2 cm – 30 cm (varies based on model)
- Beam Angle: Approximately 35 degrees
- Accuracy: ±0.5 cm
- Communication: Digital output (compatible with microcontrollers)
Ultrasonic Sensor Vs IR Sensor
Arduino is a microcontroller that requires sensors to sense the surroundings to process and react to it. Ultrasonic Sensor is an electronic device that measures the distance between the transmitter and the obstetrical using ultrasonic sound waves. It converts the sound reflected sound into an electric signal to provide a numeric output.
Ultrasonic waves travel faster than the speed of audible sound because their frequency is lower and wavelength is maximum. The ultrasonic sensor measures the distance depending upon the time taken to receive the wave back, hence it measures the total distance traveled by the sound, which is double the distance between the transmitter and obstacle.
Table of Content
- What is an Ultrasonic Sensor?
- What is an IR Sensor?
- Difference Between Ultrasonic and IR Sensor