Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com



Similar documents
Web Site: Forums: forums.parallax.com Sales: Technical:

Web Site: Forums: forums.parallax.com Sales: Technical:

XBee USB Adapter Board (#32400)

Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977) 4 rows x 20 characters Backlit (#27979)

Web Site: Forums: forums.parallax.com Sales: Technical:

INFRARED PARTS MANUAL

A Guide to IR/PIR Sensor Set-Up and Testing

Chapter 4: Pulse Width Modulation

Ultrasonic Distance Measurement Module

Automated Intelligent Power Saving System and Security System

ServoPAL (#28824): Servo Pulser and Timer

PASSIVE INFRARED INTRUSION DETECTOR PASSIVE INFRAROOD DETECTOR DETECTEUR D INTRUSION PASSIF INFRAROUGE

AN ESTIMATION OF A PASSIVE INFRA-RED SENSOR'S PROBABILITY OF DETECTION

90 Degree PIR Wireless Security Sensor. Installation Instructions 5420/90F

DEPARTMENT OF ELECTRONICS ENGINEERING

PowerAmp Design. PowerAmp Design PAD135 COMPACT HIGH VOLATGE OP AMP

Motion Detector 360 Degrees 5420/360. Installation Instructions REGISTERED DESIGN REGISTERED PATENT

Brushless DC Motor Controller Product Specification Assembly 025F0129

Passive Infrared Motion Detector 5420/90. Installation Instructions

Model 201 Wiegand Touchpad Reader Installation Guide

DMX-K-DRV. Integrated Step Motor Driver + (Basic Controller) Manual

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence :

MicroMag3 3-Axis Magnetic Sensor Module

Commander 2000 Control Panel

Cold-Junction-Compensated K-Thermocoupleto-Digital Converter (0 C to C)

DIRECTION SENSING INFRARED MOTION DETECTOR MANUAL

AN2680 Application note

Lab Experiment 1: The LPC 2148 Education Board

DUAL SENSING DIGITAL THERMOSTAT PRODUCT INSTRUCTIONS. Construction Automotive Industry

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

Wireless Security Camera

ABB Drives. User s Manual HTL Encoder Interface FEN-31

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Advanced Data Capture and Control Systems

Description of High Accuracy Digital Pressure Gauge Design

Analog Servo Drive 25A8

ULC Technology: High-performance gate array package using multiple metal layer CMOS technology featuring sub-micron channel lengths (0.

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

GSM Controller BR160GM-Gate

INPUT/OUTPUT MODULE CONVERT INPUTS AND OUTPUTS TO WIRELESS

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall Work in teams of two!

MANUAL FOR RX700 LR and NR

Digital To Analog Converter with Sine Wave Output

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

UniPi technical documentation REV 1.1

F2400 FOM II Series Fiber Optic Modem Technical Manual

Model: DC-A2IO Advanced HVAC Controller

T0118 T2118 T3118. Instruction Manual

AN4368 Application note

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

Electronic Brick of Current Sensor

RFID MODULE Mifare Reader / Writer SL025B User Manual Version 1.4 Nov 2012 StrongLink

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

RPLIDAR. Low Cost 360 degree 2D Laser Scanner (LIDAR) System Development Kit User Manual Rev.1

EZmoto V2. Product description Rev. 6 10/01/2014. EZmoto V2 Product description Rev.6 10/01/2014

PICAXE COLOUR SENSOR. revolution. Overview: Contents (AXE045 Colour Sensor): Contents (AXE112S Starter Pack): General Operation:

GSM Autodialer Professional GJD700 Speech & Text Autodialer

Microcontroller-based experiments for a control systems course in electrical engineering technology

Talon and Talon SR User Manual

OLF500: High CMR, High-Speed Logic Gate Hermetic Surface Mount Optocoupler

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01

PRT3 Printer Module: ASCII Protocol Programming Instructions

=============================== WARNING

etape Continuous Fluid Level Sensor Operating Instructions and Application Notes

RDF1. RF Receiver Decoder. Features. Applications. Description. Ordering Information. Part Number Description Packages available

AXE033 SERIAL/I2C LCD

3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2

TS321 Low Power Single Operational Amplifier

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

9448 Installation and User Guide

Isolated AC Sine Wave Input 3B42 / 3B43 / 3B44 FEATURES APPLICATIONS PRODUCT OVERVIEW FUNCTIONAL BLOCK DIAGRAM

SD21-21 Channel Servo Driver Module Power Servo's

8 by 8 dot matrix LED displays with Cascadable Serial driver B32CDM8 B48CDM8 B64CDM8 General Description

- 35mA Standby, mA Speaking pre-defined phrases with up to 1925 total characters.

MOTION SENSOR PIR LIGHT SWITCH INSTALLATION & OPERATING. Cat No. ZV810 INSTRUCTIONS

USB-500/600 Series Low-Cost Data Loggers and Accessories

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

ABACOM - netpio.

IR Communication a learn.sparkfun.com tutorial

Android based Alcohol detection system using Bluetooth technology

Basic DC Motor Circuits. Living with the Lab Gerald Recktenwald Portland State University

WEA-Base. User manual for load cell transmitters. UK WEA-Base User manual for load cell transmitters Version 3.2 UK

Basic DC Motor Circuits

PIR Motion Sensor. Created by Ladyada. Last updated on :15:25 PM EST

DRS-6/1 Doppler Radar Sensor

SMART SENSOR COLLECTION

Infrared Remote Control Receiver Module IRM-2638T

DATENBLATT USB-DIO32HS USB-DIO32HS-OEM. HABEN SIE FRAGEN ODER WÜNSCHEN SIE EIN INDIVIDUELLES ANGEBOT? Unser Team berät Sie gerne persönlich.

Arduino Motor Shield (L298) Manual

SC728/SC729. 2A Low Vin, Very Low Ron Load Switch. POWER MANAGEMENT Features. Description. Applications. Typical Application Circuit SC728 / SC729

DATA SHEET. TDA1543 Dual 16-bit DAC (economy version) (I 2 S input format) INTEGRATED CIRCUITS

AP331A XX G - 7. Lead Free G : Green. Packaging (Note 2)

Gripper Kit for the Boe-Bot Robot (#28202)

Adding Heart to Your Technology

How to use the OMEGALOG software with the OM-SQ2010/SQ2020/SQ2040 Data Loggers.

Automation System TROVIS 6400 TROVIS 6493 Compact Controller

Transcription:

Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267 PIR Sensor (#555-28027) The PIR (Passive Infra-Red) Sensor is a pyroelectric device that detects motion by sensing changes in the infrared (radiant heat) levels emitted by surrounding objects. This motion can be detected by checking for a sudden change in the surrounding IR pattern. 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 an external load; see the source current limits in the features list below. NOTE: Revision B of this sensor provides many updates and improvements from Revision A. If your PIR Sensor s PCB does not read Rev B, please use the information found in the Revision History section on page 5. Features Detect a person up to approximately 30 ft away, or up to 15 ft away in reduced sensitivity mode Jumper selects normal operation or reduced sensitivity Source current up to 12 ma @ 3 V, 23 ma @ 5 V Onboard LEDs light up the lens for fast visual feedback when movement is detected Mounting holes for #2 sized screws 3-pin SIP header ready for breadboard or through-hole projects Small size makes it easy to conceal Easy interface to any microcontroller Key Specifications Power Requirements: 3 to 6 VDC; 130 µa idle, 3 ma active (no load) Communication: Single bit high/low output Operating temperature: 32 to 122 F (0 to 50 C) Dimensions: 1.41 x 1.0 x 0.8 in (35.8 x 25.4 x 20.3 cm) Application Ideas Motion-activated nightlight Alarm systems Holiday animated props Copyright Parallax Inc. PIR Sensor (#555-28027) v2.2 6/13/2012 Page 1 of 5

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 energy. The changes in the amount of infrared energy striking the element change the voltages generated, which are measured by an on-board amplifier. The device contains 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 onboard jumper allows the user to select between normal operation and reduced sensitivity. The sensitivity of the PIR Sensor varies with temperature and other environmental conditions. Generally, when in reduced sensitivity mode, the PIR sensor will detect an object at up to half the distance it would in normal operating mode. For more information, see the Range section below. Range The PIR Sensor s range is affected by: The sensitivity jumper setting The size and thermal properties of nearby objects Environmental conditions including ambient temperature and light sources The graph below depicts the approximate effects of known ambient temperatures on the PIR Sensor s detection range of an average adult. The graph below depicts the approximate effects of known temperatures on the PIR Sensor s detection range of an adult. Note: This device is designed for indoor use. Operation outside or in extreme temperatures may negatively affect stability. Direct exposure to sunlight or other forms of radiant heating may cause undesired operation. Copyright Parallax Inc. PIR Sensor (#555-28027) v2.2 6/13/2012 Page 2 of 5

Pin Definitions and Ratings Pin Name Type Function 1 GND G Ground: 0 V 2 Vcc P Supply Voltage: 3 to 6 VDC 3 OUT O PIR signaling; HIGH = movement/low = no movement Pin Type: P = Power, G = Ground, I = Input, O = Output Jumper Settings Symbol S L Description Reduced sensitivity mode, for a shorter range, about 15 feet maximum Normal operation, for a longer range, about 30 feet maximum Quick-Start Circuit Calibration 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 up to 40 seconds. During this time, the LEDs under the lens will be on and there should be as little motion as possible in the sensors field of view. Module Dimensions Copyright Parallax Inc. PIR Sensor (#555-28027) v2.2 6/13/2012 Page 3 of 5

BASIC Stamp Example Code This program will display the current state of the output pin from the PIR Sensor connected to P0 using the Debug Terminal. The Debug Terminal is built into the BASIC Stamp Editor software. The software is a free download from www.parallax.com/basicstampsoftware. ' PIR_Simple.bs2 ' Displays the current state of the PIR Sensor connected to P0 ' {$STAMP BS2} ' {$PBASIC 2.5} PAUSE 40000 DO DEBUG HOME, BIN1 IN0 PAUSE 100 LOOP ' PIR warm-up time ' Display state of P0 ' Small Delay ' Repeat Forever Propeller P8X32A Example Code Note: This application uses the Parallax Serial Terminal to display the device output. The object and the Parallax Serial Terminal itself are included with the Propeller Tool v1.2.7 or higher, which is available from the Downloads link at www.parallax.com/propeller. '' PIR_Simple.spin '' Displays the current state of the PIR Sensor connected to P0 CON _clkmode = xtal1 + pll16x _xinfreq = 5_000_000 ' Setting Clock Mode to Crystal 1 with 16 multiplier ' Propeller set to run at 80MHz VAR byte state ' Declare variable state to store PIR output OBJ pst : "Parallax Serial Terminal" PUB PIR dira[0]~ pst.start(115200) waitcnt(clkfreq * 40 + cnt) pst.clear repeat state := ina[0] pst.home pst.str(string("in0 = ")) pst.bin(state, 1) waitcnt(clkfreq/200 + cnt) ' Public Method name PIR ' Set pin 0 to input ' Start Parallax Serial Terminal at 115200 baud ' PIR "warm-up" time ' Clear the screen ' Save state of PIR Sensor ' Move cursor to position(0,0) ' Display state ' Small delay Copyright Parallax Inc. PIR Sensor (#555-28027) v2.2 6/13/2012 Page 4 of 5

Revision History The information that follows contains revision history for the PIR documentation. V 2.0: PIR Sensor Rev A Both revisions of this sensor use the same Fresnel lens, and basic functionality remains the same between the two (for example you can use the same test programs). However, there were a number of improvements and updates made to Revision B, and if using Revision A in your project the following information should be noted and used. Features Detection range up to 20 feet away Single bit output Jumper selects single or continuous trigger output mode 3-pin SIP header ready for breadboard or through-hole project Small size makes it easy to conceal Compatible with BASIC Stamp, Propeller, and many other microcontrollers Key Specifications Power Requirements: 3.3 to 5 VDC; >3 ma (may vary) Communication: Single bit high/low output Operating temperature: 32 to 122 F (0 to 50 C) Dimensions: 1.27 x 0.96 x 1.0 in (32.2 x 24.3 x 25.4 mm) Key Differences Jumper setting controls triggering and not distance Driving an external load requires a transistor or MOSFET Detection range up to 20 ft away Pin Definitions and Ratings Pin Name Function - GND Ground: 0 V + Vin Supply Voltage: 3 to 6 VDC OUT Output Connect to I/O pin set to INPUT mode (or transistor/mosfet). Jumper Settings Symbol H L Description Output remains HIGH when sensor is retriggered repeatedly. Output is LOW when idle (not triggered). Output goes HIGH then LOW when triggered. Continues motion results in repeated HIGH/LOW pulses. Output is LOW when idle. V 2.1: The explanation of the sensitivity jumper setting have been updated throughout, and the Range section, including a temperature vs. range graph, were added. V 2.1: Added information for load current to Features and Specifications. Copyright Parallax Inc. PIR Sensor (#555-28027) v2.2 6/13/2012 Page 5 of 5