We take cryptocurrency — so the coins you hold can buy real hardware.Pay in crypto, spend it on real hardware. Free insured shipping worldwide over $399. Plain, unbranded boxes, sent from Germany.Free insured shipping over $399. Your rate is locked for 30 minutes once checkout opens.Rate locked 30 minutes. Every item sealed, serial-checked and covered by a 24-month warranty.Sealed, 24-month warranty.

Saved items Sign in

Ruth's sister

Ruth's sister GP2Y0A21YK0F Infrared Distance Sensor 10-80cm with Wire

SKU CH-H514-2B7XF

Measures distance from 10 to 80 cm with analog output, includes wiring, and operates on 4.55.5 V supply

  • Measures 10 to 80 cm distance for obstacle detection
  • Analog voltage output simplifies microcontroller interfacing
  • Pre-wired cable enables immediate breadboard connection
  • Low 30 mA draw suits battery-powered projects
  • Compact 29.5×13×13.5 mm body fits tight enclosures

Infrared Distance Sensor 10-80cm

The GP2Y0A21YK0F is an optical ranging sensor that measures distance from 10 to 80 centimetres using an analog voltage output. It operates on a 4.5 to 5.5 volt supply and draws a typical current of 30 milliamps. The compact package measures approximately 29.5 by 13 by 13.5 millimetres and includes a pre-wired cable for immediate connection.

Makers needing simple proximity data

This sensor suits hobbyists and engineers building robots, automatic doors, or presence detectors that require a straightforward analog signal. It is not for buyers who need digital communication protocols such as I2C or SPI, nor for applications requiring measurement beyond 80 centimetres or higher update rates than the analog output provides.

Analog voltage scales with distance

The output voltage rises from roughly 0.4 volts at the far end of the range to near the supply voltage when an object is close, giving clear headroom for ADC sampling. The 10 centimetre minimum range means it cannot detect objects placed closer than that distance. The 30 milliamp draw fits easily within standard 5 volt regulator limits on most microcontroller boards.

Highlights

  • Measures 10 to 80 cm distance for obstacle detection
  • Analog voltage output simplifies microcontroller interfacing
  • Pre-wired cable enables immediate breadboard connection
  • Low 30 mA draw suits battery-powered projects
  • Compact 29.5×13×13.5 mm body fits tight enclosures

Specifications

No published specifications for this item yet.

Questions about this item

What supply voltage does the GP2Y0A21YK0F sensor require to operate?

The sensor operates from a 4.55.5 V supply and draws a typical current of 30 mA.

Can I use the included wire with the existing connector on my older GP2Y0A02YK0F module?

The wire colours are black, yellow, red from the sensor front; connect red to +5 V, yellow to ground, and add a 10 kΩ resistor between red and black.

How can I verify the sensor is working after wiring it up?

Power the sensor, then measure the voltage between the black and yellow wires with a multimeter; expect about 0.4 V with no obstacle and around 5 V when an object blocks the infrared beam.

New to this? Which coin should you pay with — what to check, what it costs to pay, and what is never asked for.

Also in this aisle

People compared these

Same shelf, same checkout — eight coins and a 30-minute rate lock.