0% found this document useful (0 votes)
60 views14 pages

Esp 32 Data

This document provides information about the GPIO pins on an ESP32 microcontroller, including whether they can be configured as inputs or outputs, and if they have internal pull-ups or pull-downs. It notes that some GPIO pins will output PWM signals or change state during reset or boot. It also provides brief information about using the ESP32's PWM controller and libraries for receiving infrared signals.

Uploaded by

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

Esp 32 Data

This document provides information about the GPIO pins on an ESP32 microcontroller, including whether they can be configured as inputs or outputs, and if they have internal pull-ups or pull-downs. It notes that some GPIO pins will output PWM signals or change state during reset or boot. It also provides brief information about using the ESP32's PWM controller and libraries for receiving infrared signals.

Uploaded by

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

GPIO INPUT OUTPUT

0 YES (Internal pull-up) YES

1
NO YES
(TX0)

2 YES (Internal pull-down) YES

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

UART communication with the PC

connected to on-board LED, must be left floating


or LOW to enter flashing mode

UART communication with the PC Pin HIGH at Boot

outputs PWM signal at boot, strapping pin Pin


HIGH at Boot
Connected to the internal flash
Connected to the internal flash
Connected to the internal flash
Connected to the internal flash
Connected to the internal flash
Connected to the internal flash

Must be at 0V during the BOOT. boot fails if pulled


high, strapping pin

outputs PWM signal at boot Pin HIGH at Boot

Startup log if at 3.3V outputs PWM signal at boot,


strapping pin Pin HIGH at Boot

Not available on WROVER


Not available on WROVER
No internal pull-up/pull-down
No internal pull-up/pull-down

No internal pull-up/pull-down

No internal pull-up/pull-down

Connected to the EN button (ESP32 Reset)


Pins HIGH at Boot

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

not recommended to use).


nexpected results when the ESP32 resets or boots.
PWM
The ESP32 LED PWM controller has 16 independent channels that can be configured to ge

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

(GPIOs 34 to 39 can’t generate PWM).

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).

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy