This is a hobby project about home automation. The idea is that of distributed system of cheap microcontrollers that take measurements, communicate, output data and control appliances.
One important task that this system should perform is detect at every room if there are humans inside (awake or asleep distinction would be a over-the-top bonus :) ). I am still at a loss if this is feasible. PIR-s? Webcameras? Microphones? Optical counters at the doors? Ultrasound?
Available processing power per sensor output: 5MIPS of avr instructions (8-bit RISC) for 3 seconds = 15 million instructions.
Typical usage scenario would be:
- The apartment is empty (the system should know that).
- The door opens and a group of 4 people enters the hallway. (the system should know that someone is in the hallway).
- Two go to a room (the system should track their path by room, with a lag of no more than several seconds, plus know that there is still someone in the hallway).
- , one of them returns, the other sits on a chair, (the first one is to be tracked. the system should also know in which room is the sitting person).
- In the meantime the rest two wander randomly in a 2 x 2 meter area in the hallway (taking shoes off, hanging coats) (the system should know they are still in that area).
- One goes to another room, turns the radio on and goes to sleep (the system should know that there is a sleeping person there).
- Someone leaves the apartment and returns 10 minutes later (here the only requirement is that the system know that there are still persons inside).
- The three leave (the system should know that there is still someone inside).
- Much later, the sleeper gets up, wanders around for half an hour and then leaves the apartment (the system should track his position by room with a lag no more than several seconds, and know when he leaves that there is now no one inside).
I have no pets.
The same question has been asked and received some nice answers on a sister SE: the question.