Skip to main content
Home / Computer Hardware, Monitors & Peripherals / IR Distance Sensor Module Gp2Y0A02Yk0F, 20-150cm Range Sensor with Wiring

Attributes

Brand -
Category Electronic Components / Maker DIY / Computer Hardware, Monitors & Peripherals
Origin -
Brand Sharp
Model Number GP2Y0A02YK0F
Detection Range 20 to 150 cm
Output Type Analog Voltage
Supply Voltage 4.5V to 5.5V DC
Current Consumption 30 mA (typical)
Response Time 38 ms + 0.5 ms
Package Type Through Hole
Operating Temperature -10°C to +60°C
Connector Type JST PH 3-pin

5 reviews

A

Anonymous

Apr 05, 2026

Rating: 5/5

Reliable Sensor

Been using this module for months in a proximity alarm system. It has not failed once and the build quality is solid.

A

Anonymous

Mar 27, 2026

Rating: 5/5

Great for Robotics

Used this for my sumo bot project. The range is accurate and it responds quickly to obstacles. Highly recommend for beginner robotics.

A

Anonymous

Mar 07, 2026

Rating: 5/5

Arduino Compatible

Easy to read with an analog pin on my Arduino Uno. The voltage curve is consistent once you map it correctly in code.

A

Anonymous

Feb 18, 2026

Rating: 3/5

Needs Calibration

The output is non-linear so you need to do some calibration work. Not plug-and-play for precise measurements without coding.

A

Anonymous

Jan 23, 2026

Rating: 4/5

Good but sensitive

Works well indoors but I noticed some interference under direct sunlight. Perfect for indoor automation tasks though.

5 FAQ

Q: Can I chain multiple sensors together?

A: Yes, but ensure you manage IR interference by triggering them sequentially rather than simultaneously.

Q: Can I use this sensor outdoors?

A: Strong sunlight contains infrared light which may interfere with measurements. It is best suited for indoor use.

Q: Does this work with 3.3V logic microcontrollers?

A: The sensor requires 4.5-5.5V power supply. You may need a level shifter for 3.3V logic data lines.

Q: What connector is included with the module?

A: It comes with a JST PH 3-pin connector cable approximately 20 cm in length.

Q: Is the output voltage linear with distance?

A: No, the voltage curve is non-linear. You will need to use a lookup table or polynomial function to convert voltage to distance.

Explore your interests

All Categories
Best Seller (30)
New List (30)
Star Cat Creative Watercolor Fill-in Coloring Book for Kids - DIY Art and Craft Painting Set with Pigments

Star Cat Creative Watercolor Fill-in Coloring Book for Kids - DIY Art and Craft Painting Set with Pigments

$15.30

Donghai Crystal Live Stream Exclusive Listing for Natural Crystals - Perfectionists Please Purchase with Caution

Donghai Crystal Live Stream Exclusive Listing for Natural Crystals - Perfectionists Please Purchase with Caution

$1.00

[Buy 2 Get 10% Off] Lanzhai Purple Iris Painted Felt Mat – Thickened, Moisture-Resistant, Non-Pilling for Calligraphy & Painting

[Buy 2 Get 10% Off] Lanzhai Purple Iris Painted Felt Mat – Thickened, Moisture-Resistant, Non-Pilling for Calligraphy & Painting

$6.63

Natural Crystal Morganite Pink Loose Beads - Single Round Beads for DIY Jewelry Making and Craft Accessories

Natural Crystal Morganite Pink Loose Beads - Single Round Beads for DIY Jewelry Making and Craft Accessories

$0.89

Mini Pencil Sharpener for Elementary Students - Small Manual Crank Sharpener for Kids' Pencils

Mini Pencil Sharpener for Elementary Students - Small Manual Crank Sharpener for Kids' Pencils

$1.89

Bamboo Flute Bar Dynamic Sheet Music Book for Accompaniment, Sight-Reading, and Rhythm Practice

Bamboo Flute Bar Dynamic Sheet Music Book for Accompaniment, Sight-Reading, and Rhythm Practice

$221.00

Multi-Function Thickened Industrial Scouring Pad for Cleaning, Stainless Steel Brushing, Rust Removal, and Emery Cleaning

Multi-Function Thickened Industrial Scouring Pad for Cleaning, Stainless Steel Brushing, Rust Removal, and Emery Cleaning

$7.80

Natural Light Yellow Azeztulite Loose Beads for DIY Jewelry Making and Craft Supplies

Natural Light Yellow Azeztulite Loose Beads for DIY Jewelry Making and Craft Supplies

$2.00

Expanded Clay Pebbles for Gardening - Pot Bottom Layer, Surface Mulch, Soil-Free Hydroponics for Flowers, Succulents, Orchids - Breathable Planting Medium

Expanded Clay Pebbles for Gardening - Pot Bottom Layer, Surface Mulch, Soil-Free Hydroponics for Flowers, Succulents, Orchids - Breathable Planting Medium

$7.70

1/5 Pack Silicone Kitchen Utensils Set for Cooking Baking

1/5 Pack Silicone Kitchen Utensils Set for Cooking Baking

$43.12

Aizaofang 6-Cavity Triple Flower Silicone Mold - DIY Handmade Soap Home Decor - Food-Grade Heat-Resistant Material

Aizaofang 6-Cavity Triple Flower Silicone Mold - DIY Handmade Soap Home Decor - Food-Grade Heat-Resistant Material

$12.70

Single-Leg Manganese Steel Lifting Hook with Wide Opening for Hoists and Cranes

Single-Leg Manganese Steel Lifting Hook with Wide Opening for Hoists and Cranes

$92.00

Hesdick HZL-32 Portable Stone Removal Hook, Multi-Function Groove Tool for Car Tire Debris Cleaning

Hesdick HZL-32 Portable Stone Removal Hook, Multi-Function Groove Tool for Car Tire Debris Cleaning

$9.28

PC Bonding Sealing Waterproof UV1901 Guardrail Tube Adhesive Shadowless Glue UV Glue Electronic Glue

PC Bonding Sealing Waterproof UV1901 Guardrail Tube Adhesive Shadowless Glue UV Glue Electronic Glue

$859.00

Wan Dian Wu Xian Stackable Toy Accessories - Vol.3 Prosperous Era Series Blind Capsule Figures for Desktop Display

Wan Dian Wu Xian Stackable Toy Accessories - Vol.3 Prosperous Era Series Blind Capsule Figures for Desktop Display

$29.00

In Stock Commercial Vegetable Chopper and Meat Mincer - Grinding Machine for Baozi Fillings, Chili Dumplings, and Sausage WTP Meat Paste Processing

In Stock Commercial Vegetable Chopper and Meat Mincer - Grinding Machine for Baozi Fillings, Chili Dumplings, and Sausage WTP Meat Paste Processing

$5,805.00

Industrial Lint-Free Cloth for Cleaning Lenses, Optical Instruments, and Phone Screens; Microfiber Dusting Wipes

Industrial Lint-Free Cloth for Cleaning Lenses, Optical Instruments, and Phone Screens; Microfiber Dusting Wipes

$81.58

Electric Barrel Water Dispenser Pump Automatic Water Lifter for Mineral and Purified Water

Electric Barrel Water Dispenser Pump Automatic Water Lifter for Mineral and Purified Water

$74.00

F01RB0WA23 Transmission Valve for Roewe DQCT280 Remanufactured

F01RB0WA23 Transmission Valve for Roewe DQCT280 Remanufactured

$324.00

Full Payment Pre-order Guzi Bear DMMD Dramatical Murder Badge Polaroid Set Merchandise

Full Payment Pre-order Guzi Bear DMMD Dramatical Murder Badge Polaroid Set Merchandise

$29.00

Peach Wood Sheepskin Rattle and Clapper Brass Traditional Handmade Baby Teething Hand Drum Newborn Gift Box

Peach Wood Sheepskin Rattle and Clapper Brass Traditional Handmade Baby Teething Hand Drum Newborn Gift Box

$29.90

Pirelli Run-Flat Tires 235/245/255/265/275/285 40 45 50 55R19R20R21

Pirelli Run-Flat Tires 235/245/255/265/275/285 40 45 50 55R19R20R21

$350.00

Protective Case Lid for Pelican Cases - Laptop Insert for Models 1510, 1560, and 1535

Protective Case Lid for Pelican Cases - Laptop Insert for Models 1510, 1560, and 1535

$254.00

Universal 5800 Super Glue for Plastic, Metal, Glass, and Wood, 10-Second Fast Curing

Universal 5800 Super Glue for Plastic, Metal, Glass, and Wood, 10-Second Fast Curing

$2.01

White Noise Wood Chip Core Grid Scented Candle Wooden Core S-Type Brand Name Candle Container Soy Candle Core Wood

White Noise Wood Chip Core Grid Scented Candle Wooden Core S-Type Brand Name Candle Container Soy Candle Core Wood

$1.50

Zunjue 100% Cotton Paper Block 300g Watercolor Paper, Fine/Medium Grain, Thickened 80 Sheets, Neutral Acid-Free Journal Paper for Art Students, Beginners, Watercolor, Colored Pencil, Pen, Light Wash, Marker

Zunjue 100% Cotton Paper Block 300g Watercolor Paper, Fine/Medium Grain, Thickened 80 Sheets, Neutral Acid-Free Journal Paper for Art Students, Beginners, Watercolor, Colored Pencil, Pen, Light Wash, Marker

$27.20

Outdoor Waterproof Dry Bag for Rafting and Creek Walking - Large Capacity Backpack for Swimming, Hiking, Diving, and Flood Rescue

Outdoor Waterproof Dry Bag for Rafting and Creek Walking - Large Capacity Backpack for Swimming, Hiking, Diving, and Flood Rescue

$132.00

Lukang 995 Door and Window Fast-Drying Glass Sealant - Transparent Weather-Resistant Neutral Silicone Structural Adhesive

Lukang 995 Door and Window Fast-Drying Glass Sealant - Transparent Weather-Resistant Neutral Silicone Structural Adhesive

$222.90

Large Flip-Type Water Draining and Air Drying Machine, Fully Automatic Air Knife Blower for Vegetables, Commercial Continuous Drying Equipment

Large Flip-Type Water Draining and Air Drying Machine, Fully Automatic Air Knife Blower for Vegetables, Commercial Continuous Drying Equipment

$15,282.00

Large Capacity Household Quilt Storage Bag - Waterproof and Moisture-Proof Duvet Organizer for Moving, Packing, and Luggage Sorting

Large Capacity Household Quilt Storage Bag - Waterproof and Moisture-Proof Duvet Organizer for Moving, Packing, and Luggage Sorting

$5.88