You are on page 1of 2

Email: info@sunrom.com Visit us at http://www.sunrom.

com

Document: Datasheet

Date: 17-Jul-11

Model #: 1119

Products Page: www.sunrom.com/p-509.html

Proximity Sensor
Proximity Sensor is used to detect objects and obstacles in front of sensor. Sensor keeps transmitting modulated infrared light and when any object comes near, it is detected by the sensor by monitoring the reflected light from the object. It can be used in robots for obstacle avoidance, for automatic doors, for parking aid devices or for security alarm systems, or contact less tachometer by measuring RPM of rotation objects like fan blades.

Features
40 Khz Modulated IR transmitter LEDs Ambient light protected IR receiver 3 pin easy interface connector Indicator LED Up to 20cm range for white object Can differentiate between dark and light colors Active Low on object detection

Applications
Proximity Sensor Object Near detection Tachometer (Measure Fan Speed) Obstacle Detector Sensor Line/Wall Follower Sensor

Specifications
Power Supply : 5V DC Power Consumption: 50mA max. Detection range 20 cm Operation range varies according to color of the object, light color has more range. Detection Indicator LED Digital output. Active with logic 0 Dimensions : 41x27 mm

Using the Sensor


Connect regulated DC power supply of 5 Volts. Black wire is Ground, Next middle wire is Brown which is output and Red wire is positive supply. These wires are also marked on PCB. To test sensor you only need power the sensor by connect two wires +5V and GND. You can leave the output wire as it is. When LED is off the output is at 5V. Bring any object nearby the Sensor and the LED will lit up and output becomes 0V. The output is active low and can be given directly to microcontroller for interfacing applications. OUTPUT STATE LED STATE LED OFF

Operation

LED ON

Basic Idea is to send infrared light through IR LEDs which is then reflected by any object in front of sensor. One of the biggest problems that can cause the malfunctioning of an IR proximity sensor, is the ambient light and surrounding sources of IR like the sun and halogen lamps that can cause false triggering of the sensor due to emission of infrared light. To avoid getting false detection the solution is to send pulses of IR light at a certain frequency instead of a constant beam, and build a receiver that would only detect IR pulses of the same exact frequency, cutting of all pulses of higher or lower frequency. The kind of device capable of filtering signals this way is called a bandpass filter. There are a lot of types of bandpass filters, a whole branch of electricity is dedicated to this subject. Instead of building a band pass filter, we used a very common IR receiver Module TSOP1738, that incorporates a receiver, an amplifier and a very reliable filter that rejects all the signals that are a couple of kilohertz far from the original central frequency, all in one single integrated circuit, just as big as a 5V regulator. The central frequency is fixed by the constructor usually at 40 khz. IR receiver filters all the source of light except the the 40Khz IR signal. It all starts by generating the 40 Khz pulses of electricity that are fed to an IR LED, emitting 40Khz pulses of Infra Red light. A weaker signal but with the same frequency is reflected from an eventual obstacle to the IR receiver, it passes through the IR-PASS filter, which will eliminate other sources of light which are not IR (visible light). The IR-PASS filter still detects a lot of noise due to other sources of IR light like the sun for example, so the signals received by the diode are fed to another stage composed of an active filter to select the 40Khz IR signals among all others, amplify it and demodulate it, providing a clean logic output (5 or 0 volts).

Sunrom Technologies

Your Source for Embedded Systems

Visit us at www.sunrom.com