The Pic16f628a little hot when is work?

blinkstar88

New Member
Dear Everyone,

I'm using pic16f628a to generate freq at portb (38khz,19khz,114khz,57khz,76Khz) for encoder stereo from broadcast warehouse (digilog encoder). It's working great.

The crystal is 4.864Mhz, i'm using bcf and bsf command and looping forever in the routine.

The problem is my pic a little hot when is work, is it normal?

Any help will be great

Thanks
 
blinkstar88 said:
I feed with 5v via regulator 7805, the old firmware using PIC16CE623 with no any warm on it. But when i'm using PIC16f628a and my own firmware i get little warm on it.

Sorry, what are you feeding from the PIC, are you feeding any LED's or anything?, also what are you doing with unused pins?.
 
Nigel Goodwin said:
Sorry, what are you feeding from the PIC, are you feeding any LED's or anything?, also what are you doing with unused pins?.

Hi Nigel,
yes, the pic driving high speed analog switch (DG201HS) on portb with frequency 38Khz (portb3, portb0), and 114Khz (portb1, portb2).

Thanks
 

Attachments

  • digilog.gif
    15.3 KB · Views: 556
You have four pins of port A grounded, and these set as inputs?, if they are set as outputs that could be the reason. Likewise you have two more port A pins connected to Vdd - are this allocated as I/O pins, and if so, are they set as outputs. Connecting outputs to either Vdd or Vss is likely to make the chip get hot, and could kill it.
 

Nigel, I set all porta as output. I will try to set it as input

Thank you very much Nigel, you've give me a light
 

Hi Nigel, I was change the code (portA as input) like you said and i test.
Looks like my pic not angry again , the pic was cool. I'm very happy, finnaly my encoder working great same as with original firmware.

Thank you very much for your help, i will buy you beer if we meet
 

I'm always up for beer, but I think the chances of meeting are pretty slim!

I'l pleased you have it sorted out now!.
 
Saludos blinkstar88..!! Felicitaciones por tu proyecto...!! me gustaria experimentar...!! si es de tu agrado enviarme o ponerlo aqui en el post el archivo asm o el hex ya copilado para hacer pruebas..!! gracias de antemano..!!

Translation:
Greetings blinkstar88.! Congratulations by your project! gustaria to experiment to me! if it is of your affability to send to me or to put it here in post the file asm or hex already copounded to test.! thanks beforehand.!


Please use English.
Moderation.
 
Last edited by a moderator:
gustaría = I would like

Copounded = result of writing wrongly "compilado" (compiled)

Google translator?
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…