Most of the sensors, OLEDs and motor drivers in a school electronics kit speak I2C or SPI, and your laptop speaks neither. That gap is why every classroom demo starts with “first, flash the Arduino.” Adafruit’s new MCP2222 Breakout removes that step: plug it into a USB-C port and your Python script on Windows, Linux or macOS gets real GPIO, I2C, SPI and UART pins, no firmware upload, no bootloader drama.
What the board is
The MCP2222 is a Microchip USB bridge chip. Adafruit put it on a breakout (product 6559, listed at $10.95 USD) with a USB-C jack, a STEMMA QT / Qwiic connector for plug-and-play I2C modules, and a slide switch that sets the logic level to 3.3 V or 5 V. That switch also drives the Vio pin, so a 5 V Arduino-era shield and a 3.3 V modern sensor can both be driven correctly. There is an onboard 3 V regulator, a green power LED, and a reset pin pulled high internally. Think of it as a USB-to-serial adapter that grew six GPIO pins and two extra buses.
Specs that matter on the bench
- GPIO: G0 to G5, digital in or out. No internal pull-up or pull-down, so add a 10K resistor on the breadboard for buttons.
- I2C: SDA and SCL with 10K pull-ups already fitted. OLEDs, BME280s and PCA9685 PWM drivers just work.
- SPI: SCK, MOSI, MISO at up to 12 MHz with four chip selects (G4, G2, G1, G3). Enough for a TFT or an SD card.
- UART: TX/RX up to 1 Mbps with hardware flow control, exposed as a normal COM/tty port, fully separate from the GPIO.
- Missing: no ADC, no DAC. The older MCP2221A has 3 analog inputs and 1 analog output but only 4 GPIO and no hardware SPI, so pick by what your project needs.
Software side, the board runs through CircuitPython Blinka. You pip install pyserial pymcp2222 adafruit-blinka, export BLINKA_MCP2222=1, then import board and dir(board) should list the pins. On Linux you also need a udev rule for vendor 04d8, product 0b15, or opening the device fails with a permissions error. Two gotchas from the guide: the SPI output has gaps between bytes, so the MOSI-bit-banging trick for NeoPixels will not work, and the environment variable has to be set in every new terminal on Windows and Mac.
Build it yourself
A good first project for an ECE lab: wire a 0.96-inch SSD1306 OLED to the STEMMA QT port, a push button from G0 to GND with a 10K pull-up to 3V, and write a Python script that prints the button state to the screen. Because the code runs on the laptop, students can use the full Python ecosystem, pandas, matplotlib, a Flask dashboard, while still toggling real pins. The complete pinout, OS-specific install steps and example code are in the Adafruit Learning guide at learn.adafruit.com/adafruit-mcp2222-breakout. Set the Vlogic switch to 3V before you plug in anything from a modern sensor kit.
Frequently Asked Questions
What does the MCP2222 breakout actually do?
It bridges a computer’s USB port to hardware buses. Over USB-C it exposes 6 GPIO pins, an I2C bus with 10K pull-ups, SPI up to 12 MHz with 4 chip selects, and a UART up to 1 Mbps, all controllable from Python on Windows, Linux or macOS through CircuitPython Blinka.
How is it different from the older MCP2221A breakout?
The MCP2222 has 6 GPIO instead of 4 and adds hardware SPI, but drops the MCP2221A’s 3 ADC inputs and 1 DAC output. If your project needs analog readings, keep the MCP2221A or add an external ADC like the ADS1115 over I2C.
What will I learn if I build this?
You will learn how I2C, SPI and UART differ at the pin level, why pull-up resistors matter, how USB device permissions work on Linux (udev rules), and how to drive real hardware from desktop Python without writing or flashing microcontroller firmware.
