HW-839 MCP23017 I2C CJMCU-2317 Serial Interface 16-Bit I/O Expander Module
The HW-839 MCP23017 I2C CJMCU-2317 16-Bit I/O Expander Module is a compact GPIO expansion solution for Arduino, ESP32, ESP8266, Raspberry Pi, STM32 and other microcontroller-based projects. It uses the I²C serial communication interface to provide 16 additional bidirectional digital I/O pins while requiring only SDA and SCL communication lines from the host controller.
Based on the MCP23017 16-bit I/O expander, the module provides two 8-bit GPIO banks, GPIOA and GPIOB, giving developers flexible control of digital inputs and outputs. The three hardware address pins allow multiple MCP23017 devices to share the same I²C bus, with up to 8 uniquely addressed devices, potentially providing up to 128 additional I/O pins.
The module is particularly useful when a development board runs out of GPIO pins. It can be used for LED control, push buttons, keypads, relay interfaces, LCD displays, digital sensors, robotics, automation systems, IoT projects and embedded electronics.
For Bangladeshi students and electronics enthusiasts, the HW-839/CJMCU-2317 is a practical module for Arduino and ESP32 experiments, university projects, robotics projects, automation prototypes and DIY electronics.
Features:
- 16-bit digital I/O expansion
- Based on MCP23017
- I²C serial interface
- Provides 16 configurable bidirectional GPIO pins
- Two 8-bit ports: GPIOA and GPIOB
- Uses only SDA and SCL for communication
- Three hardware address pins
- Up to 8 MCP23017 devices on one I²C bus
- Supports configurable interrupt outputs
- Suitable for Arduino, ESP32, ESP8266, Raspberry Pi and STM32 projects
- Useful for robotics, IoT, automation and embedded systems
- Compact PCB module suitable for prototyping
The MCP23017 supports I²C bus speeds of 100 kHz, 400 kHz and up to 1.7 MHz, depending on the device configuration and implementation.
Specifications:
| Specification | Details |
|---|---|
| Product Model | HW-839 / CJMCU-2317 |
| Main IC | MCP23017 |
| Function | 16-Bit I/O Expander |
| Interface | I²C / I2C Serial |
| GPIO | 16 Bidirectional Digital I/O |
| GPIO Banks | GPIOA + GPIOB |
| Address Pins | A0, A1, A2 |
| Maximum Devices | Up to 8 on one I²C bus |
| I²C Speed | 100 kHz / 400 kHz / up to 1.7 MHz |
| Interrupt | INTA / INTB |
| Reset | RESET |
| Supply Range | MCP23017 supports approximately 1.8V–5.5V depending on operating conditions |
| Applications | Arduino, ESP32, Raspberry Pi, IoT, Robotics, Automation |
| Module Type | GPIO Expansion / I/O Expander |
The underlying MCP23017 device is specified for a 1.8 V to 5.5 V supply range under applicable operating conditions, while the exact voltage compatibility of a particular breakout board should be checked against its PCB design and components.
Pin Description:
| Pin | Function |
|---|---|
| VCC | Power supply |
| GND | Ground |
| SDA | I²C Serial Data |
| SCL | I²C Serial Clock |
| RESET | External reset input |
| INTA | Port A interrupt |
| INTB | Port B interrupt |
| A0 | I²C address selection |
| A1 | I²C address selection |
| A2 | I²C address selection |
| GPA0–GPA7 | Port A GPIO |
| GPB0–GPB7 | Port B GPIO |
The CJMCU-2317 implementation exposes GPIOA/GPIOB, SDA/SCL, interrupt and reset connections for practical microcontroller integration.
Why Use an MCP23017 I/O Expander?
When an Arduino, ESP32 or other controller does not have enough GPIO pins, adding another microcontroller can be unnecessary. The MCP23017 provides 16 additional digital I/O lines through an I²C connection, making it a convenient way to expand GPIO while conserving MCU pins.
For example, an I²C connection needs only:
SDA + SCL + Power + Ground
The remaining GPIO pins can be configured according to the project requirements.