我们可以在硬件项目中使用各种各样的控制器板。其中最受欢迎的两个是: Arduino和Raspberry Pi 。
Arduino基于ATmega系列,具有相对简单的设计和软件结构。 Raspberry Pi,基本上是单板计算机。它们都具有执行指令,定时器,存储器和I / O引脚的CPU。两者之间的主要区别在于Arduino倾向于具有强大的I / O功能,可以直接驱动外部硬件。 Raspberry Pi的I / O较弱,需要晶体管来驱动硬件。
让我们看看Arduino和Raspberry Pi之间的区别:-
S No. | Arduino | Raspberry Pi |
---|---|---|
1. | Control unit of Arduino is from Atmega family. | While control unit of Raspberry Pi is from ARM family. |
2. | Arduino is based on a microcontroller. | While Raspberry Pi is based on a microprocessor. |
3. | It is designed to control the electrical components connected to the circuit board in a system. | While Raspberry Pi computes data and produces valuable outputs, and controls components in a system based on the outcome of its computation. |
4. | Arduino boards have a simple hardware and software structure. | While Raspberry Pi boards have a complex architecture of hardware and software. |
5. | CPU architecture: 8 bit. | CPU architecture: 64 bit. |
6. | It uses very less RAM, 2 kB. | While Raspberry Pi requires more RAM, 1 GB. |
7. | It clocks a processing speed of 16 MHz. | While Raspberry Pi clocks a processing speed of 1.4 GHz. |
8. | It is cheaper in cost. | While Raspberry Pi is expensive. |
9. | It has a higher I/O current drive strength. | While Raspberry Pi has a lower I/O current drive strength. |
10. | It consumes about 200 MW of power. | While it consumes about 700 MW of power. |