In this Blog, We going to completely learn about, How to Interface PIR Sensor with Arduino.?

1. A passive infrared sensor (PIR sensor) is an electronic sensor that measures infrared (IR) light radiating from objects in its field of view. They are most often used in PIR-based motion detectors.

2. A few sensors, for example, the PIR, have a jumper that decides how the yield acts when movement is recognized. In one mode, the yield stays HIGH while movement is identified, or it can be set so that the yield goes HIGH quickly and after that LOW when activated. The connection diagram is shown.            

PROGRAM:

#include<LiquidCrystal.h>

LiquidCrystal lcd(2,3,4,5,6,7);

void setup() {                                                                    

  // put your setup code here, to run once:

pinMode(9,INPUT);                           

pinMode(13,OUTPUT);

Serial.begin(115200);

lcd.begin(16,2);

lcd.clear();

lcd.SetCursor(0,0);

lcd.print(“welcome”);

}

void loop() {

  // put your main code here, to run repeatedly:

if(digitalRead(9)==HIGH)

{

digitalWrite(13,HIGH);

  Serial.print(“sensor detected”);

lcd.clear();

lcd.SetCursor(0,0);

lcd.print(“sen detected”);

delay(1000);}

else

{

  digitalWrite(13,LOW);

  Serial.print(“sensor not detected”);

lcd.SetCursor(0,1);

lcd.print(“not detected”);

delay(1000);

}

}

 Thanks & Regards

POWER INTEGRATED SOLUTIONS

No:10A/3,Radhakrishna Colony,

Sasthri Road, Thennur, Trichy-17.

Mail to: powerintegratedsolutions@gmail.com 

 Visit to:www.powerintegrated.in

Call us: 0431-4340778 / 7639385448 / 9566377454.

http://powerintegrated.in/

Power electronics-ECE projects-EEE projects-buck –boost –fly back –converters-‘push-pull’ converters-microcontroller-embedded-VLSI- FPGA based power electronics- multilevel inverters-inverters-converters-led bulbs-led street- light-manufacture-mini projects- SMPS –  engineering –polytechnic projects-innovation projects-embedded course- course-real time training-development training-industrial electronics – power system projects-power systems-–MATLAB –Simulink tools-using-power electronics-trichy projects center-course training- institute-grid power system –solar based projects- sepic converter-resonant converter-AC to DC converter – photovoltaic – thyristors – MOSFET- design- power converters-power inverters –grid systems- power distribution systems-isolated converters-non isolated converters- transformer less converters-electrical projects-electrical design-series inverters-parallel inverter-dual  converter-step up step down converters-ac regulator- cycloconverter -UPS-VFD drives-power supply-DIAC –TRIAC-IGBT-SCR-controlled –diode
http://powerintegrated.in/
#project centre in trichy #Home Automation in trichy.#Water Tank Automation in trichy.#embedded systems training in trichy.

#pcb design in trichy.levelinverterH-bridge multilevel inverter.cascaded multilevel inverter.inplanttraininghttp://powerintegrated.in/traininginfo.htmlhttp://powerintegrated.in/index.htmlhttp://www.powerintegrated.inEMF Electromagnetic Induction Magnetic Coil EEE principles Electromagnetic law. http://powerintegrated.in/ final year projectsfinal year projects Projects 2018-2019 Trichy Chennai Kumbakonam EEE ECE CSE MECH final year projects in trichyfinal year projects in tanjoreproject componentslow rate projects in trichylow rate final year projects.IEEE Projects 2018-2019 Trichy Chennai Kumbakonam EEE ECE CSE MECH project center in trichy IEEE Project Centers IEEE Project Centre in Trichy/chennai/kumbakonam Embedded systems projects in Trichy/chennai/kumbakonam Power Electronics Projects in Trichy/chennai/kumbakonam IEEE 2018-2019 Projects. #IEEE Projects 2018-2019 Power Integrated IEEE 2018 Embedded systems projects IEEE 2018 power electronics projects IEEE IOT projects IEEE arduino projects IEEE microcontroller projects IEEE robotics projects ieee power system projects best project center in trichy motor projects in trichy