Beginners Guide To IR Sensor and how to use it with Arduino

- Nov 01, 2018-

Learn how to use or interface infrared sensors with Arduino.This is a beginner's guide to IR sensors.

The infrared sensor or infrared sensor has two main parts.Infrared transmitter and infrared receiver. The job of the infrared transmitter or infrared transmitter is to transmit infrared waves, while the job of the infrared receiver is to receive these infrared waves.The infrared receiver sends digital data continuously to the Vout pin of the sensor in the form of 0 or 1.

If there is an object in front of the infrared sensor, the infrared wave emitted by the infrared transmitter will be reflected from the object and received by the infrared receiver. In this case, the infrared sensor gives 0.However, if there is no object in front of the infrared sensor, the infrared waves emitted by the infrared transmitter will not be received by the infrared receiver.In this case, the infrared sensor gives 1.

Pinout of an IR sensor:

1)  Ground

2)  5 volt

3)  Enable

4)  Vout 

IR Sensor

Pinout of 3 Pins IR sensor





Previous:RFID and Keypad Based Door Lock using Arduino Next:Amazing Halloween Frights You Can Make With An Arduino