Esp 32 Data
Esp 32 Data
1
NO YES
(TX0)
3
YES NO
(RX0)
4 YES YES
5 YES YES
6 NO NO
7 NO NO
8 NO NO
9 NO NO
10 NO NO
11 NO NO
12
(MTDI YES (Internal pull-down) YES
)
13 YES YES
14 YES YES
15
(MTD YES (Internal pull-up) YES
O)
16 YES YES
17 YES YES
18 YES YES
19 YES YES
21 YES YES
22 YES YES
23 YES YES
25 YES YES
26 YES YES
27 YES YES
32 YES YES
33 YES YES
34 YES NO
35 YES NO
36
YES NO
(VP)
39
YES NO
(VN)
EN NO NO
Comments
outputs PWM signal at boot, must be LOW to enter
flashing mode Pin HIGH at Boot
No internal pull-up/pull-down
No internal pull-up/pull-down
Some GPIOs change their state to HIGH or output PWM signals at boot or reset. This means that
GPIO 1
GPIO 3
GPIO 5
GPIO 6 to GPIO 11 (connected to the ESP32 integrated SPI flash memory – not recommended to u
GPIO 14
GPIO 15
eset. This means that if you have outputs connected to these GPIOs you may get unexpected results when
To set a PWM signal, you need to define these parameters in the code:
Signal’s frequency;
Duty cycle;
PWM channel;
GPIO where you want to output the signal.
Learn how to use ESP32 PWM with Arduino IDE: ESP32 PWM with Arduino IDE
can be configured to generate PWM signals with different properties. All pins that can act as outputs can b
h Arduino IDE
can act as outputs can be used as PWM pins (GPIOs 34 to 39 can’t generate PWM).
1) For Arduino microcontroller use the library “IRremote” from
2) For ESP8266 and ESP32 microcontroller use the library “IRre
3) Pins GPIO36 (VP), GPIO39 (VN), GPIO34, and GPIO35 can on
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
library “IRremote” from Ken Shirriff
oller use the library “IRremoteESP8266” from David Conran
O34, and GPIO35 can only be used as input. They also do not have internal pull-up and pull-down resistors (p
d pull-down resistors (pinMode(36, INPUT_PULLUP) or pinMode(36, INPUT_PULLDOWN) cannot be used).
WN) cannot be used).