I'm having some issues with events not being detected. My Arduino is being used to interface with my hard-wired alarm system. The alarm system has six door sensors and one motion sensor. Sensor contacts are NC. To isolate the Arduino from the 12V alarm system voltage, I have a diode between each sensor and the Arduino input pins. When the doors are closed or no motion is detected, the Arduino pins measure approximately 0.5V. When a sensor opens, the voltage jumps to approximately 4.7V.
Basically, the system works, but quite often a change in status is not detected and the door or motion status does not update in Homeseer. This failure happens with both door open and door closed events. Cycling the door or motion sensor usually corrects the issue, as does resetting or reconnecting the Arduino board.
I've read a lot about noise on the lines causing false triggers. My issue is the opposite, not false triggers, but rather missed triggers, however I tried adding a capacitor anyway. Unfortunately, it made no difference. I've also adjusted the debounce setting to various amounts from 0 through 500ms with no apparent change in behavior.
So, I need some help figuring out how to either sense the changes more reliably (preferably), or poll the system more often to update the status.
Thank you,
Mike
Basically, the system works, but quite often a change in status is not detected and the door or motion status does not update in Homeseer. This failure happens with both door open and door closed events. Cycling the door or motion sensor usually corrects the issue, as does resetting or reconnecting the Arduino board.
I've read a lot about noise on the lines causing false triggers. My issue is the opposite, not false triggers, but rather missed triggers, however I tried adding a capacitor anyway. Unfortunately, it made no difference. I've also adjusted the debounce setting to various amounts from 0 through 500ms with no apparent change in behavior.
So, I need some help figuring out how to either sense the changes more reliably (preferably), or poll the system more often to update the status.
Thank you,
Mike
Comment