GP2Y0D21YK0F GP2Y0D21YK0F Distance Measuring Sensor Unit Digital output (24 cm) type Description Agency approvals/Compliance GP2Y0D21YK0F 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. The output voltage of this sensor stays high in case an object exists in the specified distance range. So this sensor can also be used as proximity sensor. 1. Compliant with RoHS directive (2002/95/EC) Applications 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) Features 1. Digital output type 2. Detecting distance : Typ. 24 cm 3. Package size : 29.5x13x13.5 mm 4. Consumption current : Typ. 33 mA 5. Supply voltage : 4.5 to 5.5 V Notice The content of data sheet is subject to change without prior notice. In the absence of confirmation by device specification sheets, SHARP takes no responsibility for any defects that may occur in equipment using any SHARP devices shown in catalogs, data books, etc. Contact SHARP in order to obtain the latest device specification sheets before using any SHARP device. Sheet No.: E4-A00601EN Date Dec.01.2006 1 (c)SHARP Corporation GP2Y0D21YK0F Block diagram Signal processing circuit Voltage regulator 12k Oscillation circuit Output circuit LED drive circuit Distance measuring IC Outline Dimensions (Unit : mm) (Stamp) Stamp(Example) 2Y0D 21 F Model name 37 29.5 Light emitter *200.1 Lens case 6.3 2 75 *4.5 Month(1 to 9,X,Y,Z) Year(2005:5) Light detector R3. ho 13 (18.9 +0.5 -0.3 ) 8.4 le 7.2 3.2 4 Z 3.2 R3. 75 ho 3.75 le Connector 10.1 PWB 14.75 1.2 (3.3) 16.3 13.5 4.15 2-1.5 7.5 Connector signal signal name VO GND Materials Lens :Acrylic acid resin (Visible light cut-off resin) Case :Carbonic ABS (Conductive resin) PCB :Paper phenol Connector : J.S.T.TRADING COMPANY,LTD, S3B-PH VCC Note 1. The dimensions marked by "*" show the dimensions of lens center position. Note 2. Unspecified tolerances shall be 0.3 mm. Note 3. The dimensions in parenthesis are shown for reference. Product mass : Approx. 3.6g Sheet No.: E4-A00601EN 2 GP2Y0D21YK0F Absolute Maximum Ratings Parameter Supply voltage Output terminal voltage Operating temperature Storage temperature (Ta=25,VCC=5V) Symbol VCC VO Topr Tstg Rating -0.3 to +7 -0.3 to VCC+0.3 -10 to +60 -40 to +70 Unit Remark V V Open collector output (Ta=25,VCC=5V) Electro-optical Characteristics Parameter Average supply current Detecting distance range Output voltage Detecting distance Symbol ICC L VOH VOL L Conditions (Note 1)(Note 3) Output voltage at high level(Note 1) Output voltage at low level(Note 1) (Note 1)(Note 2)(Note 4) MIN. TYP. 33 10 VCC-0.3 21 24 MAX. 40 0.6 27 Unit mA cm V V cm * L : Distance to reflective object (Note 1) Using reflective object : White paper (Made by Kodak Co., Ltd. gray cards R-27*white face, reflectance; 90%) (Note 2) The individual product shall be adjusted to have L = 24 cm 3 cm as the distance before shipping detecting. (Note 3) Possible distance measuring range (of the sensor optics) (Note 4) Output voltage switch has a hysteresis width. The distance specified by L should be the distance which the output turns from L to H in case an object moves to the sensor. Recommended operating conditions Parameter Supply voltage Symbol VCC Rating 4.5 to 5.5 Unit V Sheet No.: E4-A00601EN 3 GP2Y0D21YK0F Fig. 1 Timing chart Vcc(Power supply) 38.39.6ms Distance measuring operating Vo(Output) First measurement Unstable output Second measurement First output nth measurement Second output nth output 7.61.9ms Sheet No.: E4-A00601EN 4 GP2Y0D21YK0F Fig. 2 Example of Output distance characteristics (Detection) H Output [V] HL Hysteresis width (Non Detection) LH L 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 Set-up detection distance L = 24 3 cm Distance to reflective object [cm] Sheet No.: E4-A00601EN 5 GP2Y0D21YK0F Notes Advice for the optics * The lens of this device needs to be kept clean. There are cases that dust, water or oil and so on deteriorate the characteristics of this device. Please consider in actual application. * Please don't do washing. Washing may deteriorate the characteristics of optical system and so on. Please confirm resistance to chemicals under the actual usage since this product has not been designed against washing. Advice for the characteristics * In case that an optical filter is set in front of the emitter and detector portion, the optical filter which has the most efficient transmittance at the emitting wavelength range of LED for this product ( = 870 70nm), shall be recommended to use. Both faces of the filter should be mirror polishing. Also, as there are cases that the characteristics may not be satisfied according to the distance between the protection cover and this product or the thickness of the protection cover, please use this product after confirming the operation sufficiently in actual application. * In case that there is an object near to emitter side of the sensor between sensor and a detecting object, please use this device after confirming sufficiently that the characteristics of this sensor do not change by the object. * When the detector is exposed to the direct light from the sun, tungsten lamp and so on, there are cases that it can not measure the distance exactly. Please consider the design that the detector is not exposed to the direct light from such light source. * Distance to a mirror reflector can not be sometimes measured exactly. In case of changing the mounting angle of this product, it may measure the distance exactly. * In case that reflective object has boundary line which material or color etc. are excessively different, in order to decrease deviation of measuring distance, it shall be recommended to set the sensor that the direction of boundary line and the line between emitter center and detector center are in parallel. (Incorrect) (Correct) * In order to decrease deviation of measuring distance by moving direction of the reflective object, it shall be recommended to set the sensor that the moving direction of the object and the line between emitter center and detector center are vertical. (Incorrect) (Correct) (Moving direction) (Moving direction) Advice for the power supply * In order to stabilize power supply line, we recommend to insert a by-pass capacitor of 10F or more between Vcc and GND near this product. Notes on handling * There are some possibilities that the internal components in the sensor may be exposed to the excessive mechanical stress. Please be careful not to cause any excessive pressure on the sensor package and also on the PCB while assembling this product. Sheet No.: E4-A00601EN 6 GP2Y0D21YK0F Presence of ODC etc. This product shall not contain the following materials. And they are not used in the production process for this product. Regulation substances : CFCs, Halon, Carbon tetrachloride, 1.1.1-Trichloroethane (Methylchloroform) Specific brominated flame retardants such as the PBB and PBDE are not used in this product at all. This product shall not contain the following materials banned in the RoHS Directive (2002/95/EC). * Lead, Mercury, Cadmium, Hexavalent chromium, Polybrominated biphenyls (PBB), Polybrominated diphenyl ethers (PBDE). Sheet No.: E4-A00601EN 7 GP2Y0D21YK0F Package specification Package composition Pad (2 sheeets/case: top and bottom) Tray put products (10-tray/case) Product Pad (10 sheeets/case) Tray (Fig.2) Packing case Craft tape (Fig.1) (Fig.3) Model No. Quantity Date Packaging method 1.Put products of 100pcs. in tray. packing method is showed in the above fig.(Fig.1) 2.Put them(10-tray) in the packing box. Put pads on their top and bottom. And put pads on each trays(Total 10 sheets) (Fig.2). 3.Seal the packing box with craft tape. Print the model No.,quantity,inspection date (1000 pcs./a packing box)(Fig.3). Sheet No.: E4-A00601EN 8 GP2Y0D21YK0F Important Notices * The circuit application examples in this publication are provided to explain representative applications of SHARP devices and are not intended to guarantee any circuit design or license any intellectual property rights. SHARP takes no responsibility for any problems related to any intellectual property right of a third party resulting from the use of SHARP's devices. with equipment that requires higher reliability such as: --- Transportation control and safety equipment (i.e., aircraft, trains, automobiles, etc.) --- Traffic signals --- Gas leakage sensor breakers --- Alarm equipment --- Various safety devices, etc. (iii) SHARP devices shall not be used for or in connection with equipment that requires an extremely high level of reliability and safety such as: --- Space applications --- Telecommunication equipment [trunk lines] --- Nuclear power control equipment --- Medical and other life support equipment (e.g., scuba). * Contact SHARP in order to obtain the latest device specification sheets before using any SHARP device. SHARP reserves the right to make changes in the specifications, characteristics, data, materials, structure, and other contents described herein at any time without notice in order to improve design or reliability. Manufacturing locations are also subject to change without notice. * Observe the following points when using any devices in this publication. SHARP takes no responsibility for damage caused by improper use of the devices which does not meet the conditions and absolute maximum ratings to be used specified in the relevant specification sheet nor meet the following conditions: (i) The devices in this publication are designed for use in general electronic equipment designs such as: --- Personal computers --- Office automation equipment --- Telecommunication equipment [terminal] --- Test and measurement equipment --- Industrial control --- Audio visual equipment --- Consumer electronics (ii) Measures such as fail-safe function and redundant design should be taken to ensure reliability and safety when SHARP devices are used for or in connection * If the SHARP devices listed in this publication fall within the scope of strategic products described in the Foreign Exchange and Foreign Trade Law of Japan, it is necessary to obtain approval to export such SHARP devices. * This publication is the proprietary product of SHARP and is copyrighted, with all rights reserved. Under the copyright laws, no part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, in whole or in part, without the express written permission of SHARP. Express written permission is also required before any use of this publication may be made by a third party. * Contact and consult with a SHARP representative if there are any questions about the contents of this publication. Sheet No.: E4-A00601EN 9