GP2Y0A21YK0F Datasheet – IR Distance Sensor – Sharp

Part Number: GP2Y0A21YK0F

Function: Distance Measuring Sensor Unit

Measuring distance : 10 to 80 cm Analog output type

Manufacturer: Sharp Electronics

Image :

GP2Y0A21YK0F datasheet



The 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.

The variety of the reflectivity of the object, the environmental temperature and the operating duration are not influenced easily to the distance detection because of adopting the triangulation method.

This device outputs the voltage corresponding to the detection distance. So this sensor can also be used as a proximity sensor.

Block diagram

GP2Y0A21YK0F block diagram


1. Distance measuring range : 10 to 80 cm

2. Analog output type

3. Package size : 29.5×13×13.5 mm

4. Consumption current : Typ. 30 mA

5. Supply voltage : 4.5 to 5.5 V


GP2Y0A21YK0F datasheet pinout


1. Touch-less switch (Sanitary equipment, Control of illumination, etc. )

2. Robot cleaner

3. Sensor for energy saving (ATM, Copier, Vending machine)

4. Amusement equipment (Robot, Arcade game machine)

Reference Site:


Other data sheets are available within the file:


GP2Y0A21YK0F Datasheet PDF Download


GP2Y0A21YK0F pdf


PC817 Datasheet PDF – Photocoupler, DIP 4 – Sharp

A photocoupler, also known as an optocoupler or optoisolator, is an electronic component that is used to transfer electrical signals between two isolated circuits using light. It consists of an optically coupled pair, typically an LED (Light-Emitting Diode) on one side and a photodetector (such as a phototransistor or a photodiode) on the other side, enclosed in a single package.

Part Number: PC817

Function: General Purpose Photocoupler

Package: DIP 4pin

Manufacturer: Sharp Electronics

Image :

PC817 Photocoupler


1. Double transfer mold package (Ideal for Flow Soldering)

2. High isolation voltage between input and output (Viso(rms) : 5kV)

3. High collector-emitter voltage(VCEO : 80V)

4. Current transfer ratio (CTR : MIN. 50% at IF=5 mA, VCE=5V)

5. RoHS directive compliant


PC817 Image



The PC817 Series contains an IRED optically coupled to a phototransistor.

It is packaged in a 4pin DIP, available in wide-lead spacing option and SMT gullwing lead-form option.

Input-output isolation voltage(rms) is 5.0kV.

Collector-emitter voltage is 80V(*) and CTR is 50% to 600% at input current of 5mA.


PC817 Datasheet Pinout

Compact Dual-in-line Package:

1. PC-817 : 1-channel type
2. PC817 : 2-channel type
3. PC817 : 3-channel type
4. PC817 : 4-channel type

PC827 Datasheet PDF, PC837, PC847

1. LED (Light-Emitting Diode): The input side of the photocoupler contains an LED that emits light when a current is applied to it. The light emission is typically in the infrared spectrum, but other wavelengths can also be used.

2. Photodetector: The output side of the photocoupler contains a photodetector (such as a phototransistor or photodiode) that detects the incoming light from the LED and generates a corresponding electrical signal.

3. Optically Transparent Barrier: Between the LED and the photodetector, there is an optically transparent barrier that isolates the input and output sides, preventing any direct electrical connection between them. This isolation provides electrical isolation between the two circuits.


1. Programmable controllers

2. Facsimiles

3. Telephones

4.  I/O isolation for MCUs (Micro Controller Units)

5. Noise suppression in switching circuits

6. Signal transmission between circuits of different potentials and impedances

Related Posts

Download PC817 Datasheet PDF

PC817 pdf

Other data sheets are available within the file: PC827, PC837, PC847

Related articles across the web