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

How to Use Adafruit ItsyBitsy RP2040: Examples, Pinouts, and Specs

Image of Adafruit ItsyBitsy RP2040Design with Adafruit ItsyBitsy RP2040 in Cirkit Designer

Introduction

The Adafruit ItsyBitsy RP2040 is a small, powerful microcontroller board that harnesses the capabilities of the Raspberry Pi RP2040 chip. This board is designed for makers and hobbyists who need a compact, yet feature-rich, development platform for their projects. With its versatility, the ItsyBitsy RP2040 is ideal for applications in robotics, Internet of Things (IoT), wearable devices, and more.

Explore Projects Built with Adafruit ItsyBitsy RP2040

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 Battery-Powered Smart Light with Proximity Sensor and OLED Display using Adafruit QT Py RP2040: A project utilizing Adafruit ItsyBitsy RP2040 in a practical application
Battery-Powered Smart Light with Proximity Sensor and OLED Display using Adafruit QT Py RP2040

This circuit is a portable, battery-powered system featuring an Adafruit QT Py RP2040 microcontroller that interfaces with an OLED display, a proximity sensor, an accelerometer, and an RGB LED strip. The system is powered by a lithium-ion battery with a step-up boost converter to provide 5V for the LED strip, and it includes a toggle switch for power control. The microcontroller communicates with the sensors and display via I2C.

Open Project in Cirkit Designer

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin Number Name Description
1 GND Ground
2 VBUS USB input voltage (5V)
3 3V3 3.3V output from the onboard regulator
4-7 D0-D3 General Purpose I/O pins, D0 can be used for UART RX
8-9 SDA/SCL I2C Data/Clock pins
10-12 D4-D6 General Purpose I/O pins, D5 can be used for UART TX
13 D7 General Purpose I/O pin, can also be used for SPI SCK
14-16 D8-D10 General Purpose I/O pins, D10 can be used for SPI CS
17 D11 General Purpose I/O pin, can also be used for SPI MISO
18 D12 General Purpose I/O pin, can also be used for SPI MOSI
19-21 D13-D15 General Purpose I/O pins, D13 can be used for LED
22-23 A0-A1 Analog Input pins, can also be used as digital I/O
24 A2 Analog Input pin, can also be used as digital I/O, DAC output
25 VIN Voltage input for the board, 3.3V to 5V

Usage Instructions

Setting Up the ItsyBitsy RP2040

  1. Connect the ItsyBitsy RP2040 to your computer using a USB-C cable.
  2. Install the necessary drivers and board support package for the RP2040 in your Integrated Development Environment (IDE), such as the Arduino IDE or Thonny Python IDE.
  3. Select the Adafruit ItsyBitsy RP2040 from the list of available boards in your IDE.

Programming the ItsyBitsy RP2040

Best Practices

Example Code for Arduino UNO

Here is a simple example of blinking an LED on pin D13 using the Arduino IDE:

// Define the LED pin
const int ledPin = 13;

void setup() {
  // Initialize the LED pin as an output
  pinMode(ledPin, OUTPUT);
}

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

Troubleshooting and FAQs

Common Issues

FAQs

Q: Can I power the ItsyBitsy RP2040 with a battery? A: Yes, you can power it with a battery connected to the VIN pin, provided the voltage is within the 3.3V to 5V range.

Q: Is the ItsyBitsy RP2040 compatible with Raspberry Pi accessories? A: No, it is not directly compatible with Raspberry Pi accessories as it has a different form factor and pinout.

Q: How do I reset the board? A: You can reset the board by briefly connecting the RST pin to the GND pin.

For further assistance, refer to the Adafruit ItsyBitsy RP2040 forums and community resources.