Projects/CorridorLight: Difference between revisions

Line 98:
* AND gate with two NPN transistors
[[File:AND gate.png|thumb|150px|left|AND gate with two NPN transistors]]
In this configuration both transistors have to be conducting for the emitter of Q3 to provide an output that's then sent to the LED soft starter. One of the conditions is the current through R8 that depends on the voltage output of the op-amp. The second condition is the PIR motion sensor output switching on when motion is detected. Resistor R7 is there to discharge quickly the gate of Q3 once the PIR output switches off.
<br clear=all>
*Full schematic
[[File:Full schematic.png|thumb|300px450px|left|Complete schematic]]
<br clear=all>