Multisensor_PIR_DHT_LDR_Battery
-
@n3ro Yes, you can. The sleep function has a return value. If it is < 0, timer is timed out. Otherwise it waked up by interrupt.
I'm working on a same multi sensor PCB with batteries. The PIR consumes 150uA. So you can reduce consume if your search a low power PIR sensor. Like this: http://forum.mysensors.org/topic/2387/low-power-pir-breakout-board-for-mysensors-and-evaluation/6
@scalz said it consumes only ~24uA.@icebob hey :) the used pir consumes ~50uA. Since my last modifications I replaced the stepup and the dht with a si7021 sensor and the external pullup with 1m ohm. Now the sleeping current is ~190uA
-
@icebob hey :) the used pir consumes ~50uA. Since my last modifications I replaced the stepup and the dht with a si7021 sensor and the external pullup with 1m ohm. Now the sleeping current is ~190uA
-
Hey Guys,
Today I have completed my first multisensor.As base I used a cheap china fire detectors and the MYS PCB board.
All components fits very well in the housing.
Unfortunately, the modified HC-SR501 do not work well with <= 3V with the DHT (delay in the sketch). Now I use this:
http://www.amazon.de/Niederspannung-PIR-Infrarot-Bewegungssensor-erkennt-Modul/dp/B008EGH3FM/ref=sr_1_1?ie=UTF8&qid=1433801387&sr=8-1&keywords=B008EGH3FMAnd it works very great!
The used Sketch is this:
wiring diagram coming soon;)

-
Great...
Hope this will work for a long time on a battery?
What battery's you are using?1 problem< WHERE CAN I FIND:
#include <readVcc.h> -
Great...
Hope this will work for a long time on a battery?
What battery's you are using?1 problem< WHERE CAN I FIND:
#include <readVcc.h> -
yes i saw your better solution..the si7021 is using less power i read..
Where do i have to place the: long readVcc
And how do ik make that .H file?How long is the multisensor running? on what battery?
-
sorry, it is working now: what do you mean with long readVcc?
I use the sketch battery pir, to testOnly the report of the vcc how many times is the sketch reading this?
And where can i see the status?
I use Domoticz as controller. -
great, i see in domoticz the value great!!!...[ when power is low i get an alert. ]
You have a lot of sketches :-)
Is het possible that you build a sketch include your pir-battery-ldr, and a light switch, or a option so i can switch a ledlight.
Like a pir-battery-ldr-switch... :-)I will try to rebuild a solarpowerlight
With a solar powerbank, and a:LightSo i can have a Domoticz controlled solarpower light and motion/ldr [my]sensor
Only i cannot make a sketch for this... [ if you want, i will pay for it..., or a donation to charity organization ] -
great, i see in domoticz the value great!!!...[ when power is low i get an alert. ]
You have a lot of sketches :-)
Is het possible that you build a sketch include your pir-battery-ldr, and a light switch, or a option so i can switch a ledlight.
Like a pir-battery-ldr-switch... :-)I will try to rebuild a solarpowerlight
With a solar powerbank, and a:LightSo i can have a Domoticz controlled solarpower light and motion/ldr [my]sensor
Only i cannot make a sketch for this... [ if you want, i will pay for it..., or a donation to charity organization ]