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...
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...
-
not trying to 'rain on your parade'..... it is possible that isn't where your noise is coming from...... if you haven't already, put a 10 or 100 microfarad electrolytical and a couple of .1 or .01...
if you didn't already........ put your probe lead on 'ground/negative' at a distance from the negative/ground probe connection..... and probe to various ground/neg locations. Sometimes noise is...
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!
Ioannis Today, 08:30Absolute Max current on any standard pin +/-50mA, but this does not mean you can source...