I got some problem for my filtering system. I got an output from my PIC16F877, but the output got some noise. The noise may be caused by the PIC, so how can I filter it out?
First of all, the noise should not be there. The PIC can only generate noise if the code is not working properly or if the power supply is not filtered adequately.
An RC filter could work, depending on the actual application. Can you provide more details/ schematic?
If you use the PWM output,there should not be noise if Vdd is stable enough and if the grounding is done properly.
If you use a normal output,the noise may be due to the program interrupt.