Octopus PIR sensor Brick

From ELECFREAKS-WIKI
Jump to: navigation, search

Introduction

OCTOPUS PIR Sensor module is a type of electronic building block based on AM412 pyroelectric digital smart sensor. It can be used in sensing and detection of human or animal motion, sensing distance is about 4-5 meters.

PIR-1.jpgPIR-2.jpgPIR-3.jpg

Model: EF4055

Features

  • Power supply 5V
  • Digital signal processing(DSP)
  • Power adjustable,save more energy
  • Two-way differential high impedance sensor input
  • Built-in filter, screen the interference by other frequency
  • Excellent power supply rejection, Insensitive to RF interference Schmidt REL output
  • Low voltage,low power consumption, instantaneous settling after power up
  • Working temperature -25 ~ 85℃
  • Size: 32.00mm×24.00mm

Schematic

Octopus PIR sensor Brick sch.jpg


未标题-1.jpg

Mechanic Dimensions

PIR-PCB.jpg

Usage

  • 3P buckled wires connector

Soil-OB-07.jpg


Hardware Installation

PIR-connection.jpg

Programming

Includes important code snippet. Demo code like :

<syntaxhighlight lang="php">

// # Description: // # The sketch for using the PIR Motion sensor with Arduino/Raspberry Pi controller to achieve the human detection feature.

// # Hardware Connection: // # PIR Sensor -> Digital pin 2 // # Indicator LED -> Digital pin 13 // #

byte sensorPin = 2; byte indicator = 13;

void setup() {

 pinMode(sensorPin,INPUT);
 pinMode(indicator,OUTPUT);
 Serial.begin(9600);

}

void loop() {

 byte state = digitalRead(sensorPin);
 digitalWrite(indicator,state);
 if(state == 1)Serial.println("Somebody is in this area!");
 else if(state == 0)Serial.println("No one!");
 delay(500);

}

</syntaxhighlight>

Example

The projects and application examples.


OB.jpg

Soil-OB-06.jpg



SHD IOE01 6.jpg


PushButtonS-07.jpg

Version Tracker

Revision Descriptions Release
v0.9b Initial public release date

Bug Tracker

Bug Tracker is the place you can publish any bugs you think you might have found during use. Please write down what you have to say, your answers will help us improve our products.

Resources

How to buy

Click here to buy:http://www.elecfreaks.com/estore/pir-sensor-brick.html

See Also

Other related products and resources.

Licensing

This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are

licensed under GPL/LGPL, see source code files for details.

External Links

Links to external webpages which provide more application ideas, documents/datasheet or software libraries