Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use SparkFun Qwiic Pro Micro - USB-C: Examples, Pinouts, and Specs

Image of SparkFun Qwiic Pro Micro - USB-CDesign with SparkFun Qwiic Pro Micro - USB-C in Cirkit Designer

Introduction

The SparkFun Qwiic Pro Micro - USB-C is a versatile development board that harnesses the power of the ATmega32U4 microcontroller. This board is an excellent choice for hobbyists and professionals alike, providing a compact form factor with a USB-C connection for programming and power. The inclusion of Qwiic connectors simplifies the process of integrating various sensors and modules, making it an ideal platform for rapid prototyping and development of electronic projects.

Explore Projects Built with SparkFun Qwiic Pro Micro - USB-C

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Bluetooth-Controlled Robotic Vehicle with Ultrasonic Obstacle Detection and Motion Sensing: A project utilizing SparkFun Qwiic Pro Micro - USB-C in a practical application
Bluetooth-Controlled Robotic Vehicle with Ultrasonic Obstacle Detection and Motion Sensing

This circuit features a SparkFun Pro Micro microcontroller interfaced with an L298N DC motor driver to control two DC motors, an HC-SR04 ultrasonic sensor for distance measurement, a Bluetooth module HM-10 for wireless communication, and an MPU-6050 for motion tracking. The Pro Micro is responsible for processing sensor data and managing motor speeds and directions via the motor driver. Power is supplied by a 5V battery connected to the Pro Micro and a separate battery case providing 12V to the motor driver.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin Number Function Description
1 TXO Transmit pin for serial communication
2 RXI Receive pin for serial communication
3 GND Ground
4 GND Ground
5 2 General purpose digital I/O pin
6 3 General purpose digital I/O with PWM
... ... ...
23 A3 Analog input channel 3
24 A2 Analog input channel 2
25 A1 Analog input channel 1
26 A0 Analog input channel 0
27 RST Reset pin
28 GND Ground
29 RAW Raw voltage input for VCC
30 VCC Positive supply voltage

Note: This is a partial table for illustration purposes.

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Board: Connect the USB-C cable to the board and a computer or USB power source.
  2. Connecting Qwiic Devices: Attach Qwiic-enabled devices to the Qwiic connectors on the board.
  3. Programming: Use the Arduino IDE or other compatible software to write and upload sketches to the board.
  4. I/O Pin Usage: Utilize the digital and analog pins for interfacing with various sensors, actuators, and other components.

Important Considerations and Best Practices

Example Code for Arduino UNO

// Blink an LED connected to pin 9

void setup() {
  pinMode(9, OUTPUT); // Set pin 9 as an output
}

void loop() {
  digitalWrite(9, HIGH); // Turn the LED on
  delay(1000);           // Wait for a second
  digitalWrite(9, LOW);  // Turn the LED off
  delay(1000);           // Wait for a second
}

Troubleshooting and FAQs

Common Issues

Solutions and Tips for Troubleshooting

FAQs

Q: Can I power the board without a USB-C connection? A: Yes, you can supply power through the RAW pin, but ensure the voltage is regulated and does not exceed 5V.

Q: How many Qwiic devices can I connect? A: You can daisy-chain multiple Qwiic devices, but be mindful of the power consumption and I2C address conflicts.

Q: Is the board compatible with all Arduino libraries? A: Most libraries that support the ATmega32U4 should be compatible, but some may require modifications due to the board's specific hardware configuration.