Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Can PIC microcontroller be replaced by 89c51 ???

Status
Not open for further replies.
hii

I'm planning to do a project on VIrtual game system.. It is based on PIC .. But as we do not hav the facility to use PIC , I need to do the same using 89c51 ... Can it be replaced ??? I'm attaching the circuit diagrams here....
Pls help me to convert the circuit diagram using PIC to tat using 89c51

Thanks
Kavitha ....
 

Attachments

  • vdg_schem.png
    vdg_schem.png
    10.3 KB · Views: 544
  • vds_schem 2.png
    vds_schem 2.png
    27.5 KB · Views: 450
As long as you choose an 89c51 that has the required hardware, and that's fast enough, then it's just a matter of rewriting the software for the different processor.
 
You will need BOTH micros datasheets on hand.

You must be sure that the VCC pins are the same, the Ground pins, the input pins and output pins.

It would be easier to start from scratch. That way, when coding, you already know what ports you have attached things to.

There are no DIRECT replacements. Meaning they dont talk the same language so they need different coding,
AND
They do not share the same PIN layouts, so you would have to RE-draw the schematic.
 
Yes. Driving any decent amount of current will require a transistor, or driver IC.

If the load is small.. Less than 30ma, you can drive it directly, but this can lead to killing your 80c51.
 
PIC16F84 is used. It has two 74245 to read the joysticks, and one DA converter (TLC7524) for sound.
Do we need to connect these externally while using 8051 ?
 
Don't need 74245 to use joysticks. Make coding easier with out it.

This the TLC7524 you could code your sound and not use it. But I would keep it because it would be easier to code for it

Then to do all the sound with 89c51
 
Last edited:
One thing you must be aware of is that the PIC can source or sink 25 mA per pin.

The '51 data sheet says it can source 4 TTL inputs. It didn't give a value for the current. I did find this, though:
Maximum IOL per port pin: 10 mA. Maximum IOL per 8-bit port: Port 0: 26 mA...

Hope this helps some.
 
Maximum DC Output Current...................................................... 15.0 mA
per pin
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top