Hi everyone.
My project requires to send PWM signal to the MOSFET. I am using 6N137 Optocoupler. The output of this is inverted signal. One way is to use an inverting IC at the output of PWM pin of micrcontroller PIC18F4550. This got me thinking is there a way I can send inverted PWM signal to optocoupler since it inverts it in order to get original PWM? PWM frequency is 50kHz or 20us. I am using:
MPLAB X IDE v3.55
XC8 v1.44
PICkit 3
20MHz external oscillator
My project requires to send PWM signal to the MOSFET. I am using 6N137 Optocoupler. The output of this is inverted signal. One way is to use an inverting IC at the output of PWM pin of micrcontroller PIC18F4550. This got me thinking is there a way I can send inverted PWM signal to optocoupler since it inverts it in order to get original PWM? PWM frequency is 50kHz or 20us. I am using:
MPLAB X IDE v3.55
XC8 v1.44
PICkit 3
20MHz external oscillator