I'm planning to use Dallas/Maxim 1-wire temperature sensors with an Arduino based system for a heating system. Is anyone aware of a 1-wire device that can detect if a switch is closed or open? Ideally, I'd like it to latch or, better,to be able to store the statuses of the switch over a short period of time. The application I want to use it for is as part of a security system. Basically I want to be able to interrogate the status of standard PIR detectors, contact/reed switches etc. (whether they are closed or open) so that I can detect presences and raise an alarm if appropriate, but also because the same information may be useful with my heating system - there's not much point pumping heat into a room if the window is open and/or there is no-one in there, for example.
Because I want to poll the devices sequentially, I need to know the status history of the switch over a short time period, in case the Arduino interrogates and misses an event (like movement within the short period since the last poll). I want to avoid using an interrupt for this purpose.
I'm aware of the ADE ID+ biscuit system, but I can't find out if it's possible to interface an Arduino with these, and I suspect not.
Any help gratefully received.
Because I want to poll the devices sequentially, I need to know the status history of the switch over a short time period, in case the Arduino interrogates and misses an event (like movement within the short period since the last poll). I want to avoid using an interrupt for this purpose.
I'm aware of the ADE ID+ biscuit system, but I can't find out if it's possible to interface an Arduino with these, and I suspect not.
Any help gratefully received.