Sharp Distance Measuring Sensor Unit 20 To 150 Cm – Gp2Y0A02Yk0F
Rs. 441.00 Rs. 503.00
- Brand: https://global.sharp/products/device/lineup/selection/opto/haca/
- Product Code: SEN-IR
- SKU -
- Availability: In Stock
- Price in reward points: 5
- For Bulk Order 9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
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.
https://global.sharp/products/device/lineup/selection/opto/haca/diagram.html
//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