• Arduino Sharp IR Sensor GP2Y0A21YK0F Measuring Detecting Distance 20 to 150cm
  • Arduino Sharp IR Sensor GP2Y0A21YK0F Measuring Detecting Distance 20 to 150cm
  • Arduino Sharp IR Sensor GP2Y0A21YK0F Measuring Detecting Distance 20 to 150cm
  • Arduino Sharp IR Sensor GP2Y0A21YK0F Measuring Detecting Distance 20 to 150cm
  • Arduino Sharp IR Sensor GP2Y0A21YK0F Measuring Detecting Distance 20 to 150cm

Arduino Sharp IR Sensor GP2Y0A21YK0F Measuring Detecting Distance 20 to 150cm

Availability: Out Of Stock

  • Price:$16.39
  • Price in reward points: 164 Reward Points: 2
  • Quantity 3+ units 10+ units 30+ units 50+ units More
    Price /Unit $16.06 $15.73 $15.24 $14.59 Contact US
Quantity:

Arduino Sharp IR Sensor GP2Y0A21YK0F Measuring Detecting Distance 20 to 150cm
Descriptions:

- Arduino Sharp IR Sensor - GP2Y0A21YK0F is the updated version of Arduino Sharp IR Sensor - GP2D12
- And compare with GP2D12, GP2Y0A21YK0F have more stable function and performance,lower power consumption.

Specifications :
- Measuring Detecting distance is 20 to 150 cm
- The maximum allowable Angle : > 40 °
- The power supply voltage : 4.5 to 5.5 V
- The average power consumption : 35 mA
- Peak power consumption : about 200 mA
- The frequency of updates/cycle : 25 Hz/40 ms
- Analog output noise : < 200 mV
- Less influence on the color of reflective objects, reflectivity
- Line-up of distance output/distance judgement type :
-  Distance output type (analog voltage) : GP2Y0A21YK
- Distance judgement type : GP2Y0D21YK
- Judgement distance is  24cm
- Adjustable within the range of 20 to 150cm [Optionally available]
- External control circuit is unnecessary
- Low cost


Arduino take six channel 10 ADC with itself, so we can directly connect the GP2Y0A21YK0F sensor with Arduino analog interface, and read the feedback value of this sensor.
According to the official manual, it is known that the output of the GP2Y0A21YK0F is 0.4 V ~ 2.4 V analog signals, corresponding 20 ~ 150 cm distance, output  is inversely proportional to distance, and nonlinear .
Outline Dimensions :


Analog Output Voltage vs. Distance to Reflective Object


Test Code : ( Just for referring )

int i;
int val;
int redpin=0;
void setup()
{
  pinMode(redpin,OUTPUT);
  Serial.begin(9600);
}
void loop()
{
  i=analogRead(redpin);
  val=(6762/(i-9))-4;
  Serial.println(val);
}


 
Now you can watch the distance value in the window of Arduino 0021

 Package include
-  1 x Sharp GP2Y0A02YK0F Distance Sensor 

Write a review

Note: We will keep it confidential.
Note: HTML is not translated!
 
Captcha