The Adafruit ESP32 Feather V2 is a compact and versatile microcontroller board powered by the ESP32 chip. It features built-in Wi-Fi and Bluetooth capabilities, making it an excellent choice for Internet of Things (IoT) projects, wearable devices, and other wireless applications. Designed with the Feather form factor, it is compatible with a wide range of FeatherWing add-ons, enabling easy expansion and customization.
Common applications for the Adafruit ESP32 Feather V2 include:
The Adafruit ESP32 Feather V2 is packed with features to support a variety of applications. Below are its key technical details:
The Adafruit ESP32 Feather V2 has a total of 20 GPIO pins, each with specific functions. Below is the pinout description:
Pin | Name | Function |
---|---|---|
1 | GND | Ground |
2 | 3.3V | 3.3V power output |
3 | EN | Enable pin (active high) |
4 | GPIO0 | General-purpose I/O, also used for boot mode selection |
5 | GPIO1 (TX0) | UART0 TX (serial communication) |
6 | GPIO3 (RX0) | UART0 RX (serial communication) |
7 | GPIO5 | General-purpose I/O, PWM capable |
8 | GPIO12 | General-purpose I/O, ADC capable |
9 | GPIO13 | General-purpose I/O, ADC capable |
10 | GPIO14 | General-purpose I/O, ADC capable |
11 | GPIO15 | General-purpose I/O, ADC capable |
12 | GPIO16 | General-purpose I/O, ADC capable |
13 | GPIO17 | General-purpose I/O, ADC capable |
14 | GPIO18 (SCK) | SPI clock line |
15 | GPIO19 (MISO) | SPI MISO (Master In Slave Out) |
16 | GPIO21 (MOSI) | SPI MOSI (Master Out Slave In) |
17 | GPIO22 (SCL) | I2C clock line |
18 | GPIO23 (SDA) | I2C data line |
19 | GPIO25 | General-purpose I/O, DAC capable |
20 | GPIO26 | General-purpose I/O, DAC capable |
The Adafruit ESP32 Feather V2 is easy to use in a variety of projects. Below are the steps to get started and important considerations:
Install the ESP32 Board Package:
File > Preferences
and add the following URL to the "Additional Board Manager URLs" field:https://dl.espressif.com/dl/package_esp32_index.json
Tools > Board > Boards Manager
, search for "ESP32," and install the package.Connect the Board:
Adafruit ESP32 Feather
) and port under the Tools
menu in the Arduino IDE.Upload Code:
The following example demonstrates how to blink the onboard LED (connected to GPIO13):
// Blink example for Adafruit ESP32 Feather V2
// This code blinks the onboard LED connected to GPIO13
#define LED_PIN 13 // Define the onboard LED pin
void setup() {
pinMode(LED_PIN, OUTPUT); // Set the LED pin as an output
}
void loop() {
digitalWrite(LED_PIN, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(LED_PIN, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
Board Not Detected in Arduino IDE:
Upload Fails with Timeout Error:
BOOT
button on the board while uploading the sketch.Wi-Fi Connection Issues:
Q: Can I power the board with a LiPo battery and USB simultaneously?
A: Yes, the onboard charging circuit will manage the battery charging safely.
Q: How do I reset the board?
A: Press the RESET
button on the board to restart it.
Q: Can I use the board with CircuitPython?
A: Yes, the Adafruit ESP32 Feather V2 supports CircuitPython. Follow Adafruit's guide to install and use CircuitPython on the board.
By following this documentation, you can effectively use the Adafruit ESP32 Feather V2 in your projects. Happy tinkering!