ESP types: Difference between revisions

From Wiki
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right; margin-left: 10px;" width="400px"
== ESP32 Microcontroller types ==
| Board PinOuts
{| class="wikitable"
|+
!
!CPU
!SRAM
!ROM
!Flash
!RTC SRAM
!Wifi
!Bluetooth
!GPIO
!ADC
!
!release
|-
|ESP32
|1x/2x LX6
|520KiB
|448KiB
|
|
|b/g/n 2.4G
|4.2
|34
|12bit
|
|2016
|-
|ESP32-S2
|1x LX7
|320KiB
|128KIB
|0-4MB
|16KiB
|b/g/n 2.4G
| -
|43
|2x13bit
|
|2019
|-
|ESP32-S3
|2x LX7
|512KiB
|384KiB
|0-8MB
|16KiB
|b/g/n 2.4G
|5 LE
|45
|2x12bit
|
|2020
|-
|ESP32-C2
|1x RISC-V
|272KiB
|576KiB
|1-4MB
|
|
|5 LE
|14
|
|
|2022
|-
|'''ESP32-C3'''
|'''1x RISC-V'''
|'''400KiB'''
|'''384KiB'''
|'''0-4MB'''
|'''8KiB'''
|'''b/g/n 2.4G'''
|'''5 LE'''
|'''22/16'''
|'''2x12bit'''
|'''ESP8266 pins comp.'''
|'''2020'''
|-
|ESP32-C6
|1x RISC-V
|512KiB
|320KiB
|0-4MB
|
|b/g/n/ax 2.4G
|5.3 LE
|30/22
|12bit
|'''Zigbee + Thread'''
|2023
|-
|ESP32-H2
|1x RISC-V
|256KiB
|
|2-4MB
|
|
|5.3 LE
|19
|
|'''Zigbee + Thread'''
|
|-
|ESP32-C5
|1x RISC-V
|400KiB
|384KiB
|
|
|b/g/n/ax 2.4G
|5 LE
|20+
|
|
|?
|-
|ESP32-P4
|2x RISC-V
|768KiB
|
|
|
| -
| -
|50+
|
|
|?
|}
 
 
== ESP Board types ==
{| class="wikitable"
|+
!Name
!Vin
!GPIOs
!ADCs
!Comm
|-
|ESP32-C3 Super Mini
|5V
|11
|4
|2x UART, 1x I2C, 1x SPI
|-
|ESP32 DEVKITV1
|
|
|
|
|-
|D1 Mini
|5V
|11
|1
|
|-
|-
|NodeMCU (8266)
|4.5-10V
|11
|1
|
|
* [[Microcontroller/ESP-01]]
* [[Microcontroller/D1mini]]
* [[Microcontroller/ESP32-mini]]
|}
|}


== Comparison ==
{| class="wikitable"
|+
!
!Flash
!RAM
!PSRAM
|-
| colspan="4" |'''ESP8266'''
|-
|ESP-01
|ext. 1MB
|80kB
|
|-
|Wemos D1 Mini
|ext. 4MB
|80kB
|
|-
|NodeMCU
|
|
|
|-
| colspan="4" |'''ESP8265'''
|-
|ESP-01
|int. 1-2MB
|
|
|-
| colspan="4" |'''ESP32'''
|-
|WROOM based
|4MB
|520kB (328k usable)
|0MB
|-
|ESP32-mini
|4MB
|520kB
|0MB
|-
|Lolin32
|4MB
|520kB
|0MB
|-
|ESP32 DevKit v1
|4MB
|520kB
|0MB
|-
|WROVER based
|4MB
|520kB
|8MB
|}


== ESP8266 ==
== ESP8266 ==
* Pinout
* Pinout
** ESP-01: [https://homecircuits.eu/blog/wp-content/uploads/2016/01/esp-01-pins.jpg]
** Wemos D1 Mini: [https://esp8266-server.de/dateien/wemos/D1-mini-pinoutKl.png]
** Wemos D1 Mini: [https://esp8266-server.de/dateien/wemos/D1-mini-pinoutKl.png]
** ESP-01: [https://homecircuits.eu/blog/wp-content/uploads/2016/01/esp-01-pins.jpg]
** NodeMCU: [https://lastminuteengineers.com/wp-content/uploads/arduino/ESP-12E-Development-Board-ESP8266-NodeMCU-Pinout.png]


{| class="wikitable"
{| class="wikitable"
Line 23: Line 243:
!SPI
!SPI
!ESP-01
!ESP-01
!D1 Mini
!Comment
!Comment
!Boot behaviour
!Boot behaviour
|-
|-
|GPIO5
|GPIO14
|D1
|D5
|
|
|
|SCK
|
|
|x
|
|
|
|
|-
|-
|GPIO4
|GPIO12
|D2
|D6
|
|
|
|MISO
|
|
|x
|
|
|
|
|-
|-
|GPIO14
|GPIO13
|D5
|D7
|
|
|SCK
|MOSI
|
|
|x
|
|
|
|
|-
|-
|GPIO12
|GPIO5
|D6
|D1
|SCL
|
|
|MISO
|
|
|x
|
|
|
|
|-
|-
|GPIO13
|GPIO4
|D7
|D2
|SDA
|
|
|MOSI
|
|
|x
|
|
|
|
Line 71: Line 297:
|
|
|
|
|
|x
|Pulldown resistor
|high on boot
|high on boot
|-
|-
Line 79: Line 306:
|CS
|CS
|
|
|x
|
|
|Boot failure if high
|Boot failure if high
Line 86: Line 314:
|
|
|
|
|x
|x
|x
|
|
|Boot failure if low
|Boot failure if low
|-
|-
| colspan="6" |'''Inputs'''
| colspan="7" |'''Inputs'''
|
|
|-
|-
Line 98: Line 327:
|
|
|
|
|x
|Analog input
|Analog input
|
|
|-
|-
| colspan="6" |'''Serial'''
| colspan="7" |'''Serial'''
|
|
|-
|-
Line 108: Line 338:
|
|
|
|
|x
|x
|x
|TX
|TX
Line 116: Line 347:
|
|
|
|
|x
|x
|x
|RX
|RX
|high on boot
|high on boot
|-
|-
| colspan="6" |'''Strapping Pins (Boot)'''
| colspan="7" |'''Strapping Pins (Boot)'''
|
|-
|GPIO16
|
|
|
|
|
|
|
|-
|-
Line 136: Line 360:
|
|
|x (LED)
|x (LED)
|x
|
|
|high on boot, boot failure if low
|high on boot, boot failure if low
Line 143: Line 368:
* Pinout  
* Pinout  
** ESP32-mini: [https://www.bastelgarage.ch/image/catalog/Artikel/420571-420580/420571-Pinout.jpg]
** ESP32-mini: [https://www.bastelgarage.ch/image/catalog/Artikel/420571-420580/420571-Pinout.jpg]
** Lolin32: [http://1.bp.blogspot.com/-mG0x8f0BKTA/WmiYamp9XdI/AAAAAAAAg5Y/N_P7plcbtmU-15JKqURYqE_yjt98AUdxwCLcBGAs/s1600/Lolin32_pinout03.png]
** Lolin32: [https://www.mischianti.org/wp-content/uploads/2020/09/ESP32-WeMos-LOLIN32-pinout-mischianti.jpg]
** ESP32 Devkit v1 (30pin): [https://raw.githubusercontent.com/AchimPieters/esp32-homekit-camera/master/Images/ESP32-30PIN-DEVBOARD.png]
** ESP32 Devkit v1 (30pin): [https://raw.githubusercontent.com/AchimPieters/esp32-homekit-camera/master/Images/ESP32-30PIN-DEVBOARD.png]
** ESP32 Devkit v1 (38pin): [https://raw.githubusercontent.com/AchimPieters/esp32-homekit-camera/master/Images/ESP32-38PIN-DEVBOARD.png]
** ESP32 Devkit v1 (38pin): [https://raw.githubusercontent.com/AchimPieters/esp32-homekit-camera/master/Images/ESP32-38PIN-DEVBOARD.png]


* WROVER = 8MB PSRAM
{| class="wikitable"
{| class="wikitable"
|+Pin Priorities
|+Pin Priorities
Line 473: Line 699:
|}
|}


== ATmega32U4 ==
[[Category:Electronics]]

Latest revision as of 17:58, 21 January 2024

ESP32 Microcontroller types

CPU SRAM ROM Flash RTC SRAM Wifi Bluetooth GPIO ADC release
ESP32 1x/2x LX6 520KiB 448KiB b/g/n 2.4G 4.2 34 12bit 2016
ESP32-S2 1x LX7 320KiB 128KIB 0-4MB 16KiB b/g/n 2.4G - 43 2x13bit 2019
ESP32-S3 2x LX7 512KiB 384KiB 0-8MB 16KiB b/g/n 2.4G 5 LE 45 2x12bit 2020
ESP32-C2 1x RISC-V 272KiB 576KiB 1-4MB 5 LE 14 2022
ESP32-C3 1x RISC-V 400KiB 384KiB 0-4MB 8KiB b/g/n 2.4G 5 LE 22/16 2x12bit ESP8266 pins comp. 2020
ESP32-C6 1x RISC-V 512KiB 320KiB 0-4MB b/g/n/ax 2.4G 5.3 LE 30/22 12bit Zigbee + Thread 2023
ESP32-H2 1x RISC-V 256KiB 2-4MB 5.3 LE 19 Zigbee + Thread
ESP32-C5 1x RISC-V 400KiB 384KiB b/g/n/ax 2.4G 5 LE 20+ ?
ESP32-P4 2x RISC-V 768KiB - - 50+ ?


ESP Board types

Name Vin GPIOs ADCs Comm
ESP32-C3 Super Mini 5V 11 4 2x UART, 1x I2C, 1x SPI
ESP32 DEVKITV1
D1 Mini 5V 11 1
NodeMCU (8266) 4.5-10V 11 1


Comparison

Flash RAM PSRAM
ESP8266
ESP-01 ext. 1MB 80kB
Wemos D1 Mini ext. 4MB 80kB
NodeMCU
ESP8265
ESP-01 int. 1-2MB
ESP32
WROOM based 4MB 520kB (328k usable) 0MB
ESP32-mini 4MB 520kB 0MB
Lolin32 4MB 520kB 0MB
ESP32 DevKit v1 4MB 520kB 0MB
WROVER based 4MB 520kB 8MB

ESP8266

  • Pinout
Pin Priorities
Pin I2C SPI ESP-01 D1 Mini Comment Boot behaviour
GPIO14 D5 SCK x
GPIO12 D6 MISO x
GPIO13 D7 MOSI x
GPIO5 D1 SCL x
GPIO4 D2 SDA x
GPIO16 D0 x Pulldown resistor high on boot
GPIO15 D8 CS x Boot failure if high
GPIO0 D3 x x Boot failure if low
Inputs
ADC A0 x Analog input
Serial
GPIO1 TX x x TX high on boot, failure if low
GPIO3 RX x x RX high on boot
Strapping Pins (Boot)
GPIO2 D4 x (LED) x high on boot, boot failure if low

ESP32

  • Pinout
    • ESP32-mini: [4]
    • Lolin32: [5]
    • ESP32 Devkit v1 (30pin): [6]
    • ESP32 Devkit v1 (38pin): [7]
  • WROVER = 8MB PSRAM
Pin Priorities
Pin ADC1 DAC RTC(WakeUp) Touch SPI Comment
IO04 x x
IO05 CS
IO16
IO17
IO18 CLK
IO19 MISO
IO23 MOSI
IO25 x x
IO26 x x
IO27 x x
IO32 x x x
IO33 x x x
IO12 x x HSPI (Platform IO JTAG)
IO13 x x HSPI (Platform IO JTAG)
IO14 x x HSPI (Platform IO JTAG)
IO15 x x HSPI (Platform IO JTAG)
Input only
IO34 x x Input only
IO35 x x Input only
IO36 x x Input only, Hall
IO39 x x Input only, Hall
Serial, I2C, SPI
IO1 TX
IO3 RX
IO21 I2C SDA
IO22 I2C SCL
Strapping Pins (Boot)
IO0 x Boot button
IO2 x Block flash
IO5 ?
IO15 Low = no boot log
Flash Chip
IO06
IO07
IO08
IO09
IO10
IO11