Hello,
I am outputting a 5V 50Hz PWM signal from a pic32. I want to clean up the signal before sending it through a 4n25 optocoupler to a higher voltage circuit. The signal is a bit muddy and so I want to use a capacitor to filter it. I put a 100uF 25V electrolytic capacitor in series in the circuit and it cleaned it up a lot, but I am wondering if I could improve it more. Should I put a ceramic capacitor in parallel with the electrolytic? If so, what size? Any help would be greatly appreciated.
I am outputting a 5V 50Hz PWM signal from a pic32. I want to clean up the signal before sending it through a 4n25 optocoupler to a higher voltage circuit. The signal is a bit muddy and so I want to use a capacitor to filter it. I put a 100uF 25V electrolytic capacitor in series in the circuit and it cleaned it up a lot, but I am wondering if I could improve it more. Should I put a ceramic capacitor in parallel with the electrolytic? If so, what size? Any help would be greatly appreciated.