Occupancy Sensor - Still no solution

Hi,
I went through many post but still there is no solution of occupancy sensor while person sleeping, sitting or occupying rest room.

I tried PIR and Microwave radar (Chinese made factory made) but it cannot detect slight movements.

I am planning home automation and looking for sensor which can detect slight movement. Please share your experiences.

when at first you don't succeed.....

read X/Y Problem

then tell us what your GOAL is, not the parts you want to use.

I was in HVAC for a few years and an simple CO2 sensor can tell if a human is in the space by the elevated levels of CO2.

but, since you have only focused on detecting movement... that is useless information.

Hi
Purpose is Home automation, needs to close energy of room if someone is not in room including rest room.

rooms are large, are you sure CO2 will work coz it will take time to reach threshold.

the level of CO2 is dependant on a few things. but the room level will be elevated with occupancy.

This has been used by building automation companies for decades.

if you have a motion detector, that will react qucikly. but, once you stop moving, you are still expiring CO2 so the room level will increase
the level will be dependent on the HVAC system, if it is forced air, then the level will be lower than if it is floor or baseboard heaters.

Co2 wont be reliable if windows are open or fans are running but this option is better and can be used with "AND" Rule.

Still looking for reliable solution.

Consider using the Grid-Eye 8x8 pixel thermal imaging camera to detect heat sources, like humans.

I recall having seen a "human detector" on Sparkfun recently. Maybe that is suitable for your project.

Another option: break beam sensors in the doorways (to see if anyone passes), plus motion detectors inside the room.

The break beam sensor tells you if someone is in the doorway (going in, going out, or just standing there trying to remember which way they were going - doesn't matter).

Then you have a motion detector in the room. If you detect motion in the room the break beam sensor is not triggered any more, someone is in the room. Even if you stop detecting motion, that someone is still in the room. Only if your break beam sensor is triggered again (someone in the doorway) you have to check for motion.

If there could be more than one person in the room that still won't work very reliably though - the remaining person may be so motionless that the motion detector thinks there's no-one left.

Try a sensor like this

Output is a relay closure. Wire it up same as a button press; pullup resistor, relay closure to connect the input pin to Gnd.

Since the 60's ultrasonic detection has been used in big stores when no one is inside. I know because I could hear it, they'd leave the sound on all the time at the Darien Bradlees. I got the manager to turn it off once.

It works by sending out LOUD ultrasonic waves and reading the interference pattern that returns. Any change causes alarm. The sound frequency determines how small a move will be detected.

Who will sit completely motionless in a bathroom stall for how long?

Put a regular ping sensor in the ceiling and get empty stall distance recorded. If someone is in the stall with a fuzzy hat or soft hair the sensor will read max range/timeout for no ping return. If they make a return, the distance will be shorter than the floor or seat it usually bounces off.

Please share your experiences.

I have never seen a commercial system that can get this right and I have seen plenty of tries.

I is one of those things that sounds like it should be possible but so far I believe it is not.

As I have got older, and I first worked with microprocessors in the late 70s, I realise that whilst I may think I have the odd clever idea that no-one has thought about before, I then appreciate that several zillions of other people have probably also had the same clever idea.

So when there is no apparent (low cost) solution to an 'Occupancy Sensor' just maybe its possible that there is no solution.

"and" "or" "if" would seem to be the approach with many sensors but then what if the occupant carked it?

You would have to cover every possibility and even then I think you would find there are some you didn't think of.

it is not so much the sensors, but more the requirements for operations.
a sleeping person will not move to set off a sensor
a TV or computer will generate a heat signature
in the large 50m x 50m space, how to you monitor all sections?
when the space has walls, or partitions, then the number of sensors and types of sensors has to increase to cover the large space and the small spaces.

OP talks about "sitting, sleeping, using the rest room". Three different things, and at least two different rooms. One small room (an ultrasound sensor should do the job just fine), one much bigger.

For the bigger room you will need a combination of sensors such as motion detectors, heat detectors and/or CO2 detectors. Known heat sources (such as TVs) could be filtered out by simply detecting whether they're switched on or not. CO2 detectors of course will react slow and are affected by windows - sensors on the large windows can tell that they're open so you know the CO2 doesn't work. A window opening or closing, or a TV being switched on or off, can be used as yet another way to tell that there's someone in the room.

To check whether a person is using a chair or a bed, a weight sensor should work quite well. Unless it's a very small person, a 10 kg minimum would take care of most stray objects placed on the chair/bed.

You're going to need an array of sensors, and that way I believe you will get pretty good reliability. There will always be ways to fool the sensors, but those will more and more be only deliberate actions and not normal behaviour.