Difference between revisions of "Passive Infrared Sensor"

From Microduino Wiki
Jump to: navigation, search
Line 15: Line 15:
  
 
*Other Hardware Equipment  
 
*Other Hardware Equipment  
**USB cable   One
+
**1x USB cable
  
 
==Program==
 
==Program==
Line 24: Line 24:
  
 
Step 1:  
 
Step 1:  
Plug the pyroelecctric infrared radial sensor to the D10 of Microduino-Sensorhub and Microduino-BUZZER to D5.  
+
Plug the passive infrared sensor into D10 of [[Microduino-Sensorhub]] and [[Microduino-BUZZER]] to D5.  
  
 
[[File:MicroduinoPersonIR.png|600px|center|thumb]]
 
[[File:MicroduinoPersonIR.png|600px|center|thumb]]

Revision as of 06:21, 6 September 2015

Objective

This tutorial shows you the way to use Micorduino pyroelecctric infrared radial sensor.

Equipment


  • Other Hardware Equipment
    • 1x USB cable

Program

[MicroduinoPIR]

Debugging

Step 1: Plug the passive infrared sensor into D10 of Microduino-Sensorhub and Microduino-BUZZER to D5.

MicroduinoPersonIR.png


Step 2: Connect USB to your PC, download the code and program it to Microduino-CoreUSB.

MicroduinoPersonIR1.png


Step 3: When the sensor detecsts human activity, the buzzer goes on.

MicroduinoPersonIR2.png


Step 4: The buzzer goes off when there is no detection.

MicroduinoPersonIR3.png


Result

You can use Microduino pyroelecctric infrared radial sensor to control a buzzer and make sound.

Video