The ESP32-WROOM-32UE is a powerful, feature-rich microcontroller module designed by Espressif Systems. It is built around the ESP32-D0WD chipset and is known for its Wi-Fi and Bluetooth capabilities. This module is suitable for a wide range of Internet of Things (IoT) applications, from simple home automation to complex industrial control systems.
Pin Number | Name | Description |
---|---|---|
1 | 3V3 | Power supply (3.3V) |
2 | GND | Ground |
3 | EN | Chip enable (active high) |
... | ... | ... |
38 | IO36 | General purpose IO / ADC channel |
Note: This is a simplified representation of the pinout. Please refer to the manufacturer's datasheet for the complete pinout and pin descriptions.
Q: Can the ESP32-WROOM-32UE be used with a 5V power supply? A: No, the module requires a 3.3V power supply. Using a 5V power supply can damage the module.
Q: How many GPIO pins can be used for input/output? A: The module has 38 GPIO pins, but some are used for specific functions. Check the datasheet to determine which pins are available for general use.
Q: Is the ESP32-WROOM-32UE compatible with the Arduino IDE? A: Yes, the module can be programmed using the Arduino IDE with the appropriate board manager installed.
Q: What is the maximum Wi-Fi range of the ESP32-WROOM-32UE? A: The range depends on several factors, including the antenna design, obstructions, and interference. Typically, the range can be up to 150 meters in open space.
Below is an example of how to use the ESP32-WROOM-32UE with an Arduino UNO for a simple Wi-Fi scan:
#include "WiFi.h"
void setup() {
Serial.begin(115200);
// Initialize the WiFi module
WiFi.mode(WIFI_STA);
WiFi.disconnect();
delay(100);
Serial.println("Setup done");
}
void loop() {
// WiFi.scanNetworks will return the number of networks found
Serial.println("Scan start");
int n = WiFi.scanNetworks();
Serial.println("Scan done");
if (n == 0) {
Serial.println("No networks found");
} else {
Serial.print(n);
Serial.println(" networks found");
for (int i = 0; i < n; ++i) {
// Print SSID and RSSI for each network found
Serial.print(i + 1);
Serial.print(": ");
Serial.print(WiFi.SSID(i));
Serial.print(" (");
Serial.print(WiFi.RSSI(i));
Serial.print(")");
Serial.println((WiFi.encryptionType(i) == WIFI_AUTH_OPEN)?" ":"*");
delay(10);
}
}
Serial.println("");
// Wait a bit before scanning again
delay(5000);
}
This code will perform a Wi-Fi network scan and print the results to the serial monitor. Make sure to select the appropriate board and port in the Arduino IDE before uploading the code to the ESP32 module.