Wish List 0

Sharp Distance Measuring Sensor Unit 20 To 150 Cm – Gp2Y0A02Yk0F

Rs. 441.00 Rs. 503.00

1. The Sharp distance sensors are a famous choice for plenty initiatives that require correct distance measurements. This IR sensor is greater cost effective than sonar rangefinders, yet it offers lots higher overall performance than other IR options.

2. Interfacing to most micro-controllers is straightforward: the single analog output may be linked to an analog-to-digital converter for taking distance measurements, or the output can be linked to a compactor for threshold detection. The detection variety of this model is about 20 cm to 150 cm (8″ to 60″).

3. The GP2Y0A02 makes use of a 3-pin JST PH connector that works with our 3-pin JST PH cables for Sharp distance sensors (now not covered); the pinnacle image on the proper shows a shorter-variety Sharp analog distance sensor with this type of cables.

4. These cables have 3-pin JST connectors on one end and are available with pre-crimped male pins, pre-crimped woman pins, and with unterminated wires on the other give up.
                  Package Includes :
                       1 x Sharp Distance Measuring Sensor unit 20 to 150 cm.
                       1 x Connecting Cable.

SPECIFICATIONS:

     Model GP2Y0A02YK0F            :(20 to 150 cm)

     Operating Voltage (VDC)               :4.5 ~ 5.5

     Distance measuring range (cm)  :20 ~ 150


OVERVIEW:

     Distance measuring range                                      :20 cm to 150 cm (8″ to 60″)

    Output type                                                                :Analog voltage

    Output voltage differential over distance range  :2.05 V (typical)

    Update period                                                            :38 ± 10 ms

PACKAGE INCLUDES:

1 PCS x Gp2Y0A02Yk0F Sharp Distance Measuring Sensor 20-150Cm

1 PCS x Connecting Cable.

//SOURCE CODE TAKEN FROM BELWO LINK

//https://create.arduino.cc/projecthub/vicentezavala/ir-distance-sensor-2288e4

/*

* Author : Zavala Ortiz Vicente Arturo.

* language : .ino

* Date : September 12 2014 5:11:12 PM

* Name : ATmega32u4_IR.ino

* Description : GP2Y0A02YK0F IR Distance Sensor (20-150 cm) test distance in Cm and In

*/



#include "TFT.h"

#include "GP2Y0A02YK0F.h"


GP2Y0A02YK0F irSensor;

int cm;


void setup() 

{

  Tft.init();

  irSensor.begin(A0); // Assign A0 as sensor pin

}


void loop()

{


  cm = irSensor.getDistanceCentimeter();

  

  Tft._puts("\nDistance : ");

  Tft._print_dec(cm);  

  Tft._puts(" CM");

  

  Tft._puts("\nDistance : ");

  Tft._printdec(cm / 2.54);

  Tft._puts(" IN");


  delay(500); 

  

  Tft.clrscr();

}

15 DAYS

Write a review

Please login or register to review