






The MCP23017/MCP23S17 I/O Expander Module provides 16-bit bidirectional I/O expansion for microcontroller projects, supporting both I2C (MCP23017) and SPI (MCP23S17) communication protocols. It offers high-speed I2C up to 1.7MHz and SPI up to 10MHz, allowing fast, reliable data transfer. With three hardware address pins, up to eight devices can be connected on a single bus, greatly expanding available I/O pins. Featuring configurable interrupt outputs, polarity inversion registers, and low standby current (1μA max), this module is ideal for Arduino, Raspberry Pi, and other microcontroller-based projects requiring additional digital input/output pins for sensors, switches, or actuators.
توفر وحدة موسّع الإدخال/الإخراج MCP23017/MCP23S17 توسيعاً ثنائي الاتجاه لـ 16 بت لمشاريع المتحكمات الدقيقة، وتدعم بروتوكولي الاتصال I2C (طراز MCP23017) وSPI (طراز MCP23S17). توفر سرعة اتصال I2C تصل إلى 1.7 ميجاهرتز وسرعة SPI تصل إلى 10 ميجاهرتز، مما يتيح نقل بيانات سريعاً وموثوقاً. بفضل ثلاثة أطراف عنونة للأجهزة، يمكن توصيل حتى 8 أجهزة على ناقل واحد، مما يوسع بشكل كبير عدد منافذ الإدخال/الإخراج المتاحة. تتميز بـ مخرجات مقاطعة قابلة للتهيئة، وسجل عكس القطبية، وتيار استعداد منخفض جداً (1 ميكروأمبير كحد أقصى)، مما يجعلها مثالية لمشاريع Arduino وRaspberry Pi وغيرها من المتحكمات الدقيقة التي تحتاج منافذ رقمية إضافية للحساسات والمفاتيح والمشغلات.
The MCP23017/MCP23S17 Serial Interface Module is a versatile 16-bit bidirectional I/O expander designed to significantly increase the number of digital input/output pins available to a microcontroller. This module is available in two communication variants: the MCP23017, which uses the I2C protocol, and the MCP23S17, which uses the SPI protocol, giving users flexibility depending on their project's communication requirements.
All 16 I/O pins default to input mode, and each pin can be individually configured as an input or output, making the module highly adaptable for connecting sensors, switches, LEDs, relays, and other digital components. The I2C interface (MCP23017) supports communication speeds of 100kHz, 400kHz, and up to 1.7MHz, while the SPI interface (MCP23S17) supports speeds of up to 10MHz, ensuring fast and efficient data exchange even in demanding applications.
A standout feature of this module is its three hardware address pins, which allow up to eight MCP23017/MCP23S17 devices to be connected on the same communication bus. This makes it possible to expand a system's I/O capacity by up to 128 additional pins, ideal for large-scale automation or control systems.
The module also includes configurable interrupt output pins (INTA and INTB), which can be set as active-high, active-low, or open-drain, and can operate either independently or together. These interrupts can be triggered by interrupt-on-change events, based on either default register values or pin state changes, allowing for efficient event-driven programming rather than constant polling.
Additional features include a polarity inversion register, which allows users to configure the polarity of input port data, and an external reset input for easy system resets. The module boasts an extremely low standby current of just 1μA (max), making it suitable for battery-powered and low-power applications.
The MCP23017/MCP23S17 supports a wide operating voltage range, from 1.8V to 5.5V (-40°C to +85°C), 2.7V to 5.5V (-40°C to +85°C), and 4.5V to 5.5V (-40°C to +125°C), making it adaptable to a variety of power supply configurations and environmental conditions.
| Specification | Details |
|---|---|
| Chip Models | MCP23017 (I2C) / MCP23S17 (SPI) |
| I/O Pins | 16-bit bidirectional (default: input) |
| I2C Speed (MCP23017) | 100kHz / 400kHz / 1.7MHz |
| SPI Speed (MCP23S17) | Up to 10MHz (maximum) |
| Hardware Address Pins | 3 (supports up to 8 devices on one bus) |
| Interrupt Outputs | INTA & INTB, configurable active-high/low/open-drain |
| Interrupt Modes | Independent or combined operation |
| Interrupt Trigger | Interrupt-on-change (register default or pin change) |
| Polarity Inversion | Configurable via polarity inversion register |
| Reset Input | External reset supported |
| Standby Current | 1 μA (max) |
| Operating Voltage (Range 1) | 1.8V – 5.5V @ -40°C to +85°C |
| Operating Voltage (Range 2) | 2.7V – 5.5V @ -40°C to +85°C |
| Operating Voltage (Range 3) | 4.5V – 5.5V @ -40°C to +125°C |