The ESP32 WROOM Dev Kit is a versatile development board that harnesses the power of the ESP32 WROOM module, a microcontroller integrated with Wi-Fi and Bluetooth capabilities. This development kit is designed for Internet of Things (IoT) projects, offering a rich set of features that make it suitable for applications ranging from home automation to industrial control systems.
Pin Number | Function | Description |
---|---|---|
1 | 3V3 | 3.3V power supply |
2 | GND | Ground |
3 | EN | Reset pin (active low) |
4 | VP | GPIO36, ADC1_CH0, Sensor VP |
5 | VN | GPIO39, ADC1_CH3, Sensor VN |
... | ... | ... |
n | GND | Ground |
Note: This is a partial table for illustration purposes. The actual pinout would include all pins.
#include <WiFi.h>
// Replace with your network credentials
const char* ssid = "your_SSID";
const char* password = "your_PASSWORD";
void setup() {
Serial.begin(115200);
// Connect to Wi-Fi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.println("Connecting to WiFi...");
}
Serial.println("Connected to WiFi");
}
void loop() {
// Put your main code here, to run repeatedly:
}
Note: This code is for connecting the ESP32 to a Wi-Fi network.
Q: Can the ESP32 WROOM Dev Kit be used with the Arduino IDE?
A: Yes, the ESP32 WROOM Dev Kit is compatible with the Arduino IDE. You will need to install the ESP32 board add-on.
Q: What is the maximum current that can be drawn from a GPIO pin?
A: The maximum current per GPIO pin is typically 12 mA.
Q: How can I save power when running on battery?
A: Utilize the deep sleep mode to significantly reduce power consumption when the device is not performing tasks.