Introduction to ESP32
Introduction to ESP32
Wireless Connectivity
Reset/Boot buttons
In ESP32 board comes with two main push buttons one is the
Reset (RST/EN) button another is the BOOT button.
The reset button is used to reset the ESP32 Chip.
The use of the boot button is to enter in boot mode to upload
the new sketch or program
Power
Status Indicator
Note: GPIO34, GPIO35, GPIO36, and GPIO39 are the only input
pins
ADC: On-chip 12-bit SAR (Successive Approximation Registers)
ADCs (Analog to Digital Converter) which supports measurements
on 16 channels of ESP32.
I2C: The ESP32 development board has only one I2C bus
interface (Supported in Arduino IDE). which can serve as an I2C
master or slave, depending on the user’s configuration.
SPI: ESP32 has three SPIs which are SPI, HSPI, and VSPI. These
SPIs also support the following general-purpose SPI features:
ESP-IDF
Arduino IDE
VS Code
Thonny IDE
PyCharm
Mu Editor
uPyCraft IDE
VS Code + Pymakr extension
The ESP32 is a
chip that provides Wi-Fi and Bluetooth connectivity for embedded devices. It has many features,
including:
ADC pins
The ESP32 has 18 analog to digital converter (ADC) channels that can read analog signals from sensors.
Some ADC pins include GPIO 36, GPIO 37, GPIO 38, GPIO 39, GPIO 32, GPIO 33, GPIO 34, GPIO 35, GPIO
4, GPIO 0, GPIO 2, GPIO 15, GPIO 13, GPIO 12, GPIO 14, GPIO 27, GPIO 25, and GPIO 26.
These pins can detect capacitance changes, allowing for touch-sensitive interfaces and waking up the
ESP32 from deep sleep.
PWM pins
These pins generate analog-like signals from digital outputs, which can be used for motor control and
LED dimming.
These built-in sensors detect magnetic fields, which can be useful for proximity sensing.
GPIO pins
The ESP32 has 34 GPIO pins that can be used as general-purpose I/O or connected to internal peripheral
signals.
Bootstrapping pins
These pins are used for bootstrapping during the boot process. They include GPIO0, GPIO2, GPIO5,
GPIO12, and GPIO15.
JTAG pins
These pins can be used for debugging purposes. They include GPIO12, GPIO13, GPIO14, and GPIO15.
When designing a project with an ESP32, it's important to plan pin usage carefully to avoid conflicts and
ensure proper functioning.