Hello everyone,
I came across this problem when I was making a small high frequency inverter of upto 50W (extremely low cost; system cost approx less then $10) for rural areas in india, where there is no electricity. The battery for this inverter would charge from a solar panel and provide energy to the load (CFL: Compact Flouroscent Lamps) in the night. I used PIC16F684 and deployed its PWM module. everything worked fine in the initial stages. But when I created a PCB, all the problems started. Now the problem is that whenever I switch On the supply, the controller keeps on reseting