You are on page 1of 3

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

com

Document: Datasheet Date: 5-Jun-10 Model #: 1133 Product’s Page: www.sunrom.com/p-381.html

PIR Motion Sensor Module


Compact and complete, easy to
use Pyroelectric Infrared (PIR)
Sensor Module for human body
detection. Incorporating a Fresnel
lens and motion detection circuit.
High sensitivity and low noise.
Output is a standard 5V active low
output signal.

Module provides an optimized


circuit that will detect motion up to
6 meters away and can be used in
burglar alarms and access control
systems. Inexpensive and easy to
use, it's ideal for alarm systems,
motion-activated lighting, holiday
props, and robotics applications.

The Output can be connected to microcontroller pin directly to monitor signal or a connected to
transistor to drive DC loads like a bell, buzzer, siren, relay, opto-coupler (e.g. PC817, MOC3021),
etc. The PIR sensor and Fresnel lens are fitted onto the the PCB. This enables the board to be
mounted inside a case with the detecting lens protruding outwards.
Features
• Complete with PIR, Motion Detection IC and Fresnel Lens
• Simple 3 connections
• Dual Element Sensor with Low Noise and High Sensitivity
• Supply Voltage: 5V DC
• Standard Active Low Output pin for connecting to microcontroller directly
• Detecting range up to 6 meters
• LED indication
• Module Dimensions: 25mm Length, 32mm Width, 25mm Height
Applications
• Motion-activated nightlight
• Alarm systems
• Robotics & Holiday animated props
Theory of Operation
Pyroelectric devices, such as the PIR sensor, have elements made of a crystalline material that
generates an electric charge when exposed to infrared radiation. The changes in the amount of
infrared striking the element change the voltages generated, which are measured by an on-board
amplifier. The device contains a special filter called a Fresnel lens, which focuses the infrared
signals onto the element. As the ambient infrared signals change rapidly, the on-board amplifier
trips the output to indicate motion.

The PIR (Passive Infra-Red) Sensor is a pyroelectric device that detects motion by measuring
changes in the infrared (heat) levels emitted by surrounding objects. This motion can be detected by
checking for a sudden change in the surrounding IR patterns. When motion is detected the PIR
sensor outputs a high signal on its output pin. This logic signal can be read by a microcontroller or
used to drive a transistor to switch a higher current load.
Warm up time
The PIR Sensor requires a ‘warm-up’ time in order to function properly. This is due to the settling
time involved in ‘learning’ its environment. This could be anywhere from 1-2 Minutes. After this
warm up time, sensor will be ready to use.
Pin Definitions
Pin Name
+5V VCC Power Supply Positive, Connect to +5V DC regulated power supply
OUT Output Connect to I/O pin set to INPUT mode of microcontroller (or transistor/MOSFET).
Output is HIGH when idle (no motion detected). LED is OFF
Output remains LOW when sensor is triggered. LED is ON
GND Ground Power Supply Ground: 0V

Using the Sensor


• Connect regulated DC power supply of 5 Volts. Black
OUTPUT STATE LED STATE
wire is Ground, Next middle wire is Brown which is output
and Red wire is positive supply. These wires are also LED OFF
marked on PCB.
• After powering up, allow startup delay time of 2 minutes
before using the sensor. The sensor output might
become LOW once or twice during this period since it
has to learn about its environment. After 2 minutes, your
sensor is ready for use.
• Preset in sensor is for delay time adjustment, Factory
setting is 2 seconds. It means when a motion is detected,
the sensor will keep output LOW at least for 2 seconds. It
is normally not required to adjust this setting. Just in case LED ON
you need to adjust the delay time, Make note of factory
setting position, in case you have to revert back to original setting.
• 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, means no motion detected.
• Walk in front of 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.

2 Sunrom Technologies Your Source for Embedded Systems Visit us at www.sunrom.com


Range of Operation
The PIR Sensor has a range of approximately 20 feet(6 meters). This can vary with environmental
conditions. The sensor is designed to adjust to slowly changing conditions that would happen
normally as the day progresses and the environmental conditions change, but responds by making
its output high when sudden changes occur, such as when there is motion.

F IGUR E 1 R ANGE OF S EN SOR


This device is designed for indoor use. Operation outside or in extreme temperatures may affect
stability negatively.
Due to the high sensitivity of PIR sensor device, it is not recommended to use the module in the
following or similar condition.
• In rapid environmental changes & strong shock or vibration
• In a place where there are obstructing material (eg. glass) through which IR cannot pass
within detection area.
• Exposed to direct sun light or direct wind from a heater or air condition

Application: Motion Activated Light


The PIR modules produce a
momentary output when they detect a
movement. This momentary output is
not enough if you wish to use these
modules for room lights. The Circuit
proposed here is RC combination with
transistor as a switch.

The RC combination proposed here


should give a ON time of between 7-8
minutes. you can try different values of
RC connected to base of first transistor
to get the desired ON time.

Since this circuit also has a relay which you can use to switch on/off room lights, which also means
dealing with high voltage electricity, you should be very careful while connecting this circuit to Mains
voltage.

3 Sunrom Technologies Your Source for Embedded Systems Visit us at www.sunrom.com