Looking for newer equivalent of PIC16C84

I have a program written for a PIC16C84 microcontroller that I need to implement using one of the newer equivalents.

I know that the 'F' series replaced the 'C' series, but these might have been discontinued as well.

Here is a link to the device I am building:

formatting link

There are circuit diagrams towards the bottom for the PIC and code.

Any assistance would be greatly appreciated!

Steve

Reply to
kasterborus
Loading thread data ...

Here's a link to the code:

formatting link

At the moment I've got the thing working using a USB IO board to a PC, and some simple software. I would like to make it embedded.

Steve

Reply to
kasterborus

schreef in bericht news: snipped-for-privacy@o13g2000cwo.googlegroups.com...

Steve,

The PIC16C84 was discontinued and its successor, the PIC16F84(A), can be considered obsolete. Both can be replaced by the PIC16F628 which has more content in the same package. But... its architecture differs and its objectcode is not compatible. Even the source code is not fully compatible, so you may have to made changes in that source code and recompile it. I've done this for a PIC16C56 source and it's quite some work. Nevertheless it can be done... if you can get that source code. I can't find it on the webpage you mentioned.

petrus bitbyter

Reply to
petrus bitbyter

schreef in bericht news: snipped-for-privacy@g49g2000cwa.googlegroups.com...

Steve,

A quick inspection learns that you have to change at least two things:

- Leave the configuration macros out. (Not the configurationdirective.) I did not check whether or not you have to add something to the configuration word. The parallel programming bit may need to be reset for instance.

- Add 14H to the addresses of the variables as the general purpose registers of the PIC16F628 start at 20H rather then at 0Ch in the PIC16C84.

petrus bitbyter

Reply to
petrus bitbyter

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.