EmbeddedRelated.com
The 2026 Embedded Online Conference
GP2Y0A41SK0F

GP2Y0A41SK0F

Sharp
Shorter-range, higher-resolution analog IR sensor (around 4-30 cm) for applications needing closer-range detection.
Active2,475 in stock

Overview

The GP2Y0A41SK0F is a compact distance measuring sensor unit composed of an integrated combination of PSD (position sensitive detector), IRED (infrared emitting diode), and signal processing circuit. It utilizes the triangulation method to provide stable distance measurements between 4cm and 30cm, making it significantly less sensitive to the reflectivity of the object or the ambient temperature. The output is an analog voltage corresponding to the detected distance, facilitating easy integration with microcontroller ADCs.

Why Choose This Part

The sensor is highly resilient to variations in object color or material because it relies on the angle of reflected light rather than intensity. It operates on a standard 4.5V to 5.5V supply and features a low typical current consumption of 12mA. Its analog output simplifies the system design by eliminating the need for complex digital communication protocols.

Applications

Robotic Obstacle Avoidance
Small-scale mobile robots requiring close-range proximity detection to navigate around obstacles.
Touchless Switch
Implementing hygienic, non-contact activation for public kiosks or home appliances within a 30cm range.
Paper Detection
Used in office automation equipment like printers and copiers to detect the presence and position of paper.
Industrial Position Sensing
Monitoring the presence or alignment of parts on a conveyor belt or within tooling machines.

Key Specifications

Output Type Analog
Current - Supply 22 mA
Sensing Distance 1.57" ~ 11.81" (4 ~ 30cm)
Voltage - Supply 4.5V ~ 5.5V
Operating Temperature -10degC ~ 60degC
Voltage - Output (Typ) @ Distance 400mV @ 30cm
Voltage - Output Difference (Typ) @ Distance 2.25V @ 4 ~ 30cm

Getting Started

Connect the 3-pin JST connector to your system, providing 5V and GND, and wire the output pin to an analog-to-digital converter (ADC) pin. Because the output voltage is non-linear relative to distance (roughly 2.25V change from 4cm to 30cm), you must use a lookup table or a curve-fitting linearization formula in your firmware to calculate the exact distance in centimeters.

Also Consider

GP2Y0A21YK0F Sharp Microelectronics - Provides a longer detection range of 10cm to 80cm for applications requiring greater sensing depth.
VL53L0X STMicroelectronics - A Time-of-Flight (ToF) digital sensor offering higher precision and I2C communication in a smaller footprint.
The 2026 Embedded Online Conference