Circuit Design
LED: When the LED is activated, it provides a 1.8V or 2.0V signal.
Transistor: We use an NPN transistor (e.g., 2N2222) to amplify the LED signal.
Resistor: A base resistor is needed to limit the current entering the transistor's base.
Relay: A 5V or 12V relay is used to control...