Sharp GP2Y0A21YK0F - analog distance sensor 10-80cm

Index: SES-00029 EAN: 5904422304713

Analog distance sensor Sharp GP2Y0A21YK0F (distance meter) detecting the objects within the range from 10 to 80 cm.

Sharp GP2Y0A21YK0F - analog distance sensor 10-80cm
€11.79 tax excl.
Shipping in 24 hours
PayPal payment
Manufacturer: Sharp


  • Measuring range 10 - 80 cm.
  • Supply voltage 4.5 to 5.5 V.
  • The average current consumption of 30 mA.
  • Response time: 38 ms.
  • Output: voltage-analog signal
  • Case: 29.5 x 13.0 x 13.5 mm
  • Weight: 3.5 g


The sensor can detect objects at a distance of from 10 to 80 cm. The output is an analog signal whose value depends on the distance between the detected object and the sensor. The closer object is, the voltage at the output is higher.

Sekwencja pomiarowa czujnika odległości

The measuring sequence after connecting the power.


Examples of application

These sensors are readily used by designers of mobile robots e.g. in fighting constructions, to detect the enemy or chassis platforms, where it is used for obstacle detection.


The product is compatible with Arduino

The sensor output should be connected to any analog lead, the measurement is output using the functionanalogRead(sensorPin);. The sample project with code can be found onthe bildr websiteand inour guide.



To facilitate the connection of the sensor, in our offer available are also specialwires:without endand with the ends:maleandfemale.

Czujnik odległości Sharp

The other optical distance sensors

In our store available are versions of analog sensor detecting object in range of: 4-30cm,10-80cm,20-150cmand digital sensors detecting objects in field of view:5cm,10cmand40cm.



The sensor has three leads: power - Vcc (voltage from 4.5 to 5.5 V), weight - GND and analog output signal Vo, the value of which depends on the distance between the sensors and the detected object, this dependence is presented onthe chart. The following figure shows the location of the leads.

Wyprowadzenia czujnika odległości Sharp

Voltage to 4.5 V
Voltage from 5.5 V
Interface analog
Sensor - distance to 80 cm
Sensor - distance from 10 cm
Package width 5 cm
Package height 2 cm
Package depth 8 cm
Package weight 0.004 kg

Be the first to ask a question about this product!

Product reviews

Sharp GP2Y0A21YK0F - analog distance sensor 10-80cm


Average grade


Customers opinion
The following opinions are collected
and verified by
an external partner Trustmate
and come from the post-purchase process.
Zbigniew L. 23.12.2021 Confirmed purchase Translated review
It's OK
Wojciech I. 11.06.2021 Confirmed purchase Translated review
Assessment for visual condition and workmanship since not yet tested.
SLAWOMIR Z. 07.06.2021 Confirmed purchase Translated review
The sensor works great. Good price
Józef 08.02.2023 Confirmed purchase

Customers who bought this product also bought:

Products from the same category: