Sharp GP2Y0A51SK0F Analog Distance Sensor 2-15cm
The GP2Y0A51SK0F is the shortest-range Sharp analog distance sensor we carry, featuring a detection range of 0.8″ to 6″ (2 cm to 15 cm). The shorter range gives you higher resolution measurements, and the low minimum detection distance makes this sensor great for detecting very close objects. The distance is indicated by an analog voltage, making this sensor very easy to use.
Description
The Sharp distance sensors are a popular choice for many projects that require accurate distance measurements. This IR sensor is more economical than sonar rangefinders, yet it provides much better performance than other IR alternatives. Interfacing to most microcontrollers is straightforward: the single analog output can be connected to an analog-to-digital converter for taking distance measurements, or the output can be connected to a comparator for threshold detection, making this an adjustable-threshold alternative to digital Sharp sensors. The detection range of this version is approximately 2 cm to 15 cm (0.8″ to 6″).
The GP2Y0A51 uses a 3-pin JST ZH connector that has a 1.5 mm pitch. We do not currently offer a cable that works with this connector, but it is possible to solder three wires to the sensor where the connector pins are mounted as shown in the picture to the right below (you should probably add some hot glue for strain relief as a final step; this is not show in the picture because it would obscure the soldering). Because of the narrow pitch, it helps to have a fine-tipped soldering iron, and you should be very careful not to accidentally short two pins together with your wires or any added solder. When looking at the front of the sensor, the three connections are, from left to right, power (Vcc), ground, and the output signal (Vo).
Features
Linearizing the output
The relationship between the sensor’s output voltage and the inverse of the measured distance is approximately linear over the sensor’s usable range. The GP2Y0A51SK0F datasheet (312k pdf) contains a plot of analog output voltage as a function of the inverse of distance to a reflective object. You can use this plot to convert the sensor output voltage to an approximate distance by constructing a best-fit line that relates the inverse of the output voltage (V) to distance (cm).
Alternative Sharp distance sensors
We have a variety of Sharp distance sensors to choose from, including the short-range (4 – 30 cm) GP2Y0A41SK0F, medium-range (10 – 80 cm) GP2Y0A21YK0F, and long-range (20 – 150 cm) GP2Y0A02YK0F. These other analog distance sensors all have similar packages and identical pin-outs, making it easy to swap one version for another should your application requirements change. We also carry the newer Sharp GP2Y0A60SZ analog distance sensor (10 – 150 cm), which outperforms the other analog Sharp distance sensors in almost all respects, offering a low minimum detection distance, high maximum detection distance, wide 3 V output voltage differential, high 60 Hz sampling rate, operation down to 2.7 V, and optional enable control, all in a smaller package.
For short-range detection applications, we carry three digital Sharp distance sensors that have low minimum detection distances and a high 400 Hz update rate. They are available with a 5 cm, 10 cm, or 15 cm range and simply tell you if something is in their detection range, not how far away it is. They are smaller than the analog Sharp distance sensors and draw less current.
Specifications
Download
Data sheet
Manufacturer
Responsible person
Optical distance sensor in the range of 10-80 cm with an analogue output, power supply 4.5-5.5V.
The Sharp GP2Y0A02YK0F sensor enables precise distance measurement in the range of 20–150 cm using an analog output. Its stable characteristics and ease of integration make it a popular solution in mobile robotics and obstacle detection systems.
The GP2Y0A41SK0F sensor performs precise distance measurement in the range of 4–30 cm with an analog output signal adapted for operation with microcontrollers. It is used in robotics projects, obstacle avoidance systems, and automation devices detecting the presence of objects.
Ultrasonic distance sensor with a measuring range of 2 to 400 cm. Communicates via a standard interface (Echo, Trigger) or I2C bus. SparkFun SEN-24805
No product available!
Advanced distance sensor with a range of up to 40 m, offering accuracy of ±3 cm and immunity to ambient light up to 100K LUX. With UART and I2C interfaces, the device is compatible with various platforms such as Raspberry Pi and finds applications in robotics, route planning and warehouse detection. Waveshare TOF Laser Range Sensor (D)
No product available!
Laser ToF distance sensor based on the VL53L1X, providing distance measurements up to 4 m at a ranging frequency of up to 50 Hz. Equipped with a Class 1 940 nm infrared emitter and SPAD receiver, it communicates via the I2C interface. The module operates from a 3.3 V to 5 V supply and comes with a pre-installed 200 mm GH4P cable. Designed for use with the Pixhawk 4 flight controller. Holybro ST VL53L1X Lidar
ST Microelectronics\' compact Time-of-Flight (TOF) sensor uses a 940 nm laser to precisely measure distances from 1 mm to 1.2 m with a resolution of 1 mm. It supports an I²C interface, has an XSHUT input for shutdown and a GPIO1 output for object detection, and is compatible with voltages from 2.6 to 5.5 V thanks to a built-in regulator and logic level converter. Pololu 3692
No product available!
Laser radar based on cwToF technology and metasurface lenses, offering depth maps and IR images in 160x60 pixel resolution and a wide viewing angle of 108°x40°. Thanks to its solid-state construction, range up to 4.5 m and resistance to strong lighting (up to 60 Klux), it is ideal for applications such as robotics, obstacle avoidance systems, access control and volume measurement. DFRobot DFR1177
No product available!
A miniature lidar proximity sensor that detects objects in the range of 1 mm to 300 cm by generating a PWM signal proportional to distance. It operates in the 3-5.5 V range, draws 30 mA, features an ENABLE pin for sleep mode, a 3-pin JST SH connector, and an indicator LED. Its resistance to color, transparency, and lighting makes it ideal for robotics, automation, and contactless interfaces. Pololu 5493
A miniature lidar distance sensor that detects objects up to 200 cm away, regardless of color, transparency, or lighting. It generates a digital signal (0 V on detection), operates in the 3-5.5 V range, draws only 30 mA, and supports sleep mode via the ENABLE pin. Ideal for robotics, automation, and contactless interfaces, it offers a fast response time (30 Hz), switching hysteresis, and a compact housing with an indicator LED. Pololu 5491
A miniature lidar proximity sensor that detects objects within a range of 1 mm to 130 cm by generating a PWM signal proportional to distance. It operates within a 3-5.5 V range, draws 30 mA, and features an ENABLE pin for sleep mode. It also includes a 3-pin JST SH connector and an indicator LED. Its color, transparency, and light-sensitive properties make it ideal for robotics, automation, and contactless interfaces. Pololu 5485
A miniature lidar distance sensor that detects objects up to 100 cm away, regardless of color, transparency, or lighting. It generates a digital signal (0 V on detection), operates in the 3-5.5 V range, draws only 30 mA, and supports sleep mode via the ENABLE pin. Ideal for robotics, automation, and contactless interfaces, it offers a fast response time (100 Hz), switching hysteresis, and a compact housing with an indicator LED. Pololu 5483
A miniature lidar distance sensor that detects objects up to 50 cm away, regardless of color, transparency, or lighting. It generates a digital signal (0 V on detection), operates in the 3-5.5 V range, draws only 30 mA, and supports sleep mode via the ENABLE pin. Ideal for robotics, automation, and contactless interfaces, it offers a fast response time (100 Hz), switching hysteresis, and a compact housing with an indicator LED. Pololu 5481
A miniature lidar distance sensor that detects objects up to 25 cm away, regardless of color, transparency, or lighting. It generates a digital signal (0 V on detection), operates in the 3-5.5 V range, draws only 30 mA, and supports sleep mode via the ENABLE pin. Ideal for robotics, automation, and contactless interfaces, it offers a fast response time (100 Hz), switching hysteresis, and a compact housing with an indicator LED. Pololu 5480
A miniature lidar proximity sensor that detects objects ranging from less than 1 mm to 50 cm by generating a PWM signal proportional to distance. It operates in a 3-5.5 V range, draws 30 mA, features an ENABLE pin for sleep mode, and holes for a 2.54 mm connector and an indicator LED. Its color, transparency, and light-sensitive properties make it ideal for robotics, automation, and contactless interfaces. Pololu 5562
A miniature lidar distance sensor that detects objects up to 15 cm away, regardless of color, transparency, or lighting. It generates a digital signal (0 V on detection), operates in the 3-5.5 V range, draws only 30 mA, and supports sleep mode via the ENABLE pin. Ideal for robotics, automation, and contactless interfaces, it offers a fast response time (142 Hz), switching hysteresis, and a compact housing with an indicator LED. Pololu 5554
A miniature lidar distance sensor that detects objects up to 10 cm away, regardless of color, transparency, or lighting. It generates a digital signal (0 V on detection), operates in the 3-5.5 V range, draws only 30 mA, and supports sleep mode via the ENABLE pin. Ideal for robotics, automation, and contactless interfaces, it offers a fast response time (142 Hz), switching hysteresis, and a compact housing with an indicator LED. Pololu 5552
A miniature lidar distance sensor that detects objects up to 5 cm away, regardless of color, transparency, or lighting. It generates a digital signal (0 V on detection), operates in the 3-5.5 V range, draws only 30 mA, and supports sleep mode via the ENABLE pin. Ideal for robotics, automation, and contactless interfaces, it offers a fast response time (142 Hz), switching hysteresis, and a compact housing with an indicator LED. Pololu 5550
A miniature lidar proximity sensor that detects objects ranging from less than 1 mm to 50 cm by generating a PWM signal proportional to distance. It operates in a 3-5.5 V range, draws 30 mA, features an ENABLE pin for sleep mode, and a 3-pin JST SH connector and indicator LED. Its color, transparency, and light-sensitive nature make it ideal for robotics, automation, and contactless interfaces. Pololu 5472
Pololu 2450