0% found this document useful (0 votes)
17 views16 pages

Comparing Processor Quy Final

Uploaded by

21151500
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views16 pages

Comparing Processor Quy Final

Uploaded by

21151500
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Introduction And

Comparing
Controller Boards
1. Arduino Uno

 The Arduino UNO is the best board to get started with


electronics and coding. The UNO is the most used and
documented board of the whole Arduino family.

 Arduino UNO is a microcontroller board based on the


ATmega328P. It has 14 digital input/output pins (of which 6
can be used as PWM outputs), 6 analog inputs, a 16 MHz
ceramic resonator, a USB connection, a power jack, an ICSP
header and a reset button.

 It contains everything needed to support the microcontroller;


simply connect it to a computer with a USB cable or power
it with a AC-to-DC adapter or battery to get started.
2. STM32

 The STM32 family of 32-bit microcontrollers based on the Arm® Cortex®-M processor is designed to offer new
degrees of freedom to MCU users. It offers products combining very high performance, real-time capabilities,
digital signal processing, low-power / low-voltage operation, and connectivity, while maintaining full integration
and ease of development.

 The STM32 microcontrollers based on an industry-


standard core, comes with a vast choice of tools and
software to support project development, making this
family of products ideal for both small projects and end-
to-end platforms.
3. ESP
 Espressif’s ESP8266EX delivers highly integrated
Wi-Fi SoC solution to meet users’ continuous
demands for efficient power usage, compact design
and reliable performance in the Internet of Things
industry.

 With the complete and self-contained Wi-Fi


networking capabilities, ESP8266EX can perform
either as a standalone application or as the slave to a
host MCU.

 When ESP8266EX hosts the application, it promptly


boots up from the flash.
3. ESP
 ESP32 is designed for mobile, wearable electronics,
and Internet-of-Things (IoT) applications. It features
all the state-of-the-art characteristics of low-power
chips, including fine-grained clock gating, multiple
power modes, and dynamic power scaling.

 ESP32 is a highly-integrated solution for Wi-Fi-


and-Bluetooth IoT applications, with around 20
external components.
4. Raspberry
 Raspberry Pi is a small single board computer. By
connecting peripherals like Keyboard, mouse, display
to the Raspberry Pi, it will act as a mini personal
computer.

 Raspberry Pi is popularly used for real time


Image/Video Processing, IoT based applications and
Robotics applications.

 Raspberry Pi is slower than laptop or desktop but is


still a computer which can provide all the expected
features or abilities, at a low power consumption.
5. Comparing between controller boards
Basis Arduino Raspberry Pi ESP STM32

Control Unit From Atmega Family From ARM Family From Tensilica Family From ARM Family

Up to 160
16 MHz (Arduino Up to 1.5 GHz in
Clock Frequency MHz(ESP8266) or Up to 72 MHz
UNO) Raspberry Pi 4 B
240MHz(ESP32)
Requires less RAM Requires large RAM Up to 50KB (ESP8266) Requires less RAM
RAM
(2kB) (more than 1 GB) or 520KB (ESP32) (20kB)

CPU Architecture 8-bit 64-bit 32 bit 32 bit

Arduino’s logic level Raspberry Pi’s logic ESP’s logic level is STM’s logic level is
Logic level
is 5V. level is 3V. 3.3V. 3.3V.

Arduino is a Raspberry Pi is based ESP is based on a STM32 is based on a


Based on
Microcontroller on a microprocessor Microcontroller Microcontroller

Raspberry Pi supports
its own Linux-based
Arduino boards are ESP boards are STM32 boards are
operating system
Software programmable using programmable using programmable using
Raspberry Pi OS. You
C/C++ languages. C/C++ languages. C/C++ languages.
can also install the OS
you like.
5. Comparing between controller boards
Arduino does not STM32 does not
have internet ESP has a built-in have internet
Raspberry Pi has a
support. You need Ethernet port in ESP32 support. You need
Internet built-in Ethernet port
additional modules (not Esp8266). additional modules
and WiFi support.
or shields to connect ESP has a WiFi support. or shields to connect
it to the internet. it to the internet.

Arduino boards are Raspberry Pi boards STM32 boards are


Cost ESP boards are cheaper.
cheaper. are expensive. cheaper.

Arduino devices
begin executing code
when they are turned
on. Therefore, when Raspberry Pi requires
How they power is turned off, the same care as a
handle power abruptly, you won’t PC. You have to shut Same as Arduino Same as Arduino
drop end up with a corrupt the operating system
operating system or down properly.
errors. The code will
simply start again
when plugged in.
5. Comparing between controller boards
Esp32 can perform
Arduino is generally multiple tasks
Raspberry Pi can STM32 can perform
used to perform simultaneously.
Capability perform multiple multiple tasks
single (and simple) Esp8266 perform single
tasks simultaneously. simultaneously.
tasks repeatedly. (and simple) tasks
repeatedly.

ESP32 supports
Arduino does not Raspberry Pi STM32 does not
Wireless Bluetooth and WiFi.
support Bluetooth or supports Bluetooth support Bluetooth or
connectivity ESP8266 supports
WiFi. and WiFi. WiFi.
Bluetooth and WiFi.

Speech Recognition,
Image Recognition,
PC and gaming
Cameras for Video
Traffic light peripherals, GPS
Streaming, Smart
countdown timer, Robot controller, platforms, industrial
Building, etc (ESP32).
Applications Parking lot counter, Game servers, Stop applications, PLCs,
Home appliances, Baby
Weighing machines, motion cameras, etc. inverters, printers,
monitors, Security ID
etc. scanners, alarm
tags, Wi-Fi location-
systems, etc
aware devices,
etc(ESP8266).
5. Comparing between controller boards
ESP32 ESP8266 Raspberry Pi 3 B+ Arduino Uno R3 STM32F103C8T6

CPU Tensilica Xtensa Tensilica LX106 Broadcom 16MHz 32-bit ARM Cortex
LX6 32 bit (up to 160 BCM2837B0, ATmega328P M3 72MHz max
32 bit Dual-Core @ MHz) Cortex-A53 64-bit
160 / 240Mhz. ((4) – Page 2) ((5) – Page 1)
SoC @ 1.4GHz
((2) – Page 7)
((3) – Page 2)
((1) – Page 24)
Co- ULP No No USB Bridge No
processor
((1) – Page 24) ((4) – Page 6)
RAM 520 KB Up to 50 KB 1 GB DDR2 2 KB 20 Kb
((1) – Page 24) ((2) – Page 8) ((3) – Page 2) ((4) – Page 2) ((5) – Page 1)
ROM 448 KB Use external SPI SD Card 32 KB 64 Kb or 128 Kb
(Flash) flash 16MB
((1) – Page 24) ((3) – Page 2) ((4) – Page 2) ((5) – Page 1)
((2) – Page 8)
UART 3 2 2 1 3 USARTs (ISO 7816
interface, LIN, IrDA
((1) – Page 37) ((2) – Page 15) ((9) – Page 4) ((4) – Page 2) capability, modem
control)
((5) – Page 1)
SPI 4 2 3 1 2
((6) – Page 117) ((2) – Page 14) ((9) – Page 4) ((4) – Page 2) ((5) – Page 1)
5. Comparing between controller boards
ESP32 ESP8266 Raspberry Pi 3 B+ Arduino Uno R3 STM32F103C8
T6
Wi-Fi Yes 802.11b/g/n Yes 802.11b/g/n 2.4GHz and 5GHz No No
(max 65Mbps) IEEE 802.11.b/g/n/ac
((1) – Page 8)
((2) – Page 1) ((3) – Page 2)

Bluetooth® Yes 4.2 BR/EDR + No 4.2 BLE No No


BLE
((3) – Page 2)
((1) – Page 9)

USB Host No No 4 Yes 1


((3) – Page 2) ((4) – Page 4) ((5) – Page 1)

Ethernet Yes 10/100Mbps Yes Yes No Yes


(LAN, RJ45)
((1) – Page 36) ((2) – Page 10) ((3) – Page 2) ((8) – Page 969)

RTC 16 KB (8KB in Yes Yes Yes Yes


Memory RTC FAST and
8KB in RTC ((7) – After Page ((9) – Page 196) ((4) – Page 2) ((8) – Page 482)
SLOW) 104 - Appendix 1)

((1) – Page 24)


5. Comparing between controller boards
ESP32 ESP8266 Raspberry Pi 3 Arduino Uno R3 STM32F103C8
B+ T6
External 8 MB up to No No No No
SPIRAM
((1) – Page 25)
External Flash 16 MB up to 16 MB up to SD Card No No
((1) – Page 25) ((2) – Page 8) ((3) – Page 2)
ESP-MESH Yes Yes No No No
((1) – Page 11) ((2) – Page 3)
CAN Yes v2.0 No No No Yes
((1) – Page 39) ((5) – Page 1)
GPIO 34 17 40 14 37
((1) – Page 34) ((2) – Page 13) ((3) – Page 2) ((4) – Page 9) ((5) – Page 10)

Hall effect sensor Yes No No No No


((1) – Page 35)

Temperature No No No No Yes
sensor
((5) – Page 20)
Touch sensors 10 No No No No
((1) – Page 35)
5. Comparing between controller boards
ESP32 ESP8266 Raspberry Pi 3 B+ Arduino Uno R3 STM32F103C8T6

I²C 2 1 1 1 2
((1) – Page 37) ((2) – Page 15) ((9) – Page 28) ((4) – Page 2) ((5) – Page 20)
I2S 2 2 Yes No No
((1) – Page 38) ((2) – Page 15) ((9) – Page 119)
ADC 12 bit SAR ADC up Yes 10 bit No Yes 2 x 12-bit, 1 μs A/D
to 18 channels converters (10 channels)
((2) – Page 17) ((4) – Page 9)
((1) – Page 40) ((5) – Page 10)
DAC 8 bit up to 2 No No No No
channels
((1) – Page 40)
PWM 6 4 2 6 1
((6) – Page 117) ((2) – Page 16) ((9) – Page 140) ((4) – Page 2) ((5) – Page 13)
SDMMC Yes No Yes No No
((1) – Page 27) ((3) – Page 2)

RMT (remote Yes Yes No No No


control)
((1) – Page 27) ((2) – Page 17)
Deep sleep 10 µA 20 µA Yes Yes Yes
consumption
((1) – Page 33) ((2) – Page 12) ((5) – Page 16)
6. Reference

1. ESP32 (1)
https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf

2. ESP8266 (2)
https://www.espressif.com/sites/default/files/documentation/0a-esp8266ex_datasheet_en.pdf

3. Raspberry Pi 3 B+ (3)
https://static.raspberrypi.org/files/product-briefs/Raspberry-Pi-Model-Bplus-Product-Brief.pdf

4. Arduino Uno R3 (4)


https://docs.arduino.cc/static/9af24ef3fb006667482b12d55ab2c282/A000066-datasheet.pdf

5. STM32F103C8T6 (5)
https://www.st.com/resource/en/datasheet/stm32f103c8.pdf

6. ESP32 (6)
https://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf#spi
6. Reference

7. ESP8266 (7)
https://www.espressif.com/sites/default/files/documentation/esp8266-technical_reference_en.pdf

8. STM32F103C8T6
https://www.st.com/resource/en/reference_manual/rm0008-stm32f101xx-stm32f102xx-stm32f103xx-stm32f105xx-and
stm32f107xx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf

9. Raspberry Pi 3 B+
https://www.raspberrypi.org/app/uploads/2012/02/BCM2835-ARM-Peripherals.pdf
Base on the document in this link
https://www.raspberrypi.com/documentation/computers/processors.html#bcm2837
The underlying architecture of the BCM2837 is identical to the BCM2836 and BCM2835. The only significant
difference is the replacement of the ARMv7 quad core cluster with a quad-core ARM Cortex A53 (ARMv8) cluster.
THANK YOU FOR
WATCHING

You might also like