Modifications

Sauter à la navigation Sauter à la recherche
406 octets ajoutés ,  30 avril 2012 à 11:08
Ligne 2 : Ligne 2 :     
== Montage ==
 
== Montage ==
 +
 +
Connecting PIR sensors to a microcontroller is really simple. The PIR acts as a digital output so all you need to do is listen for the pin to flip high (detected) or low (not detected).
 +
 +
Its likely that you'll want reriggering, so be sure to put the jumper in the H position!
 +
 +
Power the PIR with 5V and connect ground to ground. Then connect the output to a digital pin. In this example we'll use pin 2.
 +
 
[[Fichier:PirSensorArduino.jpg]]
 
[[Fichier:PirSensorArduino.jpg]]
  
29 836

modifications

Menu de navigation