I burned my PIC (with I guess my potentiometer)

Thread Starter

KansaiRobot

Joined Jan 15, 2010
324
Ω

You could using 9V or 12V power and adding a 78L05 or 78M05, it will depending the current of uC, or using 5V power and adding the protection circuit as following.

Thank you very much. One question, no fuses needed here?
I understand the role of the Zd1 (in case of reverse polarity)
not so much the Zd2 though...

EDIT: Now I understand it better. It is ti protect the PIC from voltages larger than 5V!
 
Last edited:

ScottWang

Joined Aug 23, 2012
7,509
Thank you very much. One question, no fuses needed here?
I understand the role of the Zd1 (in case of reverse polarity)
not so much the Zd2 though...

EDIT: Now I understand it better. It is ti protect the PIC from voltages larger than 5V!
If you want then you can add a general fuse or auto recover fuse, but you have to calculate the draw current very precisely, otherwise it could be useless.
 

Thread Starter

KansaiRobot

Joined Jan 15, 2010
324
Thank you all always for your help.
Kind of bad news..:(
I checked the 1) Polarity with a multimeter. It seems to be correct.
2) whether there are peaks at the start of the power generator with a oscilloscope and no, it seems the power goes to 5.4 v almost squarely. no peaks. When turned off it goes as in a curve to 0.

so I guess I still dont know what it caused the magic smoke come out.

Right now I am going to program the simplest program (LED blink) to another PIC and try it. My next post will say if we have or have not more of that magic smoke :confused:

EDIT: havent got the zener diodes yet...
 
Last edited:

Thread Starter

KansaiRobot

Joined Jan 15, 2010
324
Well, I did the test (LED blink) and it passed. No smoke coming out

A strange thing occured though...
I tried :

1) The 5.4 V power source.
2) The 4 batteries
3) the pickit 3 powering the PIC

The 2) option got the usual LED blinking strong and clear, but the1) option 5.4V power source (that before burned my PIC) got a very weak and irregular blinking...
even stranger, the 3) option was irregular, sometimes strong, sometimes weak
 

ScottWang

Joined Aug 23, 2012
7,509
As what I mentioned the Vdd for Pic18F2550 is 2.0V to 5.5V, probably it was damaged by the 1.6V*4 = 6.4V battery, when you used 6V~6.4V battery may be not damaged in a several times, but it will get real damaged since that you don't know when.

The Zener diode protection for ADC input, sometimes is necessary, whatever for every kind of uC or a independent ADC chip.
 

Thread Starter

KansaiRobot

Joined Jan 15, 2010
324
Thank you all for all the help.
I lost two days with this "burn my PIC" thing but learned a lot from you guys.
Now I am back to my PWM for a series of LEDs problem. I got the transistor so everything is ready to test it tomorrow. Hope this time the magic smoke remains inside! :p
 
Top