{"product_id":"adafruit-mcp2222-breakout-general-purpose-usb-to-gpio-spi-i2c-ada6559","title":"Adafruit MCP2222 Breakout - General Purpose USB to GPIO\/SPI\/I2C","description":"\u003cstyle type=\"text\/css\"\u003e.product-info-tutorial{margin-bottom:20px;}.product-tutorial-img-container{width:20%;}.product-tutorial-img-container img{margin:0;}\u003c\/style\u003e\u003c?xml version=\"1.0\" standalone=\"yes\"?\u003e\n\n\u003csection id=\"description\" class=\"prod-accordion-content prod-accordion-content-description mobile-text-wrapper\" aria-labelledby=\"tab-description-heading\"\u003e\n\t\t\t\u003cdiv class=\"tab-heading-row\"\u003e\n\t\t\t\t\u003ch2 id=\"tab-description-heading\"\u003e\n\t\t\t\t\t\t\t\t\t\t\tDescription\t\t\t\t\t\t\t\t\t\u003c\/h2\u003e\n\t\t\t\u003c\/div\u003e\n\t\t\t\u003cdiv id=\"tab-description-content\" class=\"panel-collapse collapse in\"\u003e\n\t\t\t\t\u003cp\u003eWouldn't it be cool to drive a \u003ca data-mce-href=\"https:\/\/www.adafruit.com\/categories\/98\" href=\"https:\/\/www.adafruit.com\/categories\/98\"\u003etiny OLED display\u003c\/a\u003e, read a \u003ca data-mce-href=\"https:\/\/www.adafruit.com\/products\/1334\" href=\"https:\/\/www.pakronics.com.au\/products\/ADA6461\"\u003ecolor sensor\u003c\/a\u003e, or even just flash some LEDs directly from your computer?  Sure you can program an \u003ca data-mce-href=\"https:\/\/www.adafruit.com\/products\/50\" href=\"https:\/\/www.adafruit.com\/products\/50\"\u003eArduino\u003c\/a\u003e or \u003ca href=\"https:\/\/www.adafruit.com\/search?q=qt+py\"\u003eQT Py\u003c\/a\u003e 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 \u003cem\u003ecan\u003c\/em\u003e talk to devices using the Adafruit MCP2222 breakout board!\u003c\/p\u003e\n\u003cp\u003eWhat can the MCP2222 chip do?  This chip from \u003ca href=\"https:\/\/www.microchip.com\/en-us\/product\/mcp2222\"\u003eMicrochip\u003c\/a\u003e is similar to a USB to serial converter chips but adds a GPIO, UART Serial, SPI and I2C interface as well. The I2C interface is great for talking to OLEDs, sensors, PWM drivers, its the most popular interface for small devices. SPI is for more sensors and many TFT displays. You can use the GPIO to do things like flash LEDs, read switches or buttons, and more. The MCP2222 breakout is like adding a little multi-tool for serial protocols to your computer!\u003c\/p\u003e\n\u003cp\u003eOne nifty capability of the MCP2222, unlike most USB-to-GPIO converters is the ability to use 3.3V \u003cem\u003eor\u003c\/em\u003e 5V logic. This makes it good for interfacing with some older sensors and devices that want 5V signals.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003ePlease note:\u003c\/strong\u003e The MCP2222 has more GPIO than the MCP2221, and comes with SPI too. But it does not have ADC or DAC like the '2221. Also, the SPI has inter-byte gaps so it cannot be used for 'fake' NeoPixel writes by modulating the MOSI pin.\u003c\/p\u003e\n\u003cp\u003eThis 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. 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.\u003c\/p\u003e\n\u003cp\u003eThis breakout has an MCP2222 chip, USB C connector, on-board 3V regulator, and a 4 pin JST SH port for I2C connectivity with 3V or 5V power and logic. \u003ca href=\"https:\/\/adafruit.com\/stemma\"\u003eThis port is Stemma QT \/ Qwiic compatible\u003c\/a\u003e for use with any sensor or chip that that has a matching port - you can even wire in Grove I2C devices with an adapter cable with \u003cstrong\u003eno soldering required! \u003c\/strong\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\"\u003eSee this guide for more info on Stemma QT\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"http:\/\/adafruit.com\/stemma\"\u003eCheck out all our Stemma QT sensors, cables, and devices you can use here.\u003c\/a\u003e\u003c\/p\u003e\t\t\t\u003c\/div\u003e\n\t\t\u003c\/section\u003e\u003cbr\u003e\u003cbr\u003e\u003csection id=\"technical-details\" class=\"prod-accordion-content prod-accordion-content-technical-details mobile-text-wrapper\" aria-labelledby=\"tab-technical-details-heading\"\u003e\n\t\t\t\u003cdiv class=\"tab-heading-row\"\u003e\n\t\t\t\t\u003ch2 id=\"tab-technical-details-heading\"\u003e\n\t\t\t\t\t\t\t\t\t\t\tTechnical Details\t\t\t\t\t\t\t\t\t\u003c\/h2\u003e\n\t\t\t\u003c\/div\u003e\n\t\t\t\u003cdiv id=\"tab-technical-details-content\" class=\"panel-collapse collapse in\"\u003e\n\t\t\t\t\u003cp\u003e\u003cstrong\u003eSpecifications:\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eCDC and Vendor Class for communications and configuration\u003c\/li\u003e\n\u003cli\u003eBus-powered or self-powered\u003c\/li\u003e\n\u003cli\u003eFully Configurable VID, PID and USB String Descriptors\u003c\/li\u003e\n\u003cli\u003eSPI Speeds up to 12MHz with 4 Chip Selects\u003c\/li\u003e\n\u003cli\u003eI2C Speeds up to 1MHz with configurable timeout\u003c\/li\u003e\n\u003cli\u003eUART speeds up to 1Mbps with hardware flow control\u003c\/li\u003e\n\u003cli\u003eConfigurable clock output up to 4MHz\u003c\/li\u003e\n\u003cli\u003eI2C, SPI and UART activity and I2C time out indicators\u003c\/li\u003e\n\u003cli\u003e4 Alert pins with configurable edge detection for remote wake-up\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eProduct Dimensions: 34.2mm x 0.7mm x 0.2mm \/ 1.3\" x 0.0\" x 0.0\" \u003c\/p\u003e\n\u003cp\u003eProduct Weight: 2.6g \/ 0.1oz \u003c\/p\u003e\t\u003cul id=\"product-files\"\u003e\n\t\t\t\t\t\u003cli\u003e\n\u003ca href=\"https:\/\/cdn-shop.adafruit.com\/product-files\/6559\/P6559+-MCP2222-Data-Sheet-DS40002695.pdf\"\u003eDatasheet\u003c\/a\u003e\n\t\t\t\u003c\/li\u003e\n\u003c\/ul\u003e\n\t\t\t\u003c\/div\u003e\n\t\t\u003c\/section\u003e\u003cbr\u003e\u003cbr\u003e\n","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":42891676844114,"sku":"ADA6559","price":25.02,"currency_code":"AUD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0735\/0383\/files\/6559-00.jpg?v=1794421148","url":"https:\/\/www.pakronics.com.au\/products\/adafruit-mcp2222-breakout-general-purpose-usb-to-gpio-spi-i2c-ada6559","provider":"Pakronics®","version":"1.0","type":"link"}