Hi, I am determining the microcontroller for a project I would like to know the differences between a PIC microcontroller and a 8051 ( e.g. at89s8252) based microcontroller. It seems that both have similar features. Thanks a lot, Andre
For some applications the '51 is the right choice, for others the PIC is. It is not that one is "better" than the other, both have their place. In general, the '51 is more powerful, has more derivatives and cost a tad more (a tad for the small, LPC devices, more than a tad for the more powerful ones) Erik
I need a microcontroller with the following features: 1) 32 IO 2) 64K code 512+ flash 2K+ eeprom 3) 2 counter (e.g. TIMER0 / TIMER1) 4) 2 external counter (e.g. INT0 INT1) 5) serial interface (such as using TIMER2) 6) C compiler Can I have a PIC with these features ? which 8051 based microcontroller can I use ? Thanks, Andre
You'll have trouble finding a PIC with 32 I/Os. Are these mainly inputs or outputs? A couple of shift registers daisy chained (parallel in or out as per your requirements) can transform just 3 I/O pins into many inputs or outputs. How well this suits you depends upon your sampling speed requirements.
> which 8051 based microcontroller can I use ? Try http://www.cygnal.com - but their parts have only flash, no built-in eeprom.
There as some packages that have >32 pins in the PIC's , but to get the following.. 2) 64K code 512+ flash 2K+ eeprom you would have to use a PIC with external memory (16bit wide)...Which complicates everything.. But is available in the T89c51rd2 as a single chip. They now do a 68pin version aswell.
For 8051, go to the Device Database on this site, and use the Parametric Search. For PIC, you'll need to go to a PIC forum!
I need a microcontroller with the following features: 1) 32 IO 2) 64K code 512+ flash 2K+ eeprom 3) 2 counter (e.g. TIMER0 / TIMER1) 4) 2 external counter (e.g. INT0 INT1) 5) serial interface (such as using TIMER2) 6) C compiler ... which 8051 based microcontroller can I use ? You forgot to ask for the kitchen sink. What are you trying to make? this should get you close: http://www.st.com/stonline/prodpres/memory/psd/pdf/prfinder.pdf Can I have a PIC with these features ? The PIC is specifically made for applications requiring a little, cheap computing, The '51 is when you need a little more and are willing to spend a little more. The requirement you specify above make me wonder if the '51 is right for your application, please let us know. Erik
"You forgot to ask for the kitchen sink." For a fully-fitted kitchen with double sink, waste disposal, dishwasher, etc Try the Triscend E5: http://www.triscend.com/products/e5.htm
You may use the parametric search to help you checking what chips may fall into your peripheral requirements.: http://www.keil.com/dd/parm_search.asp
Microchip has small and cheap devices but also has more powerful and not cheap at all devices. It is a myth that PICs are cheap, only the 8-pin devices are, however, that is what they sell the most. There is definitely a much wider variety of devices available for the 51-architecture from many vendors. The long story short, if you want to depend on one vendor, you can go with Microchip and use a PIC, if you want to have alternatives, you should go with the 51-architecture. Start with Philips and Atmel they have most devices, if you need something more special and are willing to pay more, go to Ctgnal or Triscend. Robert
Just completing your statement: if you want to have alternatives, you should go with the 51-architecture. Start with Philips and Atmel they have most devices, if you need something more special and are willing to pay more, go to Ctgnal or Triscend and lose the alternatives. Erik