Tough PIC


Closed Thread
Results 1 to 16 of 16

Thread: Tough PIC

  1. #1
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107

    Default Tough PIC

    One of my circuits uses an 18LF2523. When we were bringing up the board for the first time, a technician noticed that the circuit was working, but the voltages were off. He measured VCC and found that it was 11.5V! A diode had been installed backwards.
    The PIC had been working fine for 15-20 minutes before the problem was noticed. He reversed the diode and the circuit (and the PIC) worked normally.
    I didn't try all the peripherals, but the USART, the PWM and all the I/O pins I tried were working normally.

    Of course, we replaced the PIC before shipment for reliability reasons.
    Charles Linquist

  2. #2
    Join Date
    Apr 2007
    Location
    Pennsylvania, USA
    Posts
    158


    Did you find this post helpful? Yes | No

    Default Re: Tough PIC

    Impressive! I might try that tonight with one of my PIC's
    Shawn

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807


    Did you find this post helpful? Yes | No

    Default Re: Tough PIC

    Please put on your safety glasses, a helmet and gloves. It may blow!

    Post your interesting result hen...

    Ioannis

  4. #4
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default Re: Tough PIC

    I have mentioned it before, but I once used 16C73 (I'm embarrassed to say that I ever used 16 - series chips). The 16C73 was one in a ceramic package and a quartz window (it was UV-erasable, remember those?). Because it had to be put into an eraser for 10 minutes every time I wanted to reprogram it, I was constantly plugging it into, and pulling it out of, a nylon 3M proto-board. After one such insertion, I smelled something and looked over at the proto-board. Smoke was rising! I shut off the power and (stupidly) used my finger to see just which component was overheating. I touched the PIC and got a blister on my finger. After the PIC had cooled down, I removed it from the protoboard, and the 'groove' under the chip was melted. The nylon was dark brown as well. I noticed that I had installed the PIC backwards.
    I was sad that I had to throw the PIC away (the erasable ones cost $20 each back then), but before I did, I put it back in the protoboard in the correct orientation. It worked!!!

    About the same time (also with a PIC16C73), I needed a 20Mhz crystal. I didn't have any, but I had lots of TTL 'can' oscillators. I didn't have any 20Mhz parts, but I did have a 24Mhz oscillator. I tried it. It worked - no problem. So I kept plugging in higher and higher frequency oscillators. It ran fine at 57.6Mhz, but didn't work at 64Mhz. I can't say that I tested everything at that frequency, but it did a fine job of reading the A/D and adjusting an EEPOT in a "tracking" mode.
    VCC was 5V. Who knows what it would have done if I had raised the voltage to 11V!

    So - you can overclock PICs.
    Charles Linquist

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Fun with PIC's

    Here's an 18F2550 that was powered with 15V for ~15 minutes.



    A 30F3012 was on the same board. It got hot, but didn't melt like the 2550.
    Neither of the chips worked afterwards.



    Keep those safety glasses on!
    Last edited by Darrel Taylor; - 18th January 2012 at 22:54.
    DT

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807


    Did you find this post helpful? Yes | No

    Default Re: Fun with PIC's

    On the last picture, there is "melabs.com" and 30F3012 chip. Can I speculate that something you are cooking there at Melabs?

    Ioannis

  7. #7
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: Fun with PIC's

    I wish !!
    No, it was just built on an melabs PicProto3 board.

    DT

  8. #8


    Did you find this post helpful? Yes | No

    Default Re: Fun with PIC's

    In general, these chips can really take a beating. It's a real kindness for newbs like me.

    Before I switched to ICSP, and was removing the chips from the board to re-program, I occassionally got them in backwards. It's really funny how your nose gets tuned to the "hot" smell. I never wrecked a chip but I sure warmed their behinds! Sadly micro mmc cards are not so tough, you just hear a little pop and it's game over--no magic smoke or anything.

    Cheers,
    Doc.

  9. #9
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default Re: Fun with PIC's

    Yup, they really can take abuse. You may not notice anything wrong after a screw-up, but are you using all features? It's quite possible that 'something' broke.

    But yeah, I've also done my share of 'Official Microchip Volunteer Stress Tester'.

    Robert

  10. #10
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Fun with PIC's

    What would be the first problem with overclocking?
    I don't think it would be heat.
    Maybe reading it's own program memory to execute the program it's running?

    Have run 16Fs at 25MHz many times here.

  11. #11
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default Re: Fun with PIC's

    The biggest danger when overclocking a PC cpu is overheating. I don't see why it would be any different with a PIC.

    Maybe we should liquid cool a PIC and see how fast it can run?

    Robert

  12. #12
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Fun with PIC's

    You could cool one with a peltier device, but I doubt you could run it fast enough to get it hot.
    PC CPUs don't have to read internal memory.
    Pics are more than a CPU, but certainly Do go screwy when the outside environment heats up...

    I have a 16F84A running in a vehicle that goes haywire in the heat every time (digital speedometer),
    but resumes as normal when the vehicle cools down without needing any reset.
    The 16F877A does not seem as fragile though (so far).

    I'm still guessing it's the internal interface between it's core and internal memory that would fail.
    Not that my theory could be tested. It's not like the CPU can be isolated to do anything without
    using it's program memory.
    Last edited by Art; - 24th January 2012 at 15:25.

  13. #13
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default Re: Fun with PIC's

    CPUs do read internal cache, that may be technically equivalent to ram.

    If I'm not mistaken, isn't the A series for automotive applications?
    EDIT: Nevermind, I think it's low voltage programming.

    Robert
    Last edited by Demon; - 26th January 2012 at 19:38.

  14. #14
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Fun with PIC's

    I meant flash memory where the program is stored in a pic.
    The 16f84 I have had running a speedometer in a car for a few years always goes batty if the cab gets hot.
    The chip is running, but the value displayed is all over the place.
    This isn't any sort of proof that the chip is failing to read it's program memory though.
    It could be any number of things like the program counter jumping all overt the place, but flash is still my guess.

  15. #15
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default Re: Fun with PIC's

    Quote Originally Posted by Art View Post
    What would be the first problem with overclocking?
    I don't think it would be heat.
    ...
    Art, was rereading this thread and realized I should have been more specific:

    No problem with heat if you play with clock speeds only, the problem is when you increase voltage to keep the chip running. That's when you run into "opinions" from guys called Fourrier, Joule, Ohm, Watt and company.

    Watts = volts x amps

    All that extra energy has to go somewhere.

  16. #16
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Fun with PIC's

    If you ever have some hobby time to waste, set a 12C509 to toggle an LED every second,
    use it's internal clock, and connect a high value potentiometer between the pic and a 12 Volt supply.
    Yeah, HEAT, but result was no less than impressive

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts