Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 13th November 2007, 12:31 PM   (permalink)
Default "Dead PIC pin"

One of the pins on my 18F4680 just stopped working one day. The voltage read 1.4V whether set high or low and now it just reads ground. The rest of the chip seems fine. Has anyone else had this problem before?
jeg223 is offline  
Old 13th November 2007, 12:48 PM   (permalink)
Default

PIC's are generally very sturdy devices, if you've killed a pin you've probably done something really nasty to it!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 13th November 2007, 01:32 PM   (permalink)
Default

I can't think of what though. Maybe a short to ground in the output high state?
jeg223 is offline  
Old 13th November 2007, 01:34 PM   (permalink)
Default

Quote:
Originally Posted by jeg223
I can't think of what though. Maybe a short to ground in the output high state?
Possibly?, but I would imagine it takes a LOT more than that? - certainly I've abused many PIC pins over the years, and never killed one yet.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 13th November 2007, 06:49 PM   (permalink)
Default

You probably drove the pin above Vdd or below Vss and allowed excessive current to flow, damaging the pin. Instead of tossing the device, determine which state (high, low or input) the pin should be in so that the PIC draws the lowest current from Vdd. Then program the pin in that state when using the PIC in a project which doesn't require that particular IO pin.
__________________
--- The days of the digital watch are numbered. ---

Last edited by kchriste; 13th November 2007 at 06:52 PM.
kchriste is offline  
Old 14th November 2007, 01:51 AM   (permalink)
Default

I've fried I/O pins on an AVR before from bad wireing and they're roughly comparable in durability to PIC pins. Inductors hooked up to I/O pins can do it as well if you're not keeping track of that kind of thing. Usually the entire I/O pin isn't gone, it can typically still read high or low values even if the output driver is toasted.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 14th November 2007, 09:56 PM   (permalink)
Default

I'm not using inductors in this project but I'll keep that in mind. I have a rat's nest with +12 and -5 running around so I think one of those got it. I hate when ICs fail quietly like that, I wish they would just catch fire so I immediately know where the problem is.
jeg223 is offline  
Old 15th November 2007, 05:06 PM   (permalink)
Default

I fried a PIC16F688 a couple of weeks ago. I was trying to get the analog to digital converter working the way I wanted so I had a power supply hooked up directly to an input pin. This would be fine, as I had the voltage well within an acceptible range and the current was set to top out at a relatively low level on the PSU. All was well and good until my friend spontaneously grabbed the current knob on the PSU and cranked it.

I'm not sure what happened, but from that point on I couldnt program it any more. It was stuck with the current (broken) program.

I've also fried PICs in the past by getting them too hot while soldering/desoldering.
Stellarcore is offline  
Old 15th November 2007, 05:11 PM   (permalink)
Default

Quote:
Originally Posted by Stellarcore
I'm not sure what happened, but from that point on I couldnt program it any more. It was stuck with the current (broken) program.
A common practice, as an added 'read protect' feature used to be to deliberately blow either the data or clock pin, so you couldn't ever enter programming mode again.

Quote:

I've also fried PICs in the past by getting them too hot while soldering/desoldering.
I can only say you must be really, really, REALLY, bad at soldering to destroy a chip in that way!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 15th November 2007, 09:22 PM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
I can only say you must be really, really, REALLY, bad at soldering to destroy a chip in that way!.
I'm not terrible at soldering, just still getting used to surface mount soldering. Usually it results from my attempts to remove an already soldered SMT chip. I'd rather destroy the chip than risk damaging the traces on the PCB (in most cases anyways).
Stellarcore is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
how can I do PIC programmer by usp port morabet Micro Controllers 8 10th November 2007 02:37 PM
PIC pin to MOSFET gate problem Futterama Electronic Projects Design/Ideas/Reviews 7 8th November 2007 06:31 PM
Best Pic Basic Compiler ... simrantogether Micro Controllers 12 29th October 2007 08:52 AM
High ADC sampling rate PIC, 18F needed? bananasiong Micro Controllers 24 28th October 2007 01:13 PM
Four PIC with One LCD.. meera83 Micro Controllers 13 20th September 2007 07:40 AM



All times are GMT. The time now is 02:03 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker