🛠 First connection and startup of the Metro ESP32-P4 Hydra
Objectives
This tutorial guides you through the first startup of the Adafruit Metro ESP32-P4 Hydra board. We will explore flexible power options, connect the board to a computer for development, and confirm that the system is operational. This high-performance SoC requires attention to power management but remains beginner-friendly thanks to standard USB compatibility.
Required Hardware
- 1x Adafruit Metro ESP32-P4 Hydra board
- 1x Quality USB-C cable (data and power)
- 1x Computer (Windows, macOS, or Linux)
- Optional: 7-12 V DC power supply or charged LiPo battery
Steps
- Power Selection : The board accepts three main sources. For this tutorial, we will use the USB-C port. Plug the USB-C cable into the dedicated port on the board. Ensure the cable is fully inserted.
- Computer Connection : Connect the other end of the USB-C cable to your computer. The USB-C port handles both power and serial communication for debugging. You should see a power LED light up on the board, indicating the regulation circuit is active.
- Driver Installation : On most modern systems, the serial port is recognized automatically. If not, install the USB-to-Serial driver (often CH340 or CP210x, check specific Hydra docs). Open Device Manager (Windows) or type
ls /dev/ttyUSB*(Linux) to identify the port. - Bootloader Mode Check : The board uses TinyUF2 firmware. To verify readiness, hold the BOOT button (if present) during reset. The USB port should appear as a removable drive named 'METROBOOT' or similar.
- Test Code Upload : Open Arduino IDE or CircuitPython. Select the identified serial port. Upload a simple 'Blink' program or Python script to light an LED. Note that GPIO pins are 3.3V; do not connect 5V components directly without level-shifting.
Verification
After uploading, observe the board. If a blink program was loaded, an LED should flash regularly. In the IDE serial monitor, you should see startup messages from the OS (ESP-IDF or CircuitPython) confirming RISC-V core and PSRAM initialization. No messages suggest a wrong port selection or a power-only USB cable.
Further Exploration
Once the basics are mastered, explore video capabilities by connecting a DSI screen via MIPI connectors, or test wireless connectivity via the ESP32-C6 coprocessor. Don't forget to explore LiPo battery power management for autonomous projects.
Other tutorials for this board
- Controlling GPIOs and a Simple Display on Metro ESP32-P4 Hydra
- Store Data on Adafruit Metro ESP32-P4 Hydra
- First Startup of the Metro ESP32-P4 Hydra
- Controlling an I2C sensor with ESP32-P4 Hydra
- Advanced Startup: Power, USB, and Debugging on ESP32-P4 Hydra
- High-Speed USB Storage Automation on ESP32-P4 Hydra
Code examples for this board
esp32-p4-hydra-gpio-blink.inoC++ (Arduino)esp32-p4-hydra-mpu6050-i2c.inoC++ (Arduino)esp32-p4-hydra-wifi-http.inoC++ (Arduino)esp32-p4-hydra-sdcard-write.inoC++ (Arduino)esp32-p4-hydra-usb-host-mouse.inoC++ (Arduino)esp32-p4-hydra-gpio-led-blink.inoC++ (Arduino)