Sharp Infrared Distance Sensor 2Y0A21

This Sharp infrared distance sensor measures distances from 10 to 80 cm. The small design and short measuring time suit robot projects that need to avoid obstacles. The analog output can be read directly with an Arduino; the voltage falls non-linearly from around 2.3 V at 10 cm to around 0.4 V at 80 cm.

Recommended alternative for 20 to 150 cm: Sharp Infrared Distance Sensor 20-150cm GP2Y0A02


Recommended Accessories:


Features:

  • Distance from the analog value: distance (cm) = (3027.4 / analog value)^1.2134, calibrate with a comparison measurement for accurate values
  • Below 10 cm the measurement is ambiguous: closer objects deliver the same voltage as more distant ones
  • According to the datasheet, a capacitor of 10 µF or more belongs between Vcc and GND; this reduces noise
  • Arduino library SharpIR, model 1080

Application Examples:

  • Obstacle detection for robots
  • Contactless distance measurement

Documentation:


Technical Data:

  • Model: GP2Y0A21YK0F (marked 2Y0A21)
  • Measuring range: 10 to 80 cm
  • Supply voltage: 4.5 to 5.5 V
  • Operating current: approx. 30 mA
  • Analog output: non-linear to distance
  • Time per measurement: 38.3 ms ± 9.6 ms
  • Cable: red +5 V, black GND, yellow analog voltage
  • Cable length: 20 cm
  • Dimensions: 29.5 × 13 × 13.5 mm
  • Mounting holes: 2× 3.2 mm, spacing 37 mm
  • Weight: 8 g

Scope of Delivery:

  • 1× Sharp infrared distance sensor 2Y0A21
  • 1× Connection cable

Write a review

Note: HTML is not translated!
    Bad           Good

Sharp Infrared Distance Sensor 2Y0A21

  • Brand: purecrea
  • Product Code: 420257
  • Availability: In Stock
  • CHF12.90

  • Ex Tax: CHF11.93

Related Products

Electrolytic Capacitor Set 120 Pieces assorted

Electrolytic Capacitor Set 120 Pieces assorted

This set contains 10 electrolytic capacitors in each of 12 values from 1 µF to 470 µF, 120 pieces in..

CHF9.90 Ex Tax: CHF9.16

Infrared Sensor TCRT5000 Proximity Switch Breakout Module

Infrared Sensor TCRT5000 Proximity Switch Breakout Module

This infrared sensor detects whether something is close in front of it and is therefore suitable as ..

CHF2.90 Ex Tax: CHF2.68

Sharp Infrared Distance Sensor 20-150cm GP2Y0A02

Sharp Infrared Distance Sensor 20-150cm GP2Y0A02

The Sharp GP2Y0A02 measures distances from 20 to 150 cm by infrared and outputs them as an analog vo..

CHF13.90 Ex Tax: CHF12.86

Gravity VL53L0X ToF Distance Sensor up to 2m

Gravity VL53L0X ToF Distance Sensor up to 2m

The Gravity distance sensor from DFRobot uses ST's VL53L0X ToF chip to measure distances from 30 to ..

CHF15.90 Ex Tax: CHF14.71

A02YYUW Waterproof Ultrasonic Distance Sensor

A02YYUW Waterproof Ultrasonic Distance Sensor

The DFRobot A02YYUW is a waterproof ultrasonic distance sensor with a sealed transmitter and receive..

CHF25.90 Ex Tax: CHF23.96

Tags: Sharp, Module, Arduino, Sensor, Breakout, Distance, IR, Infrared, Distance sensor, Distance sensor, Robot, Analog, 2Y0A21, GP2Y0A21YK0F