The Adafruit QT Py ESP32 Pico is a compact microcontroller board powered by the ESP32 chip. It is designed for seamless integration with a wide range of sensors and peripherals, making it an excellent choice for Internet of Things (IoT) projects, wearable devices, and rapid prototyping. Its small form factor, built-in Wi-Fi and Bluetooth capabilities, and compatibility with CircuitPython and Arduino IDE make it a versatile and user-friendly development board.
The Adafruit QT Py ESP32 Pico is packed with features that make it a powerful yet compact development board. Below are its key technical specifications:
Specification | Details |
---|---|
Microcontroller | ESP32-PICO-D4 (dual-core Xtensa® 32-bit LX6 microprocessor) |
Clock Speed | Up to 240 MHz |
Flash Memory | 4 MB |
RAM | 520 KB SRAM |
Wireless Connectivity | Wi-Fi (802.11 b/g/n) and Bluetooth (v4.2 BR/EDR and BLE) |
Operating Voltage | 3.3V |
Input Voltage Range | 5V via USB-C or 3.3V via external power |
GPIO Pins | 11 GPIO pins (including ADC, I2C, SPI, UART, and PWM support) |
USB Interface | USB-C for power, programming, and data transfer |
Dimensions | 22.8 mm x 17.8 mm |
Programming Support | CircuitPython, Arduino IDE, MicroPython |
The QT Py ESP32 Pico features a total of 14 pins, including power, GPIO, and communication pins. Below is the pinout description:
Pin | Label | Function |
---|---|---|
1 | 3V3 | 3.3V power output |
2 | GND | Ground |
3 | A0 | Analog input (ADC), GPIO pin |
4 | A1 | Analog input (ADC), GPIO pin |
5 | SDA | I2C data line, GPIO pin |
6 | SCL | I2C clock line, GPIO pin |
7 | TX | UART transmit, GPIO pin |
8 | RX | UART receive, GPIO pin |
9 | SCK | SPI clock, GPIO pin |
10 | MISO | SPI master-in-slave-out, GPIO pin |
11 | MOSI | SPI master-out-slave-in, GPIO pin |
12 | D4 | Digital GPIO pin with PWM support |
13 | D5 | Digital GPIO pin with PWM support |
14 | USB-C | USB-C connector for power and programming |
The Adafruit QT Py ESP32 Pico is easy to use and can be programmed using CircuitPython, Arduino IDE, or MicroPython. Below are the steps to get started and some best practices for using the board.
Install Drivers and IDE:
Connect the Board:
Select the Board in the IDE:
Tools > Board
and select "Adafruit QT Py ESP32 Pico."Write and Upload Code:
Here is an example of how to blink the onboard LED using the Arduino IDE:
// Define the onboard LED pin
#define LED_PIN 13
void setup() {
// Set the LED pin as an output
pinMode(LED_PIN, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(LED_PIN, HIGH);
delay(500); // Wait for 500 milliseconds
// Turn the LED off
digitalWrite(LED_PIN, LOW);
delay(500); // Wait for 500 milliseconds
}
Board Not Detected by Computer:
Code Upload Fails:
Wi-Fi Connection Issues:
Overheating:
Q: Can I power the board with a battery?
A: Yes, you can power the board using a 3.7V LiPo battery connected to the 3V3 and GND pins, but ensure proper voltage regulation.
Q: Is the board compatible with Arduino libraries?
A: Yes, the QT Py ESP32 Pico is compatible with most Arduino libraries, especially those designed for ESP32.
Q: Can I use the board for Bluetooth Low Energy (BLE) projects?
A: Absolutely! The ESP32 chip supports BLE, making it suitable for low-power Bluetooth applications.
Q: How do I reset the board?
A: Press the "RESET" button on the board to restart it. You can also power cycle the board by disconnecting and reconnecting the USB cable.
By following this documentation, you can effectively use the Adafruit QT Py ESP32 Pico for a wide range of projects and applications. Happy prototyping!