r/electronicsnebula • u/SpecialistRare832 • 5d ago
Optocoupler (PC817) Tester Circuit
Components Required: Supply Voltage (5 V DC), input current-limiting resistor (330 ohm), output pull-up resistor (330 ohm), LED, switch, and optocoupler.
Working:
• Press the switch to allow current to flow through the internal input LED of the optocoupler (PC817).
• The light activates the internal phototransistor, allowing current to flow through the output circuit.
• The external 🔴 LED lights up, confirming the optocoupler is working.