The ESP-WROOM-32, manufactured by Wemos, is a powerful Wi-Fi and Bluetooth module based on the ESP32 chip. It is designed for Internet of Things (IoT) applications, offering dual-core processing, low power consumption, and a wide range of connectivity options. This module is highly versatile and suitable for a variety of projects, from home automation to industrial IoT systems.
The ESP-WROOM-32 module is built around the ESP32 chip, which integrates robust wireless communication capabilities and powerful processing features.
Parameter | Value |
---|---|
Microcontroller | ESP32 (dual-core Xtensa® 32-bit LX6) |
Clock Speed | Up to 240 MHz |
Flash Memory | 4 MB (external SPI flash) |
SRAM | 520 KB |
Wi-Fi Standards | 802.11 b/g/n (2.4 GHz) |
Bluetooth | Bluetooth v4.2 BR/EDR and BLE |
Operating Voltage | 3.0V to 3.6V |
GPIO Pins | 34 (multipurpose, including ADC, DAC, PWM, I2C, SPI, UART, etc.) |
ADC Channels | 18 (12-bit resolution) |
DAC Channels | 2 |
Power Consumption | Ultra-low power consumption in deep sleep mode (~10 µA) |
Operating Temperature | -40°C to +85°C |
Dimensions | 18 mm x 25.5 mm |
The ESP-WROOM-32 module has multiple pins for various functionalities. Below is a summary of the key pins:
Pin Name | Function | Description |
---|---|---|
3V3 | Power Supply | 3.3V power input. |
GND | Ground | Ground connection. |
EN | Enable | Active-high pin to enable the module. |
GPIO0 | Boot Mode/General Purpose I/O | Used for boot mode selection or as a GPIO pin. |
GPIO2 | General Purpose I/O | Can be used as a GPIO or connected to peripherals. |
GPIO16-39 | General Purpose I/O | Multipurpose pins for ADC, DAC, PWM, I2C, SPI, UART, etc. |
TXD0/RXD0 | UART0 | Default UART pins for serial communication. |
TXD1/RXD1 | UART1 | Secondary UART pins for serial communication. |
ADC1/ADC2 | Analog-to-Digital Converter | 18 channels for analog input (12-bit resolution). |
DAC1/DAC2 | Digital-to-Analog Converter | 2 channels for analog output. |
IO34-39 | Input Only | GPIO pins that can only be used as inputs. |
The ESP-WROOM-32 module is easy to integrate into a variety of projects. Below are the steps and best practices for using it effectively.
The ESP-WROOM-32 can be programmed using the Arduino IDE. Below is an example of how to connect the module to Wi-Fi and print the IP address.
ESP-WROOM-32 Pin | Arduino UNO Pin |
---|---|
3V3 | 3.3V |
GND | GND |
TXD0 | RX (Pin 0) |
RXD0 | TX (Pin 1) |
#include <WiFi.h> // Include the Wi-Fi library for ESP32
// Replace with your network credentials
const char* ssid = "Your_SSID";
const char* password = "Your_PASSWORD";
void setup() {
Serial.begin(115200); // Start serial communication at 115200 baud
delay(1000); // Wait for a second to stabilize
Serial.println("Connecting to Wi-Fi...");
WiFi.begin(ssid, password); // Connect to the Wi-Fi network
while (WiFi.status() != WL_CONNECTED) {
delay(500); // Wait for connection
Serial.print(".");
}
Serial.println("\nWi-Fi connected!");
Serial.print("IP Address: ");
Serial.println(WiFi.localIP()); // Print the module's IP address
}
void loop() {
// Add your main code here
}
Module Not Responding:
Wi-Fi Connection Fails:
Frequent Resets:
Upload Fails:
Q: Can the ESP-WROOM-32 operate on 5V?
A: No, the module operates at 3.3V. Using 5V can damage the module.
Q: How do I reset the module?
A: Pull the EN pin low momentarily to reset the module.
Q: Can I use the ESP-WROOM-32 with Bluetooth and Wi-Fi simultaneously?
A: Yes, the ESP32 chip supports simultaneous use of Bluetooth and Wi-Fi.
Q: What is the maximum range of the Wi-Fi connection?
A: The range depends on environmental factors but typically extends up to 100 meters in open space.
This documentation provides a comprehensive guide to using the ESP-WROOM-32 module effectively in your projects.