I am trying to automate my rooms' ceiling fan using an arduino and pir sensor.
Now the problem is that the pir sensor only sends a high signal if it detects a heat radiating source is moving.
This means that fan won't work while I'm sleeping.
As I can't find a variant of pir sensor that doesn't have comparator in it, so some one suggested me to bypass the comparator.
Has anyone tried doing this? Is there a better way to achieve my goal? Is there a sensor exists which I don't know of which performs the same function as pir sensor but gives continous output on just detecting a heat source ?
Do a search for "human presence sensor" or "occupancy sensor" on this forum, it's a question that comes by time and again. Over the years there have been several threads with several solutions.
Indeed it's not something I'd call a "solved problem".
Maybe a CO2 detector is the best option, if you can find one that's accurately enough.
I am trying to automate my rooms' ceiling fan using an arduino and pir sensor.
Now the problem is that the pir sensor only sends a high signal if it detects a heat radiating source is moving.
This means that fan won't work while I'm sleeping.
Passive IR sensors only can detect changes in radiant heat falling upon them.
As I can't find a variant of pir sensor that doesn't have comparator in it, so some one suggested me to bypass the comparator.
Normally they have a threshold and time delay circuit to prevent false triggers due to signal noise - if you
bypass these you have to deal with the drift and noise yourself.
Has anyone tried doing this? Is there a better way to achieve my goal? Is there a sensor exists which I don't know of which performs the same function as pir sensor but gives continous output on just detecting a heat source ?
A thermal camera will detect static heat sources, and you can subtract the background too, but then you'll have the equally thorny problem of distinguishing one heat source from another, human, sunlight, fire, lightbulb reflections....