Read the statement by Michael Teeuw here.
UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.
-
@Philly From what I see in the picture the soldering seems to be OK, but I’m not sure you wired it correctly on the GPIO. The picture is somewhat blurry, so I can’t recognize it well enough.
The red wire should go to the first right pin, which provides +5V. From the picture it seems to go to the first left pin, which provides only 3.3V.
The black wire seems to go to the second right pin, which also provides +5V. It should go to the third right pin for GND.
Finally, the brown wire appears to go to the third left pin, which is provides a SCL signal (serial clock) and is reserved for I2C. Don’t use that, but the forth left pin, which is a digital I/O.
Please check the wireing again according to my description and adjust also the config.js accordingly.{ module: 'MMM-PIR-Sensor', disabled: false, config: { sensorPin: 4, powerSavingDelay: 30, // (seconds) how long the monitor will be turned on } },
-
@Fozi I rechecked my wires and confirmed they were wired on the correct pins although the picture I sent does look off, the red wire is on the 5v, black is on gnd, and the brown wire is on GPIO pin 7. The config.js is also configured accordingly but when I npm start the Magic Mirror a blank screen continues to show. So I tried using the MMM_PIR module instead and got the same results, a blank screen. Not sure why the sensor’s not working
-
@Fozi
You wrote that you are using a double sensor is that this one?zerodis-HB100-Mikrowelle-Sensor-Modul-Doppler-detecor
-
@Ghost2000 I use this one https://amzn.to/35SEYd3
-
@Fozi
then did you connect two? -
@Ghost2000 no, it is a single sensor. You probably got irritated by the noun „Doppler“. This has nothing to do with double or to similar. The sensor uses an effect which was discovered by the physicist Christian Doppler. See also https://en.m.wikipedia.org/wiki/Doppler_effect
-
eah right, now I see
-
Hi @Fozi ,
just to make sure that I am on the right way:
- Buy a RCWL-0516 module
- Wire the module to my Raspberry Pi 4
- Install @Bugsounet MMM-NewPIR on my MM
That’s it? Or did I miss something?
My MM is not a mirror, more a wall-mounted picture frame with some nice to have information on it. I would like to have the monitor turned off, if nobody is in the room.Thank you,
Christian
-
@MajorC yeah, that are the steps to go. The RCWL-0516 module is a 1:1 replacement of the common IR sensors usually used. MAke sure to follow also the instructions I wrote (see link in my signature).
-
Good morning,
I also used a PIR sensor and obviously, behind the glass it does not work (the glass is 6 mm thick and the back of wood 3 mm), also I do not want it visible as the mirror will be positioned in the bathroom and behind I the power supply, so no wires remain in sight.
At the end of the story I found this topic and I also wanted to change the presence sensor.
I made my purchases as instructed and started testing.
The first test I did without modifying anything, simply connected, installed the MMM-Pir Paviro configured and it immediately started to work.
But I noticed one thing, my sensor is not so sensitive (indeed) I think it depends on those 9 mm total between the size of the mirror and the wooden board, if I move from behind and if I leave it too attached to the tablet wood does not detect anything (it detects only on the back or by moving the mirror from the wall).
I will also try to build a box to keep the sensor a little detached from the wood and let’s see what happens.Any suggestions on this?
In the meantime, thanks to everyone for the advice and good construction with your MM.
Hello