Adafruit's MCP2222 Breakout Brings SPI, I2C, UART, and GPIO to Your PC's USB Ports
By Gareth Halfacree
Adafruit has launched a replacement for its Microchip MCP221A-based hardware interface board, now built around the MCP2222 — adding Serial Peripheral Interface (SPI) support and additional interface pins, but losing the analog input and output capabilities of the original. "Wouldn't it be cool to drive a tiny OLED display, read a color sensor, or even just flash some LEDs directly from your computer," the company asks, rhetorically, echoing the same sentiment as when it launched the original variant of its interface board. "Sure you can program an Arduino or QT Py to talk to these devices and your computer, but why can't your computer just talk to those devices and sensors itself? Well, now your computer can talk to devices using the Adafruit MCP2222 breakout board!" The compact board is built around Microchip's MCP2222, providing a USB Type-C connector at one end and a Qwiic/STEMMA QT connector at the other — and breadboard-friendly general-purpose input/output (GPIO) pin headers along the edges between. Connected to a USB Host, it provides a way to interface with UART serial, SPI, and I2C buses, as well as its GPIO pins, with selectable 3.3V or 5V logic levels. "This chip is powerful and useful to have when you want to use Python (for example) to quickly iterate and test a device that uses SPI, UART, I2C or general purpose digital I/O," the company says. "There's no firmware to deal with, so you don't have to deal with how to send data to and from an Arduino which is then sent to and from an electronic sensor or display or part." There is a catch, however: the new board replicates most of the features of the since-discontinued MCP2221 breakout, except for two: it lacks analog to digital and digital to analog converters (ADCs and DACs). There's also an important limitation to the SPI bus, Adafruit notes: "the SPI [bus] has inter-byte gaps so it cannot be used for 'fake' NeoPixel writes by modulating the MOSI pin," the company warns. The new Adafruit MCP2222 Breakout is now available on the Adafruit store for $10.95 before volume discounts, a notable increase over the $6.50 of the original model. Adafruit has launched a replacement for its old Microchip MCP2221A-based hardware interface board, featuring the MCP2222. (📷: Adafruit) Compared to the original (above), the MCP2222 variant adds SPI and more GPIO — but loses ADC and DAC capabilities. (📷: Adafruit)
↑ Back to top
Originally published by
Hackster News ↗
· rebuilt here from its own full-text RSS feed · all rights
remain with the publisher, please read and support them there.