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.
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 |
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);
}
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.