GP2Y0E03
GP2Y0E03
Distance Measuring Sensor Unit
Measuring distance : 4 to 50 cm
Digital(I 2 C) / Analog output type
■Description
■Agency approvals/Compliance
GP2Y0E03 is a distance measuring sensor unit,
composed of an integrated combination of CMOS
image sensor and IR-LED.
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 and digital(I 2 C) data.
So this sensor can also be used as a proximity sensor.
1. Compliant with RoHS directive (2002/95/EC)
■Applications
1. Cleaning Robot
2. Human type Robot
3. Touch-less switch
(Sanitary equipment, Control of illumination, etc)
4. Sensor for energy saving
(ATM, Copier, LCD monitor, etc)
5. Amusement equipment
(Robot, game machine, etc)
■Features
1. Infrared LED and CMOS image sensor with
built-in signal processing circuit
2. Distance measuring range : 4 to 50 cm
3. Low voltage operation : Min 2.7V
4. Compact size (16.7 × 11.0 × 5.2mm)
5. High-precision measurement
6. Digital(I 2 C) / Analog output type
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.
1
Sheet No. : OP13002EN
GP2Y0E03
■Schematic
1uF
1uF
510Ω
1uF
1uF
1uF
① VDD
② Vout(A)
③ GND
④ VIN(IO)
⑤ GPIO1
⑥ SCL
⑦ SDA
0.1uF
0.1uF
Please use an electric source with an output current of 150mA or more because LED pulse current is more than 100mA.
■Outline
(Drawing No.CY15117i02)
Scale : 5/1
Unit : mm
Sheet No. : OP13002EN
2
GP2Y0E03
■Absolute maximum ratings
Parameter
Supply voltage
Output terminal voltage
Output current
Symbol
VDD
Vout (A)
Iout (A)
I/O supply voltage
VIN (IO)
Input terminal voltage
I 2 C input terminal voltage
I 2 C I/O terminal voltage
Operating temperature
Storage temperature
GPIO1
SCL
SDA
Topr
Tstg
Ta=25°C (unless otherwise specified)
Ratings
Unit
Remark
-0.3 to + 5.5
V
-0.3 to +2.8
V
-6.0 to +6.0
mA
-0.3 to VDD+0.3 (VDD >
= 3.3V)
V
Refer to 3-4
-0.3 to +3.6 (VDD > 3.3V)
-0.3 to VIN(IO)+0.3
V
Refer to 3-4
-0.3 to VIN(IO)+0.3
V
Refer to 3-4
-0.3 to VIN(IO)+0.3
V
Refer to 3-4
-10 to +60
°C
-40 to +70
°C
-
■Recommended operating conditions
Parameter
Supply voltage
I/O supply voltage
SCL, SDA High level input
SCL, SDA Low level input
GPIO1 High level input
GPIO1 Low level input
Symbol
VDD
VIN (IO)
VIH1
VIL1
VIH
VIL
Rating
2.7 to 5.5
1.8 to 3.3
Min. VIN(IO) x 0.7
Max. VIN(IO) x 0.3
Min. VIN(IO) x 0.7
Max. VIN(IO) x 0.3
Unit
V
V
V
V
V
V
Remark
Operating state
Stand-by state
Sheet No. : OP13002EN
3
GP2Y0E03
■Electro-optical Characteristics
Parameter
Measuring distance range
Distance value
Distance value
Distance value
Output terminal voltage
Output terminal voltage
Output terminal voltage
Average supply current
Stand-by supply current
Response time (Note 4)
※
Symbol
L※
D1
D2
D3
Vout(A)1
Vout(A)2
Vout(A)3
Icc1
Icc2
Ts
Conditions
(Note 1, 2)
L=50cm (Note 1, 2, 3)
L=10cm (Note 1, 2, 3)
L=4cm (Note 1, 2, 3)
L=50cm (Note 1, 2)
L=10cm (Note 1, 2)
L=4cm (Note 1,2)
L=50cm, GPIO1=VIN(IO)
GPIO1=GND
L=50cm → L=4cm (Note 5)
MIN.
4
45
9
3
0.3
1.9
2.1
-
(Ta=25°C, VDD =3V)
TYP. MAX. Unit
50
cm
55
50
cm
11
10
cm
4
5
cm
0.55
0.8
V
2.1
2.0
V
2.2
2.3
V
26
36
mA
20
60
μA
40
ms
L : Distance to reflective object
(Note 1)
(Note 2)
(Note 2)
(Note 3)
(Note 4)
(Note 4)
(Note 4)
(Note 5)
(Note 4)
(Note 4)
(Note 4)
(Note 4)
Under dark condition
Using reflective object :
White paper (Made by Japan Color Research Institute order made color chart : mat, reflective ratio : 90%)
Distance data through I 2 C bus
Max. time means that it takes time to stabilize output due to the change of reflected signal light.
Definition : the case that object condition is changed suddenly from the least reflection(max. gain condition in
internal circuit) to the most reflection (min. gain condition in internal circuit).
Method of measuring (Ts)
Connect GPIO1 with GND during measuring L=50cm with reflective object:
Gray paper (mat, reflective ratio : 10%).
After changing the position (L=4cm with reflective object: White paper (mat, reflective ratio : 90%),
Measuring the time of the output terminal : Vout(A) until stabilizing after connecting GPIO1 with VIN(IO)
Reflective
Object
10% @50cm
90% @4cm
GPIO1
50cm
Distance
(I 2 C)
4cm
2.3[V] (spec max. @4cm)
2.1[V] (spec min. @4cm)
Vout(A)
Ts (Max 40ms)
2
Response time of I C output is faster than that of Vout(A) because it is stabilized soon after distance data output.
Distance data is updated every 2ms after response time.
Sheet No. : OP13002EN
4
GP2Y0E03
■Timing Chart
1. Power On/Off Timing Sequence
VDD
T1
T4
VIN(IO)
T1, T4 : Refer to 2
VIN(IO) should be turned off before VDD is turned off, or at the same time when VDD is turned off. I 2 C communication
with other devices connected to the same bus is not allowed after VDD or VIN(IO) is turned off. In case that both of VDD
and VIN(IO) turn off, GPIO1, SCL and SDA should be pull low. In case that only VIN(IO) turn off, GPIO1, SCL and SDA
should be pull low. If this product is operated under the condition except the above, this product or other device around it
may give damage due to excessive current.
2. Active / Stand-by timing sequence
There are two ways (Hardware / Software) to control Active/stand-by state.
HW : GPIO1 is set High or Low
HW : GPIO1=high : Active state
HW : GPIO1=Low : Stand-by state
SW : I 2 C register program
SW : SW control is effective when GPIO1 is high.
(1) Controlled by GPIO1
VDD
VIN(IO)
T1
GPIO1
T2
T3
2
I C
T3
Access
Register
Active
State
Stand-by
Access
Register
Active
(2) Controlled by I 2 C
VDD
VIN(IO)
GPIO1
T1
T3
I C
Stand-by
comman
State
Active
2
Access
Register
Active
comman
Active
Stand-by
T3
Sheet No. : OP13002EN
5
GP2Y0E03
Description
IO power delay after VDD power on
GPIO1 delay after VIN(IO) power on
I 2 C access delay after GPIO1 high or
active command completed
VIN(IO) leading to VDD power off
T1
T2
T3
T4
Min
0
0
Max
5
-
Unit
ms
ms
500
-
us
0
-
us
■Supplements
Distence data through I 2 C [cm]
1. Example of output distance characteristics
Example of output distance characteristecs of GP2Y0E03
60
50
40
30
20
10
0
0
10
20
30
40
Distance to reflective object*1 [cm]
50
60
Example of output distance characteristics of GP2Y0E03
2.5
Vout(A) [V]
2
1.5
1
0.5
0
0
10
20
30
40
50
60
Distance to reflective object*1 [cm]
*1 : Using reflective object : White paper (reflective ratio : 90%)
Relative value
2. Example of directional angle of emitting beam
1.1
1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
-10
-5
0
Angle [°]
5
10
Sheet No. : OP13002EN
6
GP2Y0E03
■Notes
[Advice for the optics]
●Lens of this device shall be kept cleanly. There are cases that dust, water or oil and so on deteriorate the characteristics
of this device. Please consider in actual application.
●In case that protection cover is set in front of this sensor , the protection cover shall be recommended to use material
which doesn’t scatter light and be matt finish. And the protection cover which has the most efficient transmittance
at the emitting wavelength range of LED for this product (λ=850nm±70nm). And this protection cover is recommend to
be flat. And this protection cover shall be recommended to be parallel to the emitter and detector portion. In case that
protection cover is set in front of this sensor, It emits reflected light from this protection cover. If this reflect light reaches
in detector portion, the output distance of this product may be changed. The output distance characteristics of this product
may be changed with according to material (①) or transmittance (②) or the thickness (③) or the distance
between the protection cover and this product (④) or the angle between surface and back (⑤) or the angle between this
cover and this sensor(⑥). In case that protection cover is set, please design to consider that this reflective light is
minimized. And it shall be effective to put light shield wall between emitting lens and receiving lens as shown in below.
Protection cover
③thickness
④Distance
Sensor
Condition
No1
No2
No3
No4
③thickness
1mm
1mm
2mm
2mm
④distance
0mm
1mm
0mm
1mm
light shield wall
nonexistence
exisitence【*】
Direct reflective light becomes large as Distance from sensor to protection cover and thickness of this cover become large.
In case thickness is 2mm and distance is 1mm, measuring distance is changed shift larger from actual distance than other
condition. It shifts can make small by using installation of light shield【*】and compensation function【**】.
【*】Noted for installation of light shield
Inner distance between lens of detector and lens of emitter is around 0.6mm (reference). So the width of light shield is
recommended to be less than 0.6mm. In case the width of light shield is longer than inner distance, measuring distance
is changed by Shield a part of emitter lens or detector lens. Please confirm that there is no problem under the actual
equipment. And In case between protection cover and light shield or between light shield and this sensor exists space,
The effect of light shield is small because light from emitter leaks. The light shield wall is recommended to use the
material that have the low transmittance at the emitting wavelength range of LED for this product (λ=850nm±70nm).
When the material of light shield wall is hard, and the power stress in which it is added to this product is large, measuring
distance may shift from actual distance.
The width of
light shield wall
Light shield wall
Protection
cover
Light shield wall
【**】Noted of compensation function
This product has the function which rectifies error shift by the direct reflective light from protection cover. The accuracy
after compensation is based on a protection cover or its installation condition. This function can be active when it set
correction factor in this product by I 2 C or E-fuse. Please refer to application manual about the detail of this function.
Neither installation of a light shield wall nor use of a compensation function guarantees the distance characteristic.
These improve error shift of the distance characteristic.
Regardless of use of a light shield wall or a compensation function, please use it after confirming with customer’s product.
Sheet No. : OP13002EN
7
GP2Y0E03
[Advice for the characteristics]
●In case that there is an object near to light exits of the sensor between the sensor and the detected object, please use
this device after confirming sufficiently what the characteristics of this sensor do not change by the object.
●This product has the function to remove disturbance light by the cancellation function of ambient light, a visible light cut
lens, etc. But when the detector receive 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 does not receive direct light from such light
source. When you operate the customer’s set installing this product by the remote control, please consider soft that the
output of this product being disregarded at the time of remote control operation by software.
●Distance between sensor and mirror reflector cannot be measured exactly.
●In case that reflective object has boundary line clearly, there is cases that distance can not measure exactly.
At that time, if direction of boundary line and the line between emitter center and detector center are parallels,
it is possible to decrease deviation of measuring distance.
(〇)
(×)
sensor
(Incorrect)
board
(Correct)
●In order to decrease measuring error due to moving direction of object, we recommend to mount the sensor like
below drawing.
(Incorrect)
(Correct)
(×)
(〇)
(Moving direction)
(Moving direction)
●For satisfying the specification of the electro optical characteristic, it is necessary to install a flat surface of object in
vertical of emitted light, and it is necessary to reflect the whole emitted light as shown in the following figure. As shown
in the example of directional angle of emitting beam, The angle is around 6 ° (±3°) where emission becomes 10% of
peaks. The object needs to exist in whole around 10 degrees (±5 degrees) area including the variation of peak position.
For example, when the object is in 50 cm, it is necessary to install the object of at least 9cm diameter parallel to the
surface of this sensor as follows. However above example doesn’t guarantee specification, please use it after confirming
with customer’s product.
object
(Example : R=90%, matt)
6°
9cm
sensor
5°
50cm
[Notes on handling]
●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.
●Please use this product under the condition that applied stress to the connector below 0.49N. And, harness is pulled
in the state where it attached this sensor, or please be careful so that the stress more than the above may not be added to
this sensor.
●This product have the parts that mount to the substrate by soldering . Since there is a possibility that a solder mounting
part may break when this product is used, the stress more than 4.9N should not be added to this product.
Sheet No. : OP13002EN
8
GP2Y0E03
■Compliance with each regulation
1. The RoHS directive(2002/95/EC)
This product complies with the RoHS directive(2002/95/EC) .
Object substances: mercury, lead (except for lead in high melting temperature type solders and glass of electronic
components), cadmium, hexavalent chromium, polybrominated biphenyls (PBB) and polybrominated diphenyl ethers
(PBDE)
2. Content of six substances specified in Management Methods for Control of Pollution Caused by Electronic Information
Products Regulation (Chinese : 电子信息产品污染控制管理办法).
Toxic and hazardous substances
Category
Distance measuring
sensor
Lead
(Pb)
Mercury
(Hg)
Cadmium
(Cd)
Hexavalent
chromium
6+
(Cr )
Polybrominated
biphenyls
(PBB)
Polybrominated
diphenyl ethers
(PBDE)
✓
✓
✓
✓
✓
✓
✓: indicates that the content of the toxic and hazardous substance in all the homogeneous materials of the part is
below the concentration limit requirement as described in SJ/T 11363-2006 standard .
Sheet No. : OP13002EN
9
GP2Y0E03
■Packing specification
(Drawing No. CY15118i09)
Pads (11 pieces)
Product
Tray
10 sheets of tray
Packing case
Indication side.
(1) Packing number
Max 100 pieces per tray
Max 1000 pieces per case
(2) Close the lid of case and seals with craft tape, and fill in the blanks of Model No., quantity and date.
(3) Outside : 264 x 203 x 105 (mm)
(4) Indication
The content of the indication conforms to EIAJ C-3 and the following items are indicated.
Model No., Internal production control name, Quantity, Packing date, Corporate name, Country of origin
Sheet No. : OP13002EN
10
GP2Y0E03
■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. : OP13002EN
11