Arduino Sensor Network – Bathroom occupancy detector
robots.thoughtbot.com
robots.thoughtbot.com
For a door opening and closing a 1 second delay is fine. If it misses an event with that delay then it was probably a fluke. Think of it as a buffer to prevent false readings.
1: I'm using Rocket Scream's LowPower.PowerDown for what it's worth.
The 74LVC86 variant only draws a dozen, or so, microamps, which is dwarfed by the current in the 10k pull-down resistor when the reed is closed, and comparable to the standby current of the radio in the new radio.
You could wire the same PIR to also control the light on/off state, so if someone is having an epic poop but not moving too much you can be pretty sure they'll move to make the light go on if they hit the timeout.
Partial writeup: http://www.stavros.io/posts/control-rf-devices-with-arduino/
Now go, make something, and come back.
Sincerely,
Everyone trying to have a conversation.
Edit: Jeez, sarcasm folks...
Edit - just found this Kickstarter - https://www.kickstarter.com/projects/john-cole/arduberry-uni...
There is a place for both systems, they do different things (even though there is some overlap) so for any moderate project (say a little hexapod robot) you are likely to use both. The Pi as a general purpose computer that can do all your nav/ANN/signalling stuff and an Arduino board to receive the signals and actually run your motors/servos (assuming you need more than 1 or 2).