ericmar
Full Member level 5
pic mclr diode
Hi all,
I just wonder if it's always necessary for me to put a diode in between of the reset switch and the MCLR pin of a PIC? My reset circuit for PIC is by connecting a 33K resistor in series with a 0.1uF capacitor whereby one end of resistor is connected to the Vout of 7805 and one end of the capacitor is connected to ground. The reset switch is connected in parallel to the capacitor and the cathode of diode is connected to the end of reset switch which is not connected to ground but connected to the resistor and capacitor.
My problem is that this reset circuit works fine for PIC16F877 but when I change my PIC to PIC18F452, it doesnt work properly. If I bypass the diode by short-circuiting it, I can reset my PIC18F452, otherwise, I cant reset it at all.
Thanks for any help!
Regards,
Eric
Hi all,
I just wonder if it's always necessary for me to put a diode in between of the reset switch and the MCLR pin of a PIC? My reset circuit for PIC is by connecting a 33K resistor in series with a 0.1uF capacitor whereby one end of resistor is connected to the Vout of 7805 and one end of the capacitor is connected to ground. The reset switch is connected in parallel to the capacitor and the cathode of diode is connected to the end of reset switch which is not connected to ground but connected to the resistor and capacitor.
My problem is that this reset circuit works fine for PIC16F877 but when I change my PIC to PIC18F452, it doesnt work properly. If I bypass the diode by short-circuiting it, I can reset my PIC18F452, otherwise, I cant reset it at all.
Thanks for any help!
Regards,
Eric