Grablo Help Grablo Help
  • User Manual
  • Tips
  • News
  • Go to
    • Grablo Home
    • Grablo App
  • 한국어
Grablo Help Grablo Help
문의하기
Grablo Help Grablo Help
  • User Manual
  • Tips
  • News
  • Go to
    • Grablo Home
    • Grablo App
  • 한국어
loading
  1. Home
  2. Tips
  3. Hardware
  4. GPIO Expander
  5. MCP2221A
Updated on August 11, 2025

Tips

  • Folder icon closed Folder open iconBasics
    • Bits and Bytes
    • Digital Input/Output
    • Digital/Analog Signals
    • Calculating LED Resistor Values
    • Pull-up/down Resistors
    • 3.3V ↔ 5V Conversion
    • Serial Communication (UART)
    • DC Motor, Servo Motor, Stepper Motor
    • Multi Thread
    • Relay
  • Folder icon closed Folder open iconHardware
    • Raspberry Pi
      • GPIO
      • Installing Operating System
      • How to Change 1-Wire Pin
      • How to Find I2C Device Addresses
      • Raspberry Pi vs Arduino
      • Serial (UART) Port
      • Using Desktop Environment with VNC
    • Beagle Bone
      • GPIO
      • Installing Operating System
    • Jetson Nano
      • GPIO
      • Installing Operating System
    • GPIO Expander
      • FT232H/FT2232H/FT4232H
      • MCP2221A
      • NUMATO USB-GPIO
  • Folder icon closed Folder open iconLinux
    • Linux Directory Structure
    • Configuring Linux Auto Login
    • Installing Linux on Windows (Virtual Machine)
    • Installing Linux on macOS (Virtual Machine)
    • Installing SSH Server
    • Finding Your Controller’s IP Address
    • Connecting via SSH
    • Transferring Files Between PC and Controller
    • Fixing “User is not in the sudoers file” Error
  • Folder icon closed Folder open iconAudio/Video
    • Fixing Audio Stuttering and Latency Issues
    • Playing Audio Through Bluetooth Speakers
    • Selecting Instruments from SoundFont Files
    • Fixing “Failed to create new vlc instance” Error
  • Folder icon closed Folder open iconDatabase
    • Setting Up Firebase Database
  • Folder icon closed Folder open iconIoT
    • Setting Up Google Cloud TTS/STT
    • Setting Up OpenAI TTS/STT
    • Setting Up ElevenLabs TTS
    • Setting Up Telegram Bot
    • Getting Data from WeatherAPI.com

MCP2221A

Estimated reading: 2 minutes 308 views

The MCP2221A is a USB-to-GPIO, I2C, ADC, DAC, UART converter module.



Pin Map

The name, purpose, and GPIO number of each pin are as follows:

PinNameGPIO Number
5VPower
3.3VPower
GNDGND
RST(R)Reset
SCLI2C SCL
SDAI2C SDA
RXUART RX
TXUART TX
G0GPIO00
G1GPIO1/ADC11
G2GPIO2/ADC2/DAC2
G3GPIO3/ADC3/DAC3


Power

Pins for supplying power to connected devices (LEDs, I2C devices…) or resetting the module.

  • 5V: 5V power supplied from USB.
  • 3.3V: 3.3V power supplied from the internal voltage regulator.
  • GND: Common GND for power and logic.
  • RST: Pin for resetting the module. The module resets when LOW is applied.
The MCP2221A receives power through the USB port. Therefore, be careful as the USB port may be damaged if the total current consumption exceeds approximately 400~500mA.


I2C

Pins for I2C communication.

  • SCL
  • SDA


UART

Pins for UART communication. UART communication can be used through serial devices (e.g., /dev/ttyS0).

  • RX
  • TX


Digital I/O

4 pins can be used for digital input/output. GPIO numbers 0~3 are used.

  • G0
  • G1
  • G2
  • G3


ADC

Pins G1~G3 can be used as 10-bit (0~1023) ADC. The input voltage range is 0~3.3V or 0~5V depending on the jumper setting. (See voltage level change below)

  • ADC1 (G1)
  • ADC2 (G2)
  • ADC3 (G3)


DAC

Pin G2 or G3 can be used as a 5-bit (0~31) DAC pin. DAC output is simultaneously output to both G2 and G3. The output voltage range is 0~3.3V or 0~5V depending on the jumper setting. (See voltage level change below)

  • DAC (G2 or G3)



Voltage Level Change

The default voltage level for digital I/O, ADC, DAC, I2C, and UART communication is 3.3V. You can change it to 5V level by modifying the module’s jumper. As shown in the figure below, cut the 3V jumper and solder the 5V jumper on the right. (This may vary depending on the module used; described based on the Adafruit MCP2221 board)

Changing to 5V level

찾으시는 내용이 없나요? 문의하기

문의하기

공유하기

MCP2221A

Or copy link

Clipboard Icon
콘탠츠

ㅤ

Grablo Inc.
support@grablo.co

Site Links

  • Grablo Home
  • Grablo App

이 사이트의 모든 컨텐츠는 저작권법에 보호받는 저작물로서, 무단으로 복제, 배포하는 경우에는 저작권법에 의하여 처벌을 받을 수 있습니다. Copyright 2024 grablo.co. All Rights Reserved.