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
 
Tools
Old 3rd September 2007, 05:42 PM   #1
Default Can PIC16F84 replaced by PIC16F877A with the same configurations in PIC16F84??

Can PIC16F84 replaced by PIC16F877A with the same configurations in PIC16F84??

The difference is 84 has less pins than the 877A...
84 has Flash EEPROM and 877A has Flash as well..

so can the 84 replaced by 877A?
chunei is offline  
Old 3rd September 2007, 06:02 PM   #2
Default

What do you mean by configurations?

Like you said, the 16F84 has less pins than the 16F877A, so it's not a match in physical size, i.e. not a drop-in replacement part. The most direct, current production replacement part for the 16F84 is the 16F88 (identical pin-count and a few more features).

The 16F877A is a more powerful chip than the 16F84, so anything you might have done with the 16F84 you could do instead with the 16F877A.
Hank Fletcher is offline  
Old 3rd September 2007, 06:24 PM   #3
Default

I mean like in terms of the connection??? as the 877A has more pins then can I juz replace it with the same port connection as the f84?
chunei is offline  
Old 3rd September 2007, 06:38 PM   #4
Default

Quote:
Originally Posted by chunei
I mean like in terms of the connection??? as the 877A has more pins then can I juz replace it with the same port connection as the f84?
hi,
Are you asking if you can use the same program and CONFIG WORD thats written for the F84 in a F877A?
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 3rd September 2007, 06:56 PM   #5
Default

Quote:
I mean like in terms of the connection??? as the 877A has more pins then can I juz replace it with the same port connection as the f84?
I think he's asking if he can, for instance, interchange the PORTB.3 pin on the 16F84 with whatever the PORTB.3 pin might be on the 16F877A? I'm guessing yes if he's only interested in TTL I/O. As long as the same port pin on both PICs has the same function (which more often than not, they do) then there shouldn't be a problem. Check the datasheets for both PICs and make sure the pin functions of the 16F84 match up with the equivalent port pins on the 16F877A. I'm guessing it will be close if not the same, with the exception of there being more function options (like CCP) for some pins on the 16F877A.

Last edited by Hank Fletcher; 5th September 2007 at 04:01 AM.
Hank Fletcher is offline  
Old 3rd September 2007, 07:34 PM   #6
Default

The source files would have to be modified but could be very close.
You have to turn off the A/D and comparators for starters.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 3rd September 2007, 10:57 PM   #7
Default

They both use the same 14 bit core, so it's VERY simple to convert antique F84 code to F877 code - the changes required are VERY minor.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Tags
configurations, pic16f84, pica, replaced

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Need PIC16F84A Cool Project Agent 009 Micro Controllers 158 11th March 2007 07:15 AM



All times are GMT. The time now is 10:17 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker