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.

Which microcontroller is better AVR or 8051 for working in industry conditions?

Status
Not open for further replies.

myid123456

Member level 1
Member level 1
Joined
Jun 8, 2006
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,519
hello friends.
I need to design a board for industry.
I am very good at 8051 but I heard that it dose not work good in Industry conditions.
I also heard that AVR ucontrollers are better on noise imunity and work good in Industry conditions(noise, humidity, temprature, vibration).

If you have any experience in any of them in industry please let me know.

Thanks a lot.
 

conclusion for 8051

AVR is a good architecture from one supplier. 8051 is much older but supported by many suppliers. The fastest 8051 devices from Silicon Labs are MUCH faster than the fastest AVR8, the slowest 8051 devices are MUCH slower than the slowest AVR8. In other words, performance with 8051 covers a huge span while AVR is much narrower.
In regards to noise immunity and other conditions you listed, that depends much more on a silicon process and packages than it does on an architecture. There are excellent 8051s in all those regards and there are not so good ones.
My recommendation, if you really have so much experience with 8051, you can find much more variety of devices for 8051 than for AVR. If you are starting something new and are willing to compromise here and there, I would think that the AVR is the more modern (better) architecture. If that warrants switching from 8051 to AVR, that is totally up to you.

Bob
 

cy62256 atmega

AVR is better choice

Nandhu
 

non maskable interrupt sources in 8051

I fully agree with bobsanjose

What do you think about this document?

http://www.atmel.com/dyn/resources/prod_documents/doc1292.pdf

In my experience a C program for AVR always occupies more bytes that the same program for 8051. I believe that the document "AVR C Code Benchmarks" does not take into account the different organization of memory code in 8051 (8 bit) and AVR (16 bit). In my opinion these benchmarks are comparing bytes of 8051 with the words (2 bytes) of the AVR, to confuse readers intentionally.
 

which one is better to use 8051 or avr

svicent said:
In my experience a C program for AVR always occupies more bytes that the same program for 8051.

This is not generally true.
8051 is better for bit manipulation and when your application use this feature 8051 code is a bit smaller.
But in general AVR has more compact code because of architecture.
8051 has very limited number of registers and very small SRAM memory (only 256 bytes). The external memory access in 8051 is an overkill, requires too many cycles trying to pass everything with DPTR.
For conclusion about code size:
For very small projects with many bit manipulations 8051 code is a bit smaller than AVR.
For projects with external memory (over 256 bytes in 8051) AVR is much better.

My suggestion about which is better: "The better MCU is the MCU that you know deeper". For begginers I suggest AVR.
 

8051 bit manipulation

All the above are true
but let change the Slammer last sentence
"The better MCU is the MCU that you know and is perfect for your needs"
 

avr better than 8051

I have 2 problems with AVR.
1. AVR does not have proper interupt vector.(when it goes into one ISR other interupts will be masked, and it does not support interupt priority like 8051)
2. I need to interface many memory ( cy62256 and at29040) and Avr does not support. for example atmega32.

and I have another question. is it true that siemens step5 plc has 8051 core?
 

how is avr better than 8051

The new XMEGA family has Multilevel Interrupt Controller with High, Medium and Low priority selectable for each source. The XMEGA has Non Maskable Interrupts (NMI). Some devices allow to use external SRAM or SDRAM memory.
 

Re: AVR or 8051

you can use both , but you must isolate power supply and IO pins from any hi power component.
in near big AC/DC motors its beter that put your controller board in a metal pack and connect metal pack to GND.
dont forgot that pullup resistors must be low than 1K.
dont free RST pin.
dont forgot mini capacitors in XTAL pins.
dont forgot little capacito (1uF - 10uF) betwen VCC and GND in near of MCU (its very important for noise canceling ).
dont use long wiers for send data in TTL voltage levels.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top