The motion sensors send out a signal on the side that they move towards.
AND gates are logic components with two inputs and one output. The output only puts out a signal if both inputs are signals.
You can think of it like a pipe with two valves in a row- water only comes out if both valves are open.
This is the 'Truth Table' for an AND gate. 1 means that there's a signal, and 0 means that there isn't.
input 1 input 2 output
0 0 01 0 0
0 1 0
1 1 1
No comments:
Post a Comment