ESP32 ESP32 ESP-WROOM-32D

Manual d'usuari de la placa de desenvolupament ESP32 ESP-WROOM-32D amb pantalla OLED de 0.96 polzades

Model: ESP32 ESP-WROOM-32D

Marca: ESP32

1. Introducció

This manual provides detailed instructions for the ESP32 ESP-WROOM-32D Development Board, an integrated solution for IoT projects. It combines Wi-Fi and Bluetooth capabilities with an onboard 0.96-inch OLED display, offering a versatile platform for various applications. Please read this manual thoroughly before using the development board to ensure proper operation and to maximize its potential.

A dalt view of the ESP32 ESP-WROOM-32D Development Board with integrated OLED display.
Figura 1: superior view of the ESP32 ESP-WROOM-32D Development Board with integrated OLED display.

2. Característiques

  • Integrated ESP-WROOM-32 module.
  • Supports 802.11b/g/n Wi-Fi and Bluetooth 4.2 BR/EDR + BLE standards.
  • Low-power dual-core 32-bit CPU, capable of acting as an application processor.
  • CPU main frequency up to 240MHz, with computing power up to 600DMIPS.
  • Built-in 520KB SRAM.
  • Supports various interfaces: UART, SPI, I2C, PWM, DAC, ADC, SDIO, I2S, IR.
  • Supports openOCD debugging interface.
  • Multiple sleep modes with deep sleep current as low as 6.5uA.
  • Embedded LWip and FreeRTOS operating systems.
  • Supports STA/AP/STA+AP Wi-Fi modes.
  • Supports SmartConfiguration/AirKiss one-click network configuration.
  • Universal AT commands for ease of use.
  • Supports local serial port upgrade and remote firmware over-the-air (FOTA) upgrade.
  • Integrated 0.96-inch OLED display (128x64 pixels, SSD1306 driver, I2C Address 0x3C).

3. Especificacions

ParàmetreValor
Nom del producteESP32 WiFi+BT Dual-Mode Development Board
Flash SPI32 Mbit per defecte
BluetoothBluetooth 4.2 BR/EDR and BLE standards
Wi-Fi802.11b/g/n/
Interfícies suportadesUART, SPI, SDIO, I2C, PWM, I2S, IR, ADC, DAC
On-chip SensorsHall sensors, Temperature sensors, Capacitive touch sensors
Ports IO22
Velocitat del port sèriePer defecte 115200 bps
Interval d'espectre2412~2484MHz
Forma de l'antenaOnboard PCB antenna with 2dBi gain
Transmission Power (802.11b)17 ± 2dBm (@ 11Mbps)
Transmission Power (802.11g)14 ± 2dBm (@ 54Mbps)
Transmission Power (802.11n)13 ± 2dBm (@ MCS7)
Receiving Sensitivity (CCK, 1Mbps)-90 dBm
Receiving Sensitivity (CCK, 11Mbps)-85 dBm
Receiving Sensitivity (6Mbps, 1/2BPSK)-88 dBm
Receiving Sensitivity (54Mbps, 3/4 64-QAM)-70 dBm
Receiving Sensitivity (MCS7, 65Mbps, 72.2Mbps)-67 dBm
Consum d'energia300 mA @ 3.3V
SeguretatWPA/WPA2/WPA2 Enterprise/WPS
Font d'alimentació USB5V
Vin Pin Power Supply6.0 V ~ 12 V
Temperatura de treball-20 °C ~ 80 °C
Dimensions53.2 mm x 28.7 mm

4. Configuració i primers passos

4.1. Juntaview

En angle view of the ESP32 ESP-WROOM-32D Development Board.
Figura 2: Angle view of the ESP32 ESP-WROOM-32D Development Board.
A baix view of the ESP32 ESP-WROOM-32D Development Board.
Figura 3: A baix view of the ESP32 ESP-WROOM-32D Development Board.

4.2. USB Port Selection

The development board is available with different USB connector types. Ensure you have the correct cable for your board variant (Mini USB, Micro USB, or Type-C).

Comparison of Mini USB, Micro USB, and Type-C variants of the ESP32 development board.
Figure 4: USB Port Variants (Mini USB, Micro USB, Type-C).

4.3. Diagrama de fixació

Refer to the pinout diagram for connecting external components and understanding the GPIO assignments.

Detailed pinout diagram for the ESP32 ESP-WROOM-32D Development Board, showing GPIOs, power pins, and special functions.
Figure 5: ESP32 ESP-WROOM-32D Pinout Diagram. This diagram illustrates the function of each pin, including GPIOs, power, and communication interfaces. Pins labeled 'GPIX' are input-only.

4.4. Font d'alimentació

The board can be powered via the USB port (5V) or through the Vin pin (6.0V to 12V). Ensure the power supply voltage està dins del rang especificat per evitar danys.

4.5. Connexió de la bateria

The board includes a 3.7V lithium battery interface (2-pin 1.25mm connector) for portable applications.

Diagram showing the 3.7V lithium battery interface on the ESP32 development board.
Figure 6: 3.7V Lithium Battery Interface (2-pin 1.25mm).

4.6. Configuració del programari

To program the ESP32 development board, you will typically use the Arduino IDE or ESP-IDF. Follow these general steps:

  1. Instal·leu el controlador USB: Depending on your operating system and the USB-to-serial chip on your board (e.g., CP210x, CH340), you may need to install a specific USB driver.
  2. Instal·leu l'IDE d'Arduino: Download and install the Arduino IDE from the official weblloc.
  3. Add ESP32 Board Support: A l'IDE d'Arduino, aneu a File > Preferences and add the ESP32 board manager URL. Then, go to Tools > Board > Boards Manager and search for 'ESP32' to install the platform.
  4. Selecciona la junta: Go to Tools > Board and select 'ESP32 Dev Module' or a similar appropriate board.
  5. Seleccioneu el port: Go to Tools > Port and select the serial port connected to your ESP32 board.
  6. Upload Code: Write or load your code, then click the 'Upload' button. You may need to press the 'BOOT' button on the board while uploading if prompted.

5. Instruccions de funcionament

5.1. Funcionament bàsic

  • Encès: Connect the board to a power source (USB or Vin pin). The power LED should illuminate.
  • Restablir: Press the 'EN' (Enable/Reset) button to restart the ESP32.
  • Mode d'arrencada: The 'BOOT' button is used to put the ESP32 into firmware upload mode. Hold it down while pressing and releasing 'EN', then release 'BOOT'.

5.2. OLED Display Usage

The integrated 0.96-inch OLED display uses the I2C protocol. The default I2C address is 0x3C. The SDA pin is connected to GPIO21 and the SCL pin to GPIO22. You can use standard OLED libraries (e.g., Adafruit SSD1306 library) with the Arduino IDE to control the display.

5.3. Wi-Fi and Bluetooth

The ESP32 supports various Wi-Fi and Bluetooth functionalities. Refer to the ESP-IDF programming guide or Arduino ESP32 examples for detailed instructions on implementing Wi-Fi (STA, AP, STA+AP modes) and Bluetooth (BR/EDR, BLE) applications.

6. Solució De Problemes

  • Board not detected by PC: Ensure USB drivers are correctly installed. Try a different USB cable or port.
  • Upload failed: Check if the correct board and serial port are selected in the IDE. Ensure the board is in bootloader mode (press BOOT button during upload if necessary). Verify power supply.
  • OLED not displaying: Check I2C connections (GPIO21/SDA, GPIO22/SCL) and ensure the correct I2C address (0x3C) is used in your code. Verify the OLED library is correctly installed and initialized.
  • Problemes de connectivitat Wi-Fi/Bluetooth: Double-check network credentials. Ensure antenna is not obstructed. Verify power supply stability.
  • Unexpected resets: This can be caused by insufficient power supply (especially during Wi-Fi/Bluetooth operations). Ensure your power supply can provide enough current (300mA at 3.3V).

7. Manteniment

  • Keep the board in a dry, static-free environment.
  • Avoid exposing the board to extreme temperatures or humidity.
  • Do not apply excessive force to the pins or connectors.
  • Clean the board gently with a soft, dry brush if dust accumulates. Avoid liquids.
  • Regularly check for firmware updates for the ESP32 platform to benefit from bug fixes and new features.

8. Consells d'usuari

  • When using the board with a breadboard, ensure all pins are correctly aligned to prevent short circuits.
  • For projects requiring stable power, consider using the Vin pin with a regulated 6-12V power supply instead of relying solely on USB, especially when driving many peripherals.
  • Utilize the deep sleep modes for battery-powered applications to significantly extend battery life.
  • Explore the extensive online community and documentation for ESP32 for project ideas, code examples, and advanced techniques.

9. Garantia i Suport

This product is designed for hobbyists and developers. For technical support, please refer to the vast online resources available for ESP32 development boards, including official Espressif documentation, community forums, and open-source projects. While specific warranty details are not provided, proper handling and adherence to this manual will ensure the longevity and functionality of your development board.

For further assistance, please contact your retailer or the manufacturer directly.

Documents relacionats - ESP32 ESP-WROOM-32D

Preview Placa de desenvolupament ESP32 amb pantalla OLED de 0.96: configuració i especificacions
Una guia completa per a la placa de desenvolupament ESP32 amb una pantalla OLED de 0.96 polzades. Aquest document detalla la introducció del producte, els paràmetres tècnics, les descripcions dels pins i les instruccions pas a pas per configurar l'entorn IDE d'Arduino i programar la placa.
Preview ESP32 Development Board User Guide and FCC Compliance Information
Comprehensive user guide for the ESP32 Development Board, covering FCC compliance, RF exposure, technical specifications, WiFi and Bluetooth features, block diagram, and pin descriptions.
Preview Desenvolupament d'ESP32 amb mòdul de visualització MSP4030/MSP4031: instruccions de demostració
Una guia completa per utilitzar els mòduls de visualització MSP4030 i MSP4031 amb plaques de desenvolupament ESP32, que cobreix la configuració, les connexions de pins, etc.ampprogrames, configuració de biblioteques i compilació.
Preview Instruccions de demostració de l'ESP32-32E de 28 polzades E32R28T i E32N2.8T
Guia completa que detalla la configuració, l'assignació de pins i l'ús de diversos programes de demostració per al mòdul de pantalla ESP32-32E de 28 polzades E32R28T i E32N2.8T utilitzant l'IDE d'Arduino. Cobreix biblioteques de programari, WiFi, Bluetooth i funcionalitats de pantalla tàctil.
Preview Manual d'usuari del mòdul de visualització ESP2.8-32E de 32 polzades
User manual for the 2.8-inch ESP32-32E Display Module, covering resource description, software and hardware instructions, and precautions for use. Details include ESP32-WROOM-32E module, ILI9341 LCD controller, SPI communication, USB-to-serial conversion, and various circuit diagrams.
Preview Manual d'usuari del mòdul de pantalla ESP32-32E de 3.5 polzades (E32R35T i E32N35T)
Manual d'usuari complet per al mòdul de pantalla ESP32-32E de 3.5 polzades (models E32R35T i E32N35T). Aquesta guia detalla els recursos de maquinari, els passos de desenvolupament de programari, les explicacions esquemàtiques de diversos circuits (Tipus C, SPI, USB a sèrie, àudio, gestió de bateries, etc.) i les precaucions d'ús essencials. Inclou el mòdul ESP32-WROOM-32E, el controlador de pantalla ST7796 i el controlador tàctil XPT2046.