Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Reg : Using PIC16F876 instead of PIC16F628A

Status
Not open for further replies.

sanjeev_ken

Newbie level 4
Newbie level 4
Joined
May 20, 2010
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,321
I am trying to build a moving message display using the info I got from this forum. I am attaching the details. The display is working fine. But I want to increase the number of rows. I am new to micro controllers. I found PIC16F876 has more number of I/O pins than PIC16F628A and I want to know that whether I can use it and the necessary changes to be made to accomodate it. Please help me....
 

Hi,

Yes, it should be perfectly possible to move onto the 16F876 or 876A or 877A chips.

Do not use that coding, but any changes should be minimal and obvious; most codes in the 16F range can be moved upwards to newer / larger 16F chips quite easily
 
thnxx for ur reply wp100..... will you please have a look at the schematic and the code once and suggest the changes?? please..
 

Hi,

Well the hardware should simply move over without any changes apart from the pins use by the crystal.

That code I am not familiar with, I assume it is Basic ??

However the lines I can see that will need changing are the TARGET to the 876 / A and change the CMON line, that becomes ADCON1 on the 876.
In assembler it would be:-
MOVLW 0x06 ; Configure all pins
MOVWF ADCON1 ; as digital inputs - meaning load hex value 06 into register ADCON1
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top