GP2Y0A21YK0F Distance Measuring Sensor: Datasheet, Schematic and Pinout
SENSOR OPTICAL 10-80CM ANALOG
Unit Price: $6.043683
Ext Price: $6.04









SENSOR OPTICAL 10-80CM ANALOG
GP2Y0A21YK0F is a distance measuring sensor unit with measuring distance 10 to 80 cm. This article mainly covers datasheet, schematic, features and other details about GP2Y0A21YK0F.

How to use Sharp IR Distance Sensor with Arduino (download code)
GP2Y0A21YK0F Pinout

GP2Y0A21YK0F Description
GP2Y0A21YK0F is a distance measuring sensor unit, composed of an integrated combination of PSD (position sensitive detector), IRED (infrared emitting diode) and signal processing circuit. This device outputs the voltage corresponding to the detection distance. So this sensor can also be used as a proximity sensor.
GP2Y0A21YK0F CAD Model
Footprint

Specifications
- TypeParameter
- Factory Lead Time16 Weeks
- Mount
In electronic components, the term "Mount" typically refers to the method or process of physically attaching or fixing a component onto a circuit board or other electronic device. This can involve soldering, adhesive bonding, or other techniques to secure the component in place. The mounting process is crucial for ensuring proper electrical connections and mechanical stability within the electronic system. Different components may have specific mounting requirements based on their size, shape, and function, and manufacturers provide guidelines for proper mounting procedures to ensure optimal performance and reliability of the electronic device.
Screw - Number of Pins3
- Operating Temperature
The operating temperature is the range of ambient temperature within which a power supply, or any other electrical equipment, operate in. This ranges from a minimum operating temperature, to a peak or maximum operating temperature, outside which, the power supply may fail.
-10°C~60°C TA - Part Status
Parts can have many statuses as they progress through the configuration, analysis, review, and approval stages.
Active - Moisture Sensitivity Level (MSL)
Moisture Sensitivity Level (MSL) is a standardized rating that indicates the susceptibility of electronic components, particularly semiconductors, to moisture-induced damage during storage and the soldering process, defining the allowable exposure time to ambient conditions before they require special handling or baking to prevent failures
1 (Unlimited) - Connector Type
Connector Type in electronic components refers to the specific design and configuration of the connector used to establish electrical connections between different devices or components. This parameter describes the physical shape, size, and layout of the connector, as well as the number and arrangement of pins or contacts. Common connector types include USB, HDMI, RJ45, and D-sub connectors, each serving different purposes and applications. Understanding the connector type is crucial for ensuring compatibility and proper functionality when connecting electronic devices together.
Cable - Max Operating Temperature
The Maximum Operating Temperature is the maximum body temperature at which the thermistor is designed to operate for extended periods of time with acceptable stability of its electrical characteristics.
60°C - Min Operating Temperature
The "Min Operating Temperature" parameter in electronic components refers to the lowest temperature at which the component is designed to operate effectively and reliably. This parameter is crucial for ensuring the proper functioning and longevity of the component, as operating below this temperature may lead to performance issues or even damage. Manufacturers specify the minimum operating temperature to provide guidance to users on the environmental conditions in which the component can safely operate. It is important to adhere to this parameter to prevent malfunctions and ensure the overall reliability of the electronic system.
-10°C - Voltage - Supply
Voltage - Supply refers to the range of voltage levels that an electronic component or circuit is designed to operate with. It indicates the minimum and maximum supply voltage that can be applied for the device to function properly. Providing supply voltages outside this range can lead to malfunction, damage, or reduced performance. This parameter is critical for ensuring compatibility between different components in a circuit.
4.5V~5.5V - Output Type
The "Output Type" parameter in electronic components refers to the type of signal or data that is produced by the component as an output. This parameter specifies the nature of the output signal, such as analog or digital, and can also include details about the voltage levels, current levels, frequency, and other characteristics of the output signal. Understanding the output type of a component is crucial for ensuring compatibility with other components in a circuit or system, as well as for determining how the output signal can be utilized or processed further. In summary, the output type parameter provides essential information about the nature of the signal that is generated by the electronic component as its output.
Analog - Operating Supply Current
Operating Supply Current, also known as supply current or quiescent current, is a crucial parameter in electronic components that indicates the amount of current required for the device to operate under normal conditions. It represents the current drawn by the component from the power supply while it is functioning. This parameter is important for determining the power consumption of the component and is typically specified in datasheets to help designers calculate the overall power requirements of their circuits. Understanding the operating supply current is essential for ensuring proper functionality and efficiency of electronic systems.
40mA - Cable Length
A nautical unit of measure equal to one tenth of a nautical mile or approximately 1 fathoms.
100mm - Output Current
The rated output current is the maximum load current that a power supply can provide at a specified ambient temperature. A power supply can never provide more current that it's rated output current unless there is a fault, such as short circuit at the load.
30mA - Current - Supply
Current - Supply is a parameter in electronic components that refers to the maximum amount of electrical current that the component can provide to the circuit it is connected to. It is typically measured in units of amperes (A) and is crucial for determining the power handling capability of the component. Understanding the current supply rating is important for ensuring that the component can safely deliver the required current without overheating or failing. It is essential to consider this parameter when designing circuits to prevent damage to the component and ensure proper functionality of the overall system.
40mA - Sensing Distance
It is the sensing range for which the sensor can stably detect the standard sensing object even if there is an ambient temperature drift and/or supply voltage fluctuation. (Normally, it is 70 to 80 % of the maximum operation distance.)
10 ~ 80cm - Sensing Method
The sensing method in electronic components refers to the technique or mechanism used to detect and measure physical phenomena such as temperature, pressure, light, or motion. This includes a variety of technologies such as resistive, capacitive, inductive, and optical sensing methods. The choice of sensing method affects the accuracy, response time, and application suitability of the electronic component. It plays a crucial role in determining how effectively a device can interact with and interpret its environment.
Optical - Max Supply Voltage (DC)
The parameter "Max Supply Voltage (DC)" in electronic components refers to the maximum voltage that can be safely applied to the component without causing damage. This specification is crucial for ensuring the reliable operation and longevity of the component within a given circuit. Exceeding the maximum supply voltage can lead to overheating, breakdown of internal components, or even permanent damage. It is important to carefully adhere to this specification when designing or using electronic circuits to prevent potential failures and ensure the safety of the components.
5.5V - Min Supply Voltage (DC)
The parameter "Min Supply Voltage (DC)" in electronic components refers to the minimum voltage level required for the component to operate properly. It indicates the lowest voltage that can be safely applied to the component without causing damage or malfunction. This parameter is crucial for ensuring the reliable and stable operation of the component within its specified operating range. It is important for designers and engineers to adhere to the specified minimum supply voltage to prevent potential issues such as erratic behavior, reduced performance, or permanent damage to the component.
4.5V - Voltage - Output (Typ) @ Distance
Voltage - Output (Typ) @ Distance is a parameter that specifies the typical output voltage of an electronic component at a certain distance. This parameter is important in applications where the output voltage needs to be maintained within a certain range even when the component is placed at a distance from the load or target. It helps in determining the performance and reliability of the component in various operating conditions. By providing the typical output voltage at a specified distance, this parameter assists engineers and designers in selecting the right component for their specific requirements and ensuring proper functionality of the circuit or system.
400mV @ 80cm - Voltage - Output Difference (Typ) @ Distance
Voltage - Output Difference (Typ) @ Distance is a parameter that specifies the typical difference in output voltage between two points on an electronic component, typically measured at a specific distance. This parameter is important in determining the voltage drop or variation that occurs over a certain distance within the component. It helps in understanding the performance and efficiency of the component in terms of maintaining a consistent output voltage across different points. By knowing this parameter, engineers can design and optimize circuits to account for any voltage differences that may occur over distance within the component.
1.9V @ 10~80cm - Width44.75mm
- REACH SVHC
The parameter "REACH SVHC" in electronic components refers to the compliance with the Registration, Evaluation, Authorization, and Restriction of Chemicals (REACH) regulation regarding Substances of Very High Concern (SVHC). SVHCs are substances that may have serious effects on human health or the environment, and their use is regulated under REACH to ensure their safe handling and minimize their impact.Manufacturers of electronic components need to declare if their products contain any SVHCs above a certain threshold concentration and provide information on the safe use of these substances. This information allows customers to make informed decisions about the potential risks associated with using the components and take appropriate measures to mitigate any hazards.Ensuring compliance with REACH SVHC requirements is essential for electronics manufacturers to meet regulatory standards, protect human health and the environment, and maintain transparency in their supply chain. It also demonstrates a commitment to sustainability and responsible manufacturing practices in the electronics industry.
Unknown - Radiation Hardening
Radiation hardening is the process of making electronic components and circuits resistant to damage or malfunction caused by high levels of ionizing radiation, especially for environments in outer space (especially beyond the low Earth orbit), around nuclear reactors and particle accelerators, or during nuclear accidents or nuclear warfare.
No - RoHS Status
RoHS means “Restriction of Certain Hazardous Substances” in the “Hazardous Substances Directive” in electrical and electronic equipment.
RoHS Compliant - Lead Free
Lead Free is a term used to describe electronic components that do not contain lead as part of their composition. Lead is a toxic material that can have harmful effects on human health and the environment, so the electronics industry has been moving towards lead-free components to reduce these risks. Lead-free components are typically made using alternative materials such as silver, copper, and tin. Manufacturers must comply with regulations such as the Restriction of Hazardous Substances (RoHS) directive to ensure that their products are lead-free and environmentally friendly.
Lead Free
GP2Y0A21YK0F Block Schematic

GP2Y0A21YK0F Features
Distance measuring range: 10 to 80 cm
Analog output type
Package size: 29.5×13×13.5 mm
Consumption current: Typ. 30 mA
Supply voltage: 4.5 to 5.5 V
GP2Y0A21YK0F Applications
Touch-less switch (Sanitary equipment, Control of illumination, etc. )
Robot cleaner
Sensor for energy saving (ATM, Copier, Vending machine)
Amusement equipment (Robot, Arcade game machine)
GP2Y0A21YK0F Circuit

GP2Y0A21YK0F Distance Formula
In its simplest form, the linearizing equation can be that the distance to the reflective object is approximately equal to a constant scale factor (~27 V*cm) divided by the sensor's output voltage.
How to use GP2Y0A21YK0F
The SHARP GP2Y0A21YK0F is an easy to use IR distance sensor with a range of 10 – 80 cm. It is a great sensor to use for autonomous robots or non-contact optical switches.
GP2Y0A21YK0F Manufacturer
Sharp Microelectronics of the Americas (SMA) drives innovative LCD, optoelectronics, memory, imager, and RF components to market. The world's leading manufacturers of consumer and business technologies look to SMA for the products, expertise, and worldwide support they need to make their visions a reality. SMA, in Camas, Washington, is the microelectronics sales and marketing division of Sharp Electronics Corporation, a wholly owned subsidiary of Sharp Corporation.
Datasheet PDF
- Datasheets :
How to use GP20A21YK0F infrared ranging sensor to connect to 51Y and use 51 to control it?
This requires AD to collect. If the 51 single-chip microcomputer used has built-in AD, just connect the AD port.
What is the gp2y0a21yk sensor?
GP2Y0A21YK0F is a distance measuring sensor unit, composed of an integrated combination of PSD (position sensitive detector) , IRED (infrared emitting diode) and signal processing circuit. ... This device outputs the voltage corresponding to the detection distance. So this sensor can also be used as a proximity sensor.
How does gp2y0a21yk0f work?
An IR distance sensor uses a beam of infrared light to reflect off an object to measure its distance. The distance is calculated using triangulation of the beam of light. The sensor consists of an IR LED and a light detector or PSD (Position Sensing Device).
What is gp2y0a21yk0f used for?
Sharp IR Sensor - GP2Y0A21YK0F is a distance measuring unit, can be used for obstacle detection for robots. It has measuring range of 10 to 80 cm. The sensor gives output voltage proportional to the distance measured.
M95M01-R EEPROM: Pinout, Equivalent and Datasheet20 December 20213059
DS1307N Real-Time Clock: Circuit, Pinout, and Datasheet17 April 20251622
TNY278 Off-Line Switcher IC: Pinout, Product Highlights and Datasheet21 March 202212839
2N3904 vs. 2N2222: What is the difference between 2N2222 and 2N3904 Transistor?12 November 202119159
TDA2030 Audio Amplifier: Datasheet, Pinout and Equivalents15 September 202160682
STM32F401RET6TR Microcontroller: 32-Bit, 64-LQFP, Pinout and Features21 January 20222031
MOC3063 Zero-Cross Optoisolator: Equivalent, Datasheet and MOC3063 vs. MOC304224 April 20229434
73S1215F System-on-Chip: Technical Specifications and Applications29 February 2024236
What are the Differences in the Copying Methods of Double-Sided and Multi-Layer PCBs?18 July 20224694
CAN FD Transceiver Selection Guide: Loop Delay, Bus Faults, and Low-Power Architecture30 September 202670
Samsung: 3nm Yield Rate of 20%19 April 20225639
How Zener Diodes Work: Characteristics and Selection Guide16 July 202625991
CR2450 vs CR2032 Batteries18 June 20253597
What is a Biosensor?23 March 20214033
Top 10 IC Design Companies in China13 January 202210827
Si vs SiC Diodes: A Performance Study of Interleaved Boost Converters for PV Applications14 March 20233269
SHARP/Socle Technology
In Stock: 4
Minimum: 1 Multiples: 1
Qty
Unit Price
Ext Price
1
$6.043683
$6.04
10
$5.701588
$57.02
100
$5.378856
$537.89
500
$5.074393
$2,537.20
1000
$4.787163
$4,787.16
Not the price you want? Send RFQ Now and we'll contact you ASAP.
Inquire for More Quantity


Product
Brand
Articles
Tools








