Skip to content

Crowtail- Adjustable Infrared Sensor


This infrared distance switch features a high-sensitivity photoreflector to perform distance detection function,ranging from 3cm to 50cm. When the infrared light emitted by the emitter gets reflected on a surface that blocked it, the phototransistor can pick up the signal for distance calculation. Also a potentiometer for adjustment is arranged for easy and clear use. It is small, easy to use/assemble, and inexpensive. Useful for robotics, interactive media, industrial assembly line, etc.
Model: CT0036AIS

Crowtail- Adjustable Infrared Sensor11.jpg


  • Power supply: 5V
  • Current: 100mA
  • Range: 3-50cm adjustable

    • Red: +5V
    • Yellow: Signal
    • Black: GND
    • Wire length: 20cm
    • Dimensions(mm):45.0(L)x23.4(W)x23.4(H)



Connect this sensor to your Arduino/Crowduino digital pins( D2 for example). When there is an object behind this sensor, the output would be low.
Crowtail- Adjustable Infrared Sensor12.jpg


1.Download the following program to Arduino, Please refer to here

void setup()  {
void loop()  {
 while(1)  {
   if(digitalRead(2)==LOW)  {
     Serial.println("object detected.");
   else  {
     Serial.println("no object detected.");
} the serial monitor , and set the baudrate to 9600, you will see the output changes with the object behind this sensor or not.

if no object:
Crowtail- Adjustable Infrared Sensor01.jpg
have object:
Crowtail- Adjustable Infrared Sensor21.jpg Crowtail- Adjustable Infrared Sensor3.png