Well, there is always a first for everything and today I burned my PIC. (smoke coming out of it)
The connection was very simple nothing complicated and the thing is I had use this connection before without problems and without burning it. This time instead of batteries I used a AC-DC conversor and so I thought that may be why...
But then one of the staff told me that my potentiometer circuit was badly designed, and yes I think it was.
The story started some years ago. I was using this pot:
http://www.dst-gmbh.de/sensors/rdc40kat.pdf
Now if you see in the last page there is a circuit so I built the following:
On that time it worked well. Later on I started using a different Pot
http://www.linkman.jp/data/02.R1610N-_B1.pdf
with the same circuit.
I didnt notice though that the first pot had a Contact Resistance R1 "set to a high level because its output terminal is designed to directly connect to the A/D port of the microprocessor"
Strangely it worked well, I even move the pot from min to max and never saw smoke coming out of the PIC.
Until this afternoon... it happened that this morning I left the potentiometer in the position closest to 5V. And later I just connected the 5V with that.
The staff told me that in that position there is no resistance so a lot of current entered and burned the PIC
he also said that the A/D module needs time to initialize.
he also talked that the capacitor was not necessary and even said I shouldnt use it but later contradicted himself. he talked about "latch up".
He also said that modern microprocessors dont accept that kind of circuit.
Anyway, I guess I should have put a resistor "R1" from 1K to 10K to limit the current that entered the PIC.
Guess it is a leason learned.. but wonder why it didnt burned before, and I have used the circuit tens of times... (always with batteries though)
Any comment and advice appreciated
The connection was very simple nothing complicated and the thing is I had use this connection before without problems and without burning it. This time instead of batteries I used a AC-DC conversor and so I thought that may be why...
But then one of the staff told me that my potentiometer circuit was badly designed, and yes I think it was.
The story started some years ago. I was using this pot:
http://www.dst-gmbh.de/sensors/rdc40kat.pdf
Now if you see in the last page there is a circuit so I built the following:
On that time it worked well. Later on I started using a different Pot
http://www.linkman.jp/data/02.R1610N-_B1.pdf
with the same circuit.
I didnt notice though that the first pot had a Contact Resistance R1 "set to a high level because its output terminal is designed to directly connect to the A/D port of the microprocessor"
Strangely it worked well, I even move the pot from min to max and never saw smoke coming out of the PIC.
Until this afternoon... it happened that this morning I left the potentiometer in the position closest to 5V. And later I just connected the 5V with that.
The staff told me that in that position there is no resistance so a lot of current entered and burned the PIC
he also said that the A/D module needs time to initialize.
he also talked that the capacitor was not necessary and even said I shouldnt use it but later contradicted himself. he talked about "latch up".
He also said that modern microprocessors dont accept that kind of circuit.
Anyway, I guess I should have put a resistor "R1" from 1K to 10K to limit the current that entered the PIC.
Guess it is a leason learned.. but wonder why it didnt burned before, and I have used the circuit tens of times... (always with batteries though)
Any comment and advice appreciated
Last edited:
