Hi
I am trying to isolate microcontroller pwm from power circuit using 6n137 optocoupler. The circuit diagram is attached. When i am testing using function generator. I am not getting any output pulses. Vcc=5V, Function generator output 5V square wave , 50Khz. Function generator ground is seperate from Vcc ground.Could some one tell me whats wrong with circuit or how do i test the optcoupler. Thanks in Advance
Pin7 (Ve) in the input to an NAND gate, you should connect it to 5v (High)
Pin6 (Vo) is the output but it is an open collector output, this actually means that the transistor can only ground the output or leave it floating
so to get a switching voltage you should connect a pullup resistor from Vo pin to the positive power supply (5v).
Check page 7,8 of the datasheet www.fairchildsemi.com/ds/6N/6N137.pdf
Pin7 (Ve) in the input to an NAND gate, you should connect it to 5v (High)
Pin6 (Vo) is the output but it is an open collector output, this actually means that the transistor can only ground the output or leave it floating
so to get a switching voltage you should connect a pullup resistor from Vo pin to the positive power supply (5v).
Check page 7,8 of the datasheet www.fairchildsemi.com/ds/6N/6N137.pdf