apgphp2005
Newbie level 5
pic 16f877a crystal troubleshooting
Hi all,
I am having problems running a PIC. I programmed a PIC16F877A using PICSTART and MPLAB. The program is to Convert Analog to Digital from PORTA.0 and transmit a ASCII SYMBOL using RS232 Protocol from PORTB.0 .
When i apply 5V to PIN 11 (i.e. Vdd) and Ground to PIN 12 (i.e. Vss). We apply a 2.5 V analog voltage to PIN 2 (i.e. PORTA.0) and attach an oscilloscope to PIN 33 (i.e. PORTB.0) we see no change in Voltage level of (PORTB.0) i.e. it stays at GROUND Level. And, the PIC starts heating up. Also, after some time the connectivity (i.e. tested with Multimeter) is lost between (PIN 11 & PIN 32) AND (PIN 12 & PIN 31). But, when power is turned off and PIC cools down connectivity appears again.
Also, please tell me how to make a PIC work after having programmed it. I mean how to start it.
Hoping Someone might help me out.
Thanks in advance
Hi all,
I am having problems running a PIC. I programmed a PIC16F877A using PICSTART and MPLAB. The program is to Convert Analog to Digital from PORTA.0 and transmit a ASCII SYMBOL using RS232 Protocol from PORTB.0 .
When i apply 5V to PIN 11 (i.e. Vdd) and Ground to PIN 12 (i.e. Vss). We apply a 2.5 V analog voltage to PIN 2 (i.e. PORTA.0) and attach an oscilloscope to PIN 33 (i.e. PORTB.0) we see no change in Voltage level of (PORTB.0) i.e. it stays at GROUND Level. And, the PIC starts heating up. Also, after some time the connectivity (i.e. tested with Multimeter) is lost between (PIN 11 & PIN 32) AND (PIN 12 & PIN 31). But, when power is turned off and PIC cools down connectivity appears again.
Also, please tell me how to make a PIC work after having programmed it. I mean how to start it.
Hoping Someone might help me out.
Thanks in advance