EmbeddedRelated.com
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Dec 6 · 5 live sessions, Dec 7-11
Discount ends in
30days 09hrs 23min 51sec
Learn More →
Gravity: Digital Adjustable IR Proximity Sensor

Gravity: Digital Adjustable IR Proximity Sensor

MPN: SEN0019
DFRobot
Proximity Infrared (IR) Sensor Gravity Platform Evaluation Expansion Board
Active229 in stock

Overview

The SEN0019 is a digital infrared proximity sensor designed for the DFRobot Gravity ecosystem, capable of detecting objects within a 3cm to 80cm range. It integrates a modulated IR emitter and receiver into a single housing to minimize interference from ambient lighting. The sensor operates at a nominal 5V and provides a simple digital output that toggles when an obstacle is detected within the calibrated threshold.

Why Choose This Part

This sensor features an adjustable detection range via a multi-turn potentiometer on the rear, allowing for precise field-of-view tuning. Its digital output eliminates the need for complex ADC processing, while the Gravity-standard 3-pin interface ensures plug-and-play compatibility with most microcontroller expansion shields.

Applications

Obstacle Avoidance
Primary sensing for mobile robots to detect and avoid walls or furniture during navigation.
Interactive Exhibits
Triggering media playback or lighting effects when a visitor approaches a specific display area.
Production Line Counting
Detecting the presence of items on a conveyor belt for simple unit counting without physical contact.
Touchless Switches
Acting as a proximity-based trigger for hygienic control systems in public or industrial environments.

Key Specifications

Type Sensor
Contents Sensor
Function Proximity Infrared (IR)
Platform Gravity

Getting Started

Connect the sensor to any digital I/O pin on an Arduino or ESP32 using the included Gravity 3-pin cable. Use a standard digital read function to monitor the output pin, which pulls low when an object is detected. The detection distance can be fine-tuned by rotating the onboard potentiometer until the status LED triggers at the desired obstacle distance.

Also Consider

VL53L0X STMicroelectronics - A Time-of-Flight (ToF) sensor that provides higher accuracy and is less affected by the color or reflectivity of the target object.