📜  8051和AVR的区别

📅  最后修改于: 2021-09-12 11:22:15             🧑  作者: Mango

先决条件 – 微控制器 (µC) 和微处理器 (µP)

微控制器是单个集成电路 (IC),可与小型独立计算机相媲美,旨在执行嵌入式系统的特定任务。 8051 和 AVR 属于微控制器家族。 8051微控制器AVR微控制器的不同之处在于不同的架构和不同的指令集、速度、类型、内存、功耗、总线宽度等。现在让我们详细了解它们之间的区别。

1. 8051 微控制器:
它是 8 位微控制器系列。它是一款入门级微控制器,用于世界各地的大多数基本应用,功耗低,预算低。它是由 Intel 于 1981 年开发的。该微控制器用于各种设备,主要领域包括汽车、医疗设备和能源管理。

2. AVR 微控制器:
AVR微控制器是Atmel公司于1996年开发的,基于RISC指令集架构(ISA),也称为Advanced Virtual RISC。 AT90S8515 是最初属于 AVR 家族的微控制器。 AVR 微控制器是最受欢迎的控制器类别,而且价格便宜。它用于许多机器人应用。

8051和AVR的区别:

S.No. 8051 AVR
01. 8051 micro-controller has 8 bit bus width. AVR micro-controller has 8 bit but some are 32 bit bus width.
02. Micro-controllers are from Intel company. Micro-controllers are from Atmel comapny.
03. 8051 micro-controller is based on von neuman architecture. AVR micro-controller is based on Modified Harvard architecture.
04. 8051 micro-controller uses CISC Instruction Set Architecture. AVR micro-controller uses RISC Instruction Set Architecture.
05. It uses SPI, I2C, UART, USART communication protocol. It uses UART, USART, LIN, CAN, Ethernet, SPI, I2S communication protocols.
06. It consumes average power. It consumes low power.
07. Its family includes 8051 variants. Its family includes Atmega, Tiny, Xmega, special purpose AVR.
08. It has vast community support. It has very good communication support.
09. It uses ROM, SRAM, FLASH memory. It uses Flash, SRAM, EEPROM memory.
10. Its speed is 12 clock per instruction cycle. Its speed is 1 clock per instruction cycle.
11. Popular micro-controllers are AT89C51, P89v51, etc. Popular micro-controllers are Atmega8, 16, 32, Arduino Community.