Pir sensor kiya hai aur kaise kaam karta hai - in hindi

PIR Sensor - motion  sensor controller - sens your motion

PIR Sensor ek aisa device hai jo THERMAL RADIATION detect karta hai  - isse ham HOME AUTOMATION , SECURITY , COUNTING aur aise jagah use kar sakte hai jaha human ya animal ke aane ki activity ko sens kar ke pir ke thru output le sakte hai




PIR SENSOR - 




arduino work -



Description -  arduino ek open source device yani ek khali brean hai jisse ham programing kar ke kai tarah ke digital activity karwa sakte hai
Adriuno ke bare me adhik janne ke lie - [ Click here ]

Example-

Jaise hamne is PIR SENSOR ko ek kamre me laga dia thik hai
Ab ham isse kai kamo me use kar sakte hai jaise 
1.room me kitne aadmi visit kie ,  
2. room me kisi human animal ke aate hi light off/on karwa sakte hai 
3. Security alarm me bhi use kar sakte hai
4. Air conditioning using for air flow

1. Ham is pir sensor ko arduino ke sath conect kar ke uske bad ham arduino me programing karenge (programing download link apko google pe mil jaegi)
Ab ham arduino ko apne room me laga lenge iske baad pir sensor jo activity data adriuno ko send karega wo hame mil jaegi isse ham ye jaan sakte hai ki hamare room me kitni baar human/animal visit kiye hai

Adriuno conect pir


2. Light off/on
Jaisa ki aap jante hai PIR SENSOR (THERMAL RADIATION) Human/animal activity ko detect karta hai jisse koi human/animal PIR SENSOR ke Range me aata hai to PIR SENSOR Adriuno ko (1 HIGH) send karega ab arduino Relay drive jisse hamra koi light juda hoga use signal bhejega or wo on/ off ho jaega (isme ham DC/AC use kar sakte hai)




3. Security Alarm - ham ise is tarah programming karenge ki iske range me koi human/animal body aega ye arduino me connect buzzer ko on kar dega jisse hame pata chal jaega ki room me koi enter kiya hai



4. Air conditioning me apne ise dekha hoga ye ac me human body ko detect kar ke apne air flow ko human body ke taraf move kar deti hai jisse hame bar bar ac ko remote se adjust nhi karna parta



Programing - 

Pehle arduino ko ek data cable se apne pc me conect kare uske bad arduino ke software ko open kare aur ye code copy kar ke paste kare

Code


/*  
    Arduino with PIR motion sensor
    For complete project details, visit: http://RandomNerdTutorials.com/pirsensor
    Modified by AK TECH SUPPORT based on PIR sensor by Limor Fried
*/
 
int led = 13;                // the pin that the LED is atteched to
int sensor = 2;              // the pin that the sensor is atteched to
int state = LOW;             // by default, no motion detected
int val = 0;                 // variable to store the sensor status (value)

void setup() {
  pinMode(led, OUTPUT);      // initalize LED as an output
  pinMode(sensor, INPUT);    // initialize sensor as an input
  Serial.begin(9600);        // initialize serial
}

void loop(){
  val = digitalRead(sensor);   // read sensor value
  if (val == HIGH) {           // check if the sensor is HIGH
    digitalWrite(led, HIGH);   // turn LED ON
    delay(100);                // delay 100 milliseconds 
    
    if (state == LOW) {
      Serial.println("Motion detected!"); 
      state = HIGH;       // update variable state to HIGH
    }
  } 
  else {
      digitalWrite(led, LOW); // turn LED OFF
      delay(200);             // delay 200 milliseconds 
      
      if (state == HIGH){
        Serial.println("Motion stopped!");
        state = LOW;       // update variable state to LOW
    }
  }
}



View Raw Code

Purchase details - 

Ye sab apko online ya offline market me mil jaega iski kimat bahut kam hai 70 - 200 ke bich iska online price hai agar aap apne local market se purchase karte hai to aur bhi kam price me mil sakta hai


Sahayta, sujhav ya kisi bhi question ke lie comment ya email kare 

Please share your friends and support.

0/Post a Comment/Comments

हमे Comment कर के Motivate करें

Previous Post Next Post