PIC temperature, when is it too hot


+ Reply to Thread
Results 1 to 24 of 24
  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,042

    Default PIC temperature, when is it too hot

    16F18877 specifically

    There's a bunch of charts in the datasheet with fancy curves, as well as the 85C limit for extended operation (section 37.2).

    1. At what point is it recommended to start glueing a heatsink on these puppies?

    2. Is there a rule of thumb? Or is it arbitrary?

    3. And if you do cool PICs, what adhesive do you use? What heatsinks?


    Name:  PIC Thermal image.jpeg
Views: 84
Size:  160.6 KB
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    Aug 2011
    Posts
    447


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    In all the years I've been using PICs I've NEVER had one get even slightly warm.
    They usually only pull a few 10's of mA's max, but I suppose if you had all the IO pins trying to drive too much current it might increase the temp a bit.

    Is yours getting hot?

  3. #3
    Join Date
    Sep 2009
    Posts
    754


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    There is max current per port, and Vdd pin. That current is much lower than sum of all 20mA per pin. So you should not try to pull 20mA from each pin...
    Pic should not get warm at all. Power disipation should be in mW.

  4. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,042


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    Quote Originally Posted by tumbleweed View Post
    In all the years I've been using PICs I've NEVER had one get even slightly warm.
    They usually only pull a few 10's of mA's max, but I suppose if you had all the IO pins trying to drive too much current it might increase the temp a bit.

    Is yours getting hot?
    2/3 the pins are sinking inputs, the rest are unused for now.

    Thermal cam says 36.4C.

    I didn't have a thermal cam before, so I have no clue what "normal" is. It is a busy PIC though, 2 ADC and 2 PWMs.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  5. #5
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,042


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    Quote Originally Posted by pedja089 View Post
    There is max current per port, and Vdd pin. That current is much lower than sum of all 20mA per pin. So you should not try to pull 20mA from each pin...
    Pic should not get warm at all. Power disipation should be in mW.
    Good idea, I'll get a current reading on both power pins.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,038


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    According to the 16F18877 data sheet, the Absolute Total Power dissipation is 800mW, which is quite a lot!

    Absolute Max current on any standard pin +/-50mA, but this does not mean you can source or sink on all pins at the same time that current. You have to stay lower than 800mW total.

    In any case these are impressive numbers but for good reliability better stay lower.

    Ioannis

  7. #7
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,580


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    37°C is nothing. At twice that I'd start thinking if there's something wrong.

  8. #8
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,042


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    I tested current draw at the VDD and VSS pins (like pins combined):

    VSS 10mA
    VDD 120mA
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  9. #9
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,038


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    This means that your PIC is sourcing (from HIGH output pins) 110mA to some loads.

    FOLLOWING SENTENCE IS NOT CORRECT. PLEASE DISREGARD: Total power dissipation is about 600mW close to the limit at the room temperature. Better do something to reduce that or make sure that PIC will not be in a hot environment.

    Ioannis
    Last edited by Ioannis; - 13th November 2024 at 13:11.

  10. #10
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,580


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    How do you figure the power dissipation is 600mW?
    It would be if all the of the 120mA would go out the Vss pin, thus 5VÄ*120mA. But now, most of the current is going out the I/O-pins with FAR less voltage drop than 5V.

    Let's be conservative and say that the voltage drop across the high side switch is 1V, in other words the pin sits at 4V when high.
    Then the power dissipation of the PIC core is 5V*10mA=50mW and of I/O is 1V*110mA =110mW for a total of 160mW which is a whole lot less than the 800mW max, In reality I'd think (but do measure) the voltage drop across the high side switch is far less than 1V.

    /Henrik.

  11. #11
    Join Date
    May 2013
    Location
    australia
    Posts
    2,546


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    and of I/O is 1V*110mA =110mW
    provided that the current is spread over a number of i/o pins and that no individual pin is overloaded
    Warning I'm not a teacher

  12. #12
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,042


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    Quote Originally Posted by richard View Post
    provided that the current is spread over a number of i/o pins and that no individual pin is overloaded
    I rechecked my work to be sure, this is my busiest 40-pin PIC that I mentioned previously:

    - 16 rotary encoders pins pulled HIGH,
    - 4 momentary switches pulled HIGH,
    - 2 ADC inputs,
    - 2 PWM:
    __- pin for LCD backlight, 3mA (2N2907)
    __- pin for LED strip, 0.0mA (IRFZ44N) - so low it doesn't even register on my ordinary multimeter.
    - USART TX and RX pins pulled HIGH,
    - remaining unused pins are output pulled LOW

    (waiting for new fuses to retest using my TES multimeter)
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  13. #13
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,580


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    Quote Originally Posted by richard View Post
    provided that the current is spread over a number of i/o pins and that no individual pin is overloaded
    Yes, the voltage drop across the switch increases as the current goes up. That's why I was being conservative with the 1V voltage drop.
    But really, as long as the voltage drop isn't MORE than 1V it wouldn't matter (from a power dissipation standpoint) if the 110mA exits the device thru one pin or 25. Of course, you'll likely destroy the pin but it's still 110mW dissipated.

    Point is, 600mW isn't being dissipated in the PIC. Keep the current to within specification and you'll be fine. No heatsinks, fans or watercooling needed. If you think you need that (chip is burning hot) something is wrong.

    BTW: Am I the only one not being able to edit my posts? All I get is a blank "edit box" as if I was making a new post.
    EDIT: Hmmm, not this time, on this machine. Weird.

  14. #14
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,038


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    What I was thinking... Henrik is right as all that current is flowing out of the PIC and not to ground.

    So indeed, the only power loss is the voltage drop on the output buffer times the specific pin current.

    Sorry about that, guess it was too late at night to post anything...!

    Ioannis

  15. #15
    Join Date
    Aug 2011
    Posts
    447


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    Quote Originally Posted by Demon View Post
    - 16 rotary encoders pins pulled HIGH,
    - 4 momentary switches pulled HIGH,
    - 2 ADC inputs,
    - 2 PWM:
    __- pin for LCD backlight, 3mA (2N2907)
    __- pin for LED strip, 0.0mA (IRFZ44N) - so low it doesn't even register on my ordinary multimeter.
    - USART TX and RX pins pulled HIGH,
    - remaining unused pins are output pulled LOW
    It's hard to see how that ends up sourcing 110mA out of the IO pins... I would have guessed less than half that.

  16. #16
    Join Date
    May 2013
    Location
    australia
    Posts
    2,546


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    BTW: Am I the only one not being able to edit my posts? All I get is a blank "edit box" as if I was making a new post.
    EDIT: Hmmm, not this time, on this machine. Weird.
    not anymore

    i cannot edit my posts either
    Warning I'm not a teacher

  17. #17
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,038


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    Maybe clearing cache, or a different browser resolves the problem?

    Ioannis

  18. #18
    Join Date
    May 2013
    Location
    australia
    Posts
    2,546


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    Maybe clearing cache, or a different browser resolves the problem?
    tried all that. problem still comes and goes, seemingly at random
    Warning I'm not a teacher

  19. #19
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,038


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    Then only boss can check that...

    Ioannis

  20. #20
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,038


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    It got me too... I really cannot understand what is going on.

    It showed me an empty text box. Was it the same with you too?

    Ioannis

  21. #21
    Join Date
    May 2013
    Location
    australia
    Posts
    2,546


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    That's it, an empty box
    Warning I'm not a teacher

  22. #22
    Join Date
    May 2013
    Location
    australia
    Posts
    2,546


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    That's it, an empty box

    But not this time, but reason for edit box has gone missing


    Third try reason box is back
    Last edited by richard; - 18th November 2024 at 12:47. Reason: Test
    Warning I'm not a teacher

  23. #23
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,038


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    At the same time, same browser, one message that had a degree character won't let me edit, other message does.

    Do not know if that degree symbol (°) does anything cause there was no other strange thing there.

    Ioannis

  24. #24
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,038


    Did you find this post helpful? Yes | No

    Default Re: PIC temperature, when is it too hot

    Yes, I confirm it does...! The degree blocks me for editing!

    I don't know about yours Richard...

    Ioannis

Similar Threads

  1. max232epe gets hot , real hot
    By richard in forum Serial
    Replies: 13
    Last Post: - 11th November 2014, 10:47
  2. Very hot rectifier
    By The Master in forum Off Topic
    Replies: 11
    Last Post: - 1st July 2014, 22:27
  3. Measuring temperature with a PIC
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th June 2012, 02:54
  4. Hot Tub Temperature Probe
    By DavidK in forum Off Topic
    Replies: 14
    Last Post: - 22nd November 2008, 11:45
  5. 18B20 temperature sensor and PIC
    By boban in forum Schematics
    Replies: 2
    Last Post: - 4th June 2007, 14:51

Members who have read this thread : 11

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