Connect with us

Binary 1-wire switch status (closed/open) sensor?

Discussion in 'Microcontrollers, Programming and IoT' started by rTx, Nov 1, 2014.

Scroll to continue with content
  1. rTx


    Oct 29, 2014
    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.
  2. KrisBlueNZ

    KrisBlueNZ Sadly passed away in 2015

    Nov 28, 2011
  3. Arouse1973

    Arouse1973 Adam

    Dec 18, 2013
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day