Compel Groupgroup

Infrared Distance Sensor Module | Photoelectric Ranging | For Microcontrollers

Stock Nr:
SKU:
1 / 6
£30.99inc VAT

This is a family of infrared distance sensors used to measure how far away an object is. Each model, like the GP2Y0A21YK0F, uses an IR beam to determine distance and provides a simple analog voltage o...

Select an option
  • Secure checkout
  • All major cards
  • Tracked delivery
£30.99
Fast Shipping
Secure Payment
Easy Returns

Good to know

Questions about this product

What's the difference between the GP2Y0A02YK0F and GP2Y0A21YK0F models?
The main difference is the detection range. The GP2Y0A21YK0F is for medium distances of 10cm to 80cm, while the GP2Y0A02YK0F is for longer ranges of 20cm to 150cm. You should choose the model that best fits the distance you need to measure.
What sort of projects are these infrared sensors used for?
They are commonly used for non-contact distance measurement and obstacle avoidance in robotics and automated machinery. You'll also find them used for things like presence detection, liquid level sensing, or triggering an action when an object is within a certain range.
How do I connect one of these to a microcontroller to get a reading?
These sensors output an analog voltage that changes based on the distance to an object. You connect the power and ground pins, then connect the sensor's output pin to an analog input on your microcontroller, like an Arduino. You then read that voltage value in your code to determine the distance.

Photoelectric Sensors spec sheet (PDF)

Get a one-page sheet with full description, specifications, technical details, FAQs, price & SKU - handy to save, print, or share.

Not sure which one?

Compare with similar products

Nothing close enough to compare right now

We only put products side by side when they are genuinely the same kind of thing, in stock and in a similar price range. For this one there is no true match at the moment, so we would rather show you nothing than the wrong thing.

Browse all photoelectric sensors

Compare options

More Photoelectric Sensors

Explore the range

Popular in Industrial & Machinery

Complete the set

Accessories & add-ons

We use cookies. Some keep the store working, others show us what to fix. No third-party trackers, and we never sell your data. Learn more about cookies and your privacy