Read the statement by Michael Teeuw here.
-
This post is deleted! -
i have bought a sensor.
This is not a troubleshooting post. I want only know how to connect it.
Please add this to the description.
Three wires from the sensor and to which raspi port? -
@fox pop the plastic dome off and you’ll see the labeling. I believe the middle pin is the digital output and the ground and 5V power are on the outside.
-
@Them-Russians said in PIR-Sensor - put your mirror to sleep if not used:
@fox pop the plastic dome off and you’ll see the labeling. I believe the middle pin is the digital output and the ground and 5V power are on the outside.
The sensor is labeled. But on which pin on the raspi? Have i missed something in the module how-to?
-
@fox You define the pin in the config.js file.
Make sure you sue the GPIO pin number, and not the generic pin number.
For instance, in the pin diagram the pin 1 down from the top left is GPIO pin 2, but regular pin 3. In the config file, you would define it a SensorPIN = 2.
-
@Them-Russians said in PIR-Sensor - put your mirror to sleep if not used:
@fox You define the pin in the config.js file.
Make sure you sue the GPIO pin number, and not the generic pin number.
For instance, in the pin diagram the pin 1 down from the top left is GPIO pin 2, but regular pin 3. In the config file, you would define it a SensorPIN = 2.
Thank you very much. I understood.
Does someone control this with a timeout? Or when switches the script the HDMI Port off? Perhaps some want x minutes to be shown?Edit. I am a noob. I just have to adjust the delay knob on the PIR-Sensor PCB :)
-
Love this Module, thanks.
I’m a noob and looking for some assistance to add a delay to turn off the display. Ideally the display would turn off 30 seconds after the last detected movement. Any help would be greatly appreciated.
-
I originally wasn’t going to use this module, but it seems pretty cool, so I’ll try. I, however, have no clue how to physically connect the raspberry pi to the PIR sensor without a breadboard. I understand that I must specify the GPIO pins I connect to in the config file, but that will only help me if I figure out how to connect everything (soldering?). Could someone help me? I’m completely new to motion detection. :dizzy_face:
-
@AAPS
(Raspi 3)
Just connect the PIR sensor Pins with three of these connector cables (female on both sides) directly to the GPIO pins on the PI, without soldering.
You need to know the pin assignments of your PIR sensor. I used:
(4) +5V
(6) GND (ground)
(32) GPIO12
i think you can also use (15) instead of my (32) then you don’t need to change the pin in the config file.
Hope that helps.
-
@Morningstar Thanks! Where could I buy everything? Amazon?