# ESP32 De ESP32 is een budgetserie van laag-vermogen microcontrollers met geïntegreerde Wi-Fi en dual-mode Bluetooth. De ESP32-serie maakt gebruik van een Tensilica Xtensa LX6- microprocessor in zowel dual-core als single-core uitvoering. De ESP32 is gemaakt en ontwikkeld door Espressif Systems, een in Shanghai gevestigd Chinees bedrijf, en wordt vervaardigd door TSMC met behulp van hun 40nm-proces. Het is een opvolger van de ESP8266 microcontroller. Deze microcontroller is erg populair bij hobbyisten voor het ontwikkelen van Internet of things applicaties. De ESP32 is verkrijgbaar in diverse uitvoeringen. Zelf heb ik een ESP32 Wroom 32D (38 pins) aangeschaft om mee te experimenteren. [![ESP32-ESP-WROOM-32.jpg](https://www.linuxfun.nl/uploads/images/gallery/2023-09/scaled-1680-/esp32-esp-wroom-32.jpg)](https://www.linuxfun.nl/uploads/images/gallery/2023-09/esp32-esp-wroom-32.jpg) #### **Pin bezetting ESP32 Wroom 32 (38 pins)** [![ESP32-Pinout.png](https://www.linuxfun.nl/uploads/images/gallery/2023-09/scaled-1680-/esp32-pinout.png)](https://www.linuxfun.nl/uploads/images/gallery/2023-09/esp32-pinout.png) [![ESP32-Pinout-2.jpg](https://www.linuxfun.nl/uploads/images/gallery/2023-09/scaled-1680-/esp32-pinout-2.jpg)](https://www.linuxfun.nl/uploads/images/gallery/2023-09/esp32-pinout-2.jpg) #### **ESP32-WROOM-32 (ESP-WROOM-32) Pin Configuration**
**Pin Category****Pin Name****Details**
Power**Micro-USB, 3.3V, 5V,** **GND****Micro-USB:** ESP32 can be powered through USB port**5V:** Regulated 5V can be supplied to this pin which is we be again regulated to 3.3V by on board regulator, to power the board.**3.3V:** Regulated 3.3V can be supplied to this pin to power the board.**GND:** Ground pins.
Enable**En**The pin and the button resets the microcontroller.
Analog Pins**ADC1\_0 to ADC1\_5 and ADC2\_0 to ADC2\_9**Used to measure analog voltage in the range of 0-3.3V.12-bit 18 Channel ADC
DAC pins**DAC1 and DAC2**Used for Digital to analog Conversion
Input/output Pins**GPIO0 to GPIO39**Totally 39 GPIO pins, can be used as input or output pins. 0V (low) and 3.3V (high). But pins 34 to 39 can be used as input only
Capacitive Touch pins**T0 to T9**These 10 pins can be used a touch pins normally used for capacitive pads
RTC GPIO pins**RTCIO0 to RTCIO17**These 18 GPIO pins can be used to wake up the ESP32 from deep sleep mode.
SerialRx, **Tx**Used to receive and transmit TTL serial data.
External InterruptsAll GPIOAny GPIO can be use to trigger an interrupt.
PWMAll GPIO16 independent channel is available for PWM any GPIO can be made to work as PWM though software
VSPIGPIO23 (MOSI), GPIO19(MISO), GPIO18(CLK) and GPIO5 (CS)Used for SPI-1 communication.
HSPIGPIO13 (MOSI), GPIO12(MISO), GPIO14(CLK) and GPIO15 (CS)Used for SPI-2 communication.
IICGPIO21(SDA), GPIO22(SCL)Used for I2C communication.
AREF**AREF**To provide reference voltage for input voltage.
#### **ESP32-WROOM-32 (ESP-WROOM-32) Technical features**
MicroprocessorTensilica Xtensa LX6
Maximum Operating Frequency240MHz
Operating Voltage3.3V
Analog Input Pins12-bit, 18 Channel
DAC Pins8-bit, 2 Channel
Digital I/O Pins39 (of which 34 is normal GPIO pin)
DC Current on I/O Pins40 mA
DC Current on 3.3V Pin50 mA
SRAM520 KB
CommunicationSPI(4), I2C(2), I2S(2), CAN, UART(3)
Wi-Fi802.11 b/g/n
BluetoothV4.2 – Supports BLE and Classic Bluetooth
#### Shop [AliExpress](https://nl.aliexpress.com/item/32864722159.html?spm=a2g0s.9042311.0.0.47ad4c4dUupYEV)