I've made the changes to my schematic. Im going to build this on a new test board. I am curious about a few things...
Does this circuit know the difference between which button is used? Micro / Touch
No...and doesn't care. The input signal, however, must latch on/off.
So this circuit will now ignore a "single" request via (button or touch) to engage relay if a certain condition exists. That condition being that a door is open and the relay off
If that is the case. Then the circuit (after ignoring the request) will reset itself and become ready again.
Sorry..I don't understand the question.
I'm curious how does the circuit know the doors state? Is it voltage based? 5v+ (high) means door closed and 0v (low) means door open?
Again thank you. I am learning a great deal. I like to stay sharp and this is good exercise for me noggin.
It doesn't really know the door state, nor does it really know the relay state. It would take a more complex circuit to include that and act on it.
It is acting on a pulse from the edge detector. First pulse = door open, second pulse = door closed. repeat..
As designed, at power on, the circuit always assumes the door is closed regardless of the state of the input signal.
The first input change following power on will result in a "door open" state.
So when you set this up, you will need to be aware of this and set the actual door state accordingly.
For example, if you have the door open, then power on the circuit, then close the door, the circuit will think the door is open.
The relay will energize, then timeout and de-energize, and the circuit will reset. The next time the door is open the circuit will be synchronized with the door.
We could add a reset button if necessary.
Last edited: