GP2Y0A21YK0F Sharp Distanz-sensor 10-80 cm


GP2Y0A21YK0F Sharp Distanz-sensor 10-80 cm

Product no.: 516

In stock
can be shipped within 1-2 days

8.20

Incl. VAT., plus delivery

Delivery weight: 30 g
GP2Y0A21YK0F Sharp Distanz-sensor 10-80 cm

The sensor can be directly connected to an Arduino analogue input pin (e.g. A0).

Please use the following code to read the distance:
float distance = 26.833L*pow(analogRead(A0)*0.0048828125, -1.20247);
//0.0048828125 = 5VDC / 1024 (10bit) (only at VADref = 5.0V)
Serial.println(distance);   
delay(100);


Datasheet Link:
http://www.sharp-world.com/products/device/lineup/data/pdf/datasheet/gp2y0a02yk_e.pdf

Input Voltage: 5V DC
Current consumption: 30mA (average)
Measuring Range: 10-80 cm (equals 2.3V – 0.4V output voltage)
Cable: yellow=Analogue Output, black=GND, red=+5VDC

 

Delivery Content:

1 x GP2Y0A21YK0F Sharp Distanz-sensor 10-80 cm

1 x cable

 
Browse these categories as well: All, Misc