Gravity: Digital Adjustable Infrared Proximity Sensor

SKU:SEN0019 Brand:DFRobot Reward Points: 69
In Stock
Quantity Based Price
  • 2-4$6.60
  • 5-9$6.20
  • 10+$5.80
* Model:
Expected Restock Date: [[restockDate]]

You have chosen:[[togetherChouseinfo.num]]

Total amount: [[currency]][[togetherChouseinfo.price]] [[togetherChouseinfo.price]][[currency]]


This is an Arduino infrared distance sensor. It has an adjustable detection range, 10cm - 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
  • Recommended working distance: 10~80cm
  • Minimum working distance: 3cm (when the detected surface is a non-reflective black plane)
  • Maximum working distance: 90cm (when the detected surface is a flat reflective white plane)
  • 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: 

Project 2. Is Santa Claus coming to my house? - Santa Claus Detector


We all know that Santa Claus will come to give us gifts at night when we are asleep, but when did he get to our house, let's make a Santa Claus detector today. Put the detector at the bedside to detect when Santa arrived.






Gravity: Digital Adjustable Infrared Proximity Sensor

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