All orders placed will be shipped out as usual, delivery times are expected to be affected due to COVID-19.Thank you for your continued support. Read More

Gravity: Digital Adjustable Infrared Proximity Sensor

SKU:SEN0019 Brand:DFRobot Reward Points: 69
$6.90 In Stock
Quantity Based Price
  • 2-4$6.60
  • 5-9$6.20
  • 10+$5.80
* Model:


This is an Arduino infrared distance sensor. It has an adjustable detection range, 3cm - 80cm.  It is small, easy to use, assemble, and inexpensive.

Useful for robotics, interactive media, industrial assembly line, etc. Infrared wave length is part of the Sun's natural light spectrum. While is a nice fit for indoor projects, outdoors with plenty of sun light and reflective surfaces on it's sight is not adviced. It's incredibly repurposable and can be used for a lot of different projects. The adjustable screw on it's back makes it very convenient for different purposes. After digital read shows on your Arduino pin and then you are ready to go. It is a great sensor choice for quick prototyping.

Use it on a robot for wall detection and wall follower, or as some of the projects listed below as a trigger system. It's round shape with the screwable holders make it a good choice for a home made assembled robot, with a hole of it's diameter and the holders you can place it aiming at different positions on a robot. Or even place it near your PC to turn on and off your monitor.

To ease the difficulty,  a Gravity Interface is adapted to allow plug&play.  The IO expansion shield is the best match for this sound senor connecting to your Arduino.


  • Power supply: 5V
  • Current: 100mA
  • Range: 3 - 80cm adjustable
  • Brown: +5V; Black: Signal; Blue: GND
  • Dimension: 45 x 18 x 18 mm (1.8 x 0.7 x0.7 in)



  • Trigger detection system by Chanseok

  • Light trigger system by NosIreland

Project 1. Summer inspiration-DIY automatic curtain lift

List of hardware: 




Gravity: Digital Adjustable Infrared Proximity Sensor

In Stock
  • 2-4$6.60
  • 5-9$6.20
  • 10+$5.80