微控制器是单个集成电路(IC),可与小型独立计算机相媲美,它旨在执行嵌入式系统的特定任务。一个微控制器包含处理单元和少量存储器(ROM,RAM等),很少有用于外围设备的I / O端口,计时器等。AVR和PIC属于微控制器家族。 PIC微控制器和AVR微控制器在不同的体系结构以及不同的指令集,速度,转换,内存,功耗,总线宽度等方面彼此不同。现在,让我们详细了解它们之间的区别。
1. AVR微控制器:
AVR微控制器由Atmel公司于1996年制造。它基于RISC指令集体系结构(ISA),也称为高级虚拟RISC。 AT90S8515是最初的微控制器,属于AVR系列。 AVR微控制器是最流行的控制器类别,而且价格便宜。它被用于许多机器人应用中。
2. PIC单片机:
PIC代表外设接口控制器。 PIC单片机是由Microchip开发的。从实现和性能的角度来看,该微控制器是非常快速的简单微控制器。该微控制器易于编程,并且易于与其他外设接口。
AVR和PIC之间的区别:
S.No. | AVR | PIC |
---|---|---|
01. | AVR stands for Advanced Virtual RISC micro-controller. | PIC stands for Peripheral Interface Controller micro-controller. |
02. | AVR micro-controller bus width is 8/32-bit. | PIC micro-controller bus width is 8/16/32-bit. |
03. | It supports UART, USART, SPI, I2C communication protocol. | It supports PIC, UART, USART, LIN, CAN, Ethernet, SPI communication protocol. |
04. | Its speed is 1 clock/ instruction cycle. | Its speed is 4 Clock/instruction cycle. |
05. | AVR micro-controller is based on RISC instruction set architecture. | PIC micro-controller is based on some features of RISC instruction set architecture. |
06. | It is based on Harvard architecture. | It is based on modified Havard architecture. |
07. | AVR families include Tiny, Atmega, Xmega, special purpose AVR. | PIC families include PIC16, PIC17, PIC18, PIC24, PIC32. |
08. | Manufacturer of AVR micro-controller is Atmel. | Manufacturer of PIC micro-controller is Microchip. |
09. | It is very cheap and effective micro-controller. | It is very cheap micro-controller. |
10. | Popular micro-controllers are PIC18fXX8, PIC16f88X, PIC32MXX. | Popular micro-controllers are Atmega8, 16, 32, Arduino Community. |