Multisensor PIR based on IKEA Molgan
-
I put a more complete write up of my mod from the previous post on my blog including the link to the sketch.
-
@tomkxy Nice write up of the "conversion". One remark to save some time... instead of removing R12 to R16 you can just remove R17 ... same result less effort.
-
-
-
@tomkxy Nice write up! Do you have an idea on the accuracy of the humidity sensor within the case?
-
@tomkxy did you really need the voltage divider? I think the sensebender does a decent job of measuring battery percentage by default.
-
@tomkxy Nice write up! Do you have an idea on the accuracy of the humidity sensor within the case?
-
I just realized that I see a lot of false triggers. Anybody else having that experience? Any idea how sensitivity of the PIR can be reduced?
@tomkxy You can change the sensitivity of the PIR. You have to change the value or R15. See here for a datasheet of the BISS001
But I do not know whether you should increase or decrease it...?
If you did not modify your PIR then the PIR will stay high for 30 SEC. What is the period between the false triggers?
Could it have to do with powering your sensebender from the powersource within the PIR and not directly from the battery? -
@tomkxy You can change the sensitivity of the PIR. You have to change the value or R15. See here for a datasheet of the BISS001
But I do not know whether you should increase or decrease it...?
If you did not modify your PIR then the PIR will stay high for 30 SEC. What is the period between the false triggers?
Could it have to do with powering your sensebender from the powersource within the PIR and not directly from the battery?@dynamite I see no clear pattern for the false triggers. Most of the time it is after about 7 minutes. But not strictly. Sometimes more than a half hour.. Well if I would power the sense bender directly from the battery I either would have to use a regulator or remove one of the batteries. Would the PIR still work reliable with about 2.4V? Would it make sense to try a capacitor between the 3V where I power the sense bender from to ground?
-
@dynamite I see no clear pattern for the false triggers. Most of the time it is after about 7 minutes. But not strictly. Sometimes more than a half hour.. Well if I would power the sense bender directly from the battery I either would have to use a regulator or remove one of the batteries. Would the PIR still work reliable with about 2.4V? Would it make sense to try a capacitor between the 3V where I power the sense bender from to ground?
-
@dynamite I see no clear pattern for the false triggers. Most of the time it is after about 7 minutes. But not strictly. Sometimes more than a half hour.. Well if I would power the sense bender directly from the battery I either would have to use a regulator or remove one of the batteries. Would the PIR still work reliable with about 2.4V? Would it make sense to try a capacitor between the 3V where I power the sense bender from to ground?
-
@tomkxy you can just use 3 batteries to power the pir and only 2 to power the atmega and radio. Just c
Use the same ground on them, and tap the arduino power after the second battery.
I have some pirs running this way and they work just fine! -
@Yveaux @dynamite Thanks for your suggestion. I followed @Yveaux suggestion and tapped the power for the sensebender after the second battery. It is now working for 2 hours without any false triggers. I will continue the test (for test purposes the sensor is sitting in a room with usually has no movement).
-
@Yveaux @dynamite Thanks for your suggestion. I followed @Yveaux suggestion and tapped the power for the sensebender after the second battery. It is now working for 2 hours without any false triggers. I will continue the test (for test purposes the sensor is sitting in a room with usually has no movement).
-
@Yveaux Unfortunately, I still get false triggers. Do you also use a sensebender? Any ideas, what I can try. I tapped into as you suggested to the second battery.
@tomkxy I have some ProMini's (8Mhz) with regulator bypassed which are 2xAA fed in this way.
The PIRs are HC-SR501's, also with the regulator removed and 3xAA fed.
I haven't tested this setup on the Molgan's yet, but assuming the IC's are both BISS0001 I expect results to be identical.Here's a picture of my setup:

(Btw. components on the HC-SR501 have been moved to the side to decrease the unit's depth)
. I used a Sensebender which is perfect for that use case having already a ATSHA204 and temp/humid sensor on board.