Experimental work | Using an optocoupler for AC polarity detection
4:21 AM![]() |
Pin Configuration of 4N26/4N37 |
- Connect a step down AC voltage (preferably to 9 V) via a 1k ohm resistor to pin #1 and 2.
- Connect the biasing voltage Vcc= 5V to pin #5 via 1k ohm resistor and ground with pin #4.
- During the positive half cycle of the AC waveform, the LED will be forward biased and hence the current will flow in the base of the phototransistor. This means that all the voltage will be dropped across the pull up resistor and no voltage will appear at the output. However, during the negative half cycle the LED becomes reverse biased and hence no current will flow in the base of the phototransistor and hence the biasing voltage Vcc will apear on the output. Thus, for each one complete cycle a square waveform will appear.
![]() |
Circuit for AC voltage polarity detection |
0 comments