Skip to main content
Free Delivery  ·  COD Available  ·  15-Day Returns
Elecvora
SHARP GP2Y0D21YK0F Digital Distance Sensor, 1‑bit Digital Output, Range: 13 cm — image 1
Hover to zoom

1 / 2 · Click to enlarge

SHARP

SHARP GP2Y0D21YK0F Digital Distance Sensor, 1‑bit Digital Output, Range: 13 cm

25+ bought in past month
AI Summary
IR and ToF Distance Sensors for everyday users

The SHARP GP2Y0D21YK0F Digital Distance Sensor, 1‑bit Digital Output, Range: 13 cm by SHARP is a value-for-money ir and tof distance sensors designed for everyday users. It features Item Type: Distance Measuring Sensor and Model No. / Name: GP2Y0D21YK0F.

₹1,125
Free Shipping💵 COD Available

Available Offers

Free Delivery on this order. No minimum order value.

15-Day Easy Returns — hassle-free return & full refund.

Secure Payment — 100% safe checkout with UPI, Cards & Net Banking.

Total: ₹1,125
Buying tip: A well-rounded choice at a fair price. Recommended for most buyers.
Estimated delivery: 24 Aug7 Sept
Free Shipping
Pan India delivery
15-Day Returns
Hassle-free policy
Secure Payment
Razorpay protected
Quality Assured
Vetted products only

Available Offers

💳

5% Cashback

Pay with UPI & get 5% cashback (up to ₹50) via Razorpay

🏦

No-Cost EMI

Available on select bank cards at checkout. 0% interest for 3 months.

📦

Free Shipping

Free delivery on all orders. No minimum order value.

💵

Cash on Delivery

COD available on orders up to ₹5,000 across India.

Quick Specs

Item Type: Distance Measuring Sensor
Model No. / Name: GP2Y0D21YK0F
Distance Measuring Range(M): 13 cm
Operating Voltage (VDC): –0.3 to +7
Operating Temperature (°C): -10℃ to +60℃
Current Measuring Range DC: Max. 27 mA

Ideal For

Electronics projectsArduino / Raspberry Pi buildsPrototyping
Share:
SKU: robu-2365046Category: IR and ToF Distance Sensors

About This Product

The SHARP GP2Y0D21YK0F Digital Distance Sensor, 1‑bit Digital Output, Range: 13 cm by SHARP is a value-for-money ir and tof distance sensors designed for everyday users. It delivers reliable performance at an accessible price.

Key Specifications

  • Item Type: Distance Measuring Sensor
  • Model No. / Name: GP2Y0D21YK0F
  • Distance Measuring Range(M): 13 cm — reliable connection even at a distance
  • Operating Voltage (VDC): –0.3 to +7 — works with standard household power
  • Operating Temperature (°C): -10℃ to +60℃
  • Current Measuring Range DC: Max. 27 mA — reliable connection even at a distance
  • Shipping Weight: 0.03 kg
  • Shipping Dimensions: 10 × 5 × 2 cm

Why Buy from Elecvora?

Elecvora sources this product directly, cutting out multiple middlemen. Every order includes free shipping, a 15-day return policy, and secure payment via Razorpay.

The SHARP GP2Y0D21YK0F is a compact and precise distance measuring sensor designed for short-range detection applications. It utilizes an integrated PSD (Position Sensitive Detector), an infrared LED, and a signal processing circuit to output a 1-bit digital signal that indicates the presence or absence of objects within a specified distance (13 cm).

Features:

  1. Compact high performance distance measuring sensor with built-in PSD, Infrared LED and signal Processing circuit.
  2. No need to input signal, it can be handled easily.
  3. Little influence by color and reflective ratio of the reflective object.
  4. High accuracy measuring by sequential position detection and mean processing data output.
  5. 1 bit(H/L) output type.
  6. Shipping after adjusting the detecting threshold distance by SHARP.
  7. Adjusting the detecting threshold distance by customer’s demand is also possible.

Applications:
  1. Touchless Switches: Ideal for sanitary equipment and automatic light control.
  2. Robotic Cleaners: Object detection for navigation.
  3. Energy-Saving Sensors: Used in ATMs, copiers, and vending machines for presence detection.
  4. Amusement Equipment: Robots and arcade gaming systems.

Package Includes:

1 x SHARP GP2Y0D21YK0F Distance Measuring Sensor (13 cm) 1- bit Digital Output

Setup Guide

1
Identify the pins
Locate VCC (power), GND (ground), and data pins (SDA/SCL for I2C, MOSI/MISO for SPI, or TX/RX for UART). Refer to the pinout diagram on the product page.
2
Wire to your microcontroller
Connect VCC to 3.3V or 5V (check the module spec), GND to GND, and data pins to the appropriate GPIO pins on your Arduino or Raspberry Pi.
3
Install libraries
In Arduino IDE, go to Sketch → Include Library → Manage Libraries and search for the sensor library. Install the recommended version.
4
Upload example sketch
Open File → Examples → [library name] → Basic Example. Upload to your board and open Serial Monitor to view output.
5
Calibrate if needed
Some sensors (temperature, humidity, distance) may need a short warm-up period or calibration. Run the calibration sketch if provided.