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!
View all questions in Keil forum