ATTENTION: Due to increased demand and order volume, processing time may take an additional 1-3 business days.
HomeCommunitySubjectMCP23008 Expander: Features, Pinout, and Datasheet

MCP23008 Expander: Features, Pinout, and Datasheet

Interface - I/O Expanders 18-DIP (0.300, 7.62mm) 1.8V~5.5V -40°C~125°C 1.7MHz MCP23008 POR 5V MICROCHIP - MCP23008-E/P - I/O Expander, 8bit, 1.7 MHz, I2C, Serial, 4.5 V, 5.5 V, DIP

386

Nov 15, 2021

Cliff Felton

Arduino | Tutorial | MCP23008 Interfacing

 

Interface - I/O Expanders 18-DIP (0.300, 7.62mm) 1.8V~5.5V -40°C~125°C 1.7MHz MCP23008 POR 5V MICROCHIP - MCP23008-E/P - I/O Expander, 8bit, 1.7 MHz, I2C, Serial, 4.5 V, 5.5 V, DIP

For I²C bus or SPI applications, the MCP23008 device provides 8-bit general-purpose parallel I/O expansion. This article mainly introduces features, pinout, datasheet and other detailed information about Microchip Technology MCP23008.

MCP23008-E/P

500In Stock
Min.: 1 Mult.: 1
Quantity Unit Price Ext. Price
1+ $2.19704$2.2
10+ $2.07268$20.73
100+ $1.95536$195.54
500+ $1.84468$922.34
1000+ $1.74026$1740.26
Unit Price:$2.19704
Subtotal: $2.2
Looking for a better price? Want a lower wholesale price? Please send an RFQ, and we will respond immediately.
Quick Links

MCP23008 Description

For I²C bus or SPI applications, the MCP23008 device provides 8-bit general-purpose parallel I/O expansion. The serial interface and the number of hardware address pins on the device are different:

• I²C interface MCP23008; three address pins

For input, output, and polarity selection, the MCP23008 has numerous 8-bit Configuration registers. By writing the I/O Configuration bits, the system master can activate the I/Os as either inputs or outputs. The data for each input and output is stored in the Input and Output registers, respectively. The Polarity Inversion register inverts the polarity of the Input Port register. The system master has access to all registers.

The interrupt output can be set to activate on one of two (mutually exclusive) conditions:

1. This is used to notify to the system master that an input state has changed when any input state differs from its matching Input Port register state.

2. When the state of an input differs from the value of a pre-configured register (DEFVAL register).

The Interrupt Capture register saves the situation that produced the interrupt by capturing port values at the moment of the interrupt.

The  Power-on Reset  (POR) restores the default values of the registers and starts the device state machine.

The device address is determined using the hardware address pins.

MCP23008 Pinout

Pinout

 

Pin Number Pin Name Description
1 SCL Serial clock input.
2 SDA Serial data I/O.
3 A2 Hardware address input.
A2 must be biased externally.
4 A1 Hardware address input. Must be biased externally.
5 A0 Hardware address input. Must be biased externally.
6 RESET External Reset input. Must be biased externally.
7 NC No connect.
8 INT Interrupt output. Can be configured for active-high, active-low or open-drain.
9 VSS Ground.
10 GP0 Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or internal weak pull-up resistor.
11 GP1 Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or internal weak pull-up resistor.
12 GP2 Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or internal weak pull-up resistor.
13 GP3 Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or internal weak pull-up resistor.
14 GP4 Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or internal weak pull-up resistor.
15 GP5 Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or internal weak pull-up resistor.
16 GP6 Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or internal weak pull-up resistor.
17 GP7 Bidirectional I/O pin. Can be enabled for interrupt-on-change and/or internal weak pull-up resistor.
18 VDD Power.

MCP23008 CAD Model

Symbol

Footprint

3D Model

MCP23008 Features

• 8-Bit Remote Bidirectional I/O Port

- I/O pins default to input

• High-Speed I2C Interface

- 100 kHz

- 400 kHz

- 1.7 MHz

• Hardware Address Pins

- Three for the MCP23008 to allow up to eight devices on the bus

- Two for the MCP23S08 to allow up to four devices using the same Chip Select

• Configurable Interrupt Output Pin

- Configurable as active-high, active-low or open-drain

• Configurable Interrupt Source

- Interrupt-on-change from configured defaults or pin change

• Polarity Inversion Register to Configure the Polarity of the Input Port Data

• External Reset Input

• Low Standby Current: 1 µA (max.)

• Operating Voltage:

- 1.8V to 5.5V at -40°C to +85°C

I²C at 100 kHz

SPI at 5 MHz

- 2.7V to 5.5V at -40°C to +85°C

I²C at 400 kHz

SPI at 10 MHz

- 4.5V to 5.5V at -40°C to +125°C

I²C at 1.7 kHz

SPI at 10 MHz

Specifications

Microchip Technology MCP23008-E/P technical specifications, attributes, parameters and parts with similar specifications to Microchip Technology MCP23008-E/P.

MCP23008-E/P Tech Specifications

Microchip Technology MCP23008-E/P technical specifications, attributes, parameters and parts with similar specifications to Microchip Technology MCP23008-E/P.

Product Attribute Attribute Value
Factory Lead Time1 Weeks
MountThrough Hole
Mounting TypeThrough Hole
Package / Case18-DIP (0.300, 7.62mm)
Number of Pins18Pins
Number of I/Os8I/Os
Operating Temperature-40°C~125°C
PackagingTube
Published2003
JESD-609 Codee3
Pbfree Codeyes
Part StatusActive
Moisture Sensitivity Level (MSL)1 (Unlimited)
Number of Terminations18Terminations
Product Attribute Attribute Value
ECCN CodeEAR99
Terminal FinishMatte Tin (Sn)
Voltage - Supply1.8V~5.5V
Terminal PositionDUAL
Peak Reflow Temperature (Cel)NOT SPECIFIED
Supply Voltage5V
Terminal Pitch2.54mm
Time@Peak Reflow Temperature-Max (s)NOT SPECIFIED
Base Part NumberMCP23008
Pin Count18
Qualification StatusNot Qualified
Output TypePush-Pull
Power Supplies5V
Number of Channels1Channel
Product Attribute Attribute Value
InterfaceI2C
Number of Ports1Port
Nominal Supply Current1mA
Power Dissipation700mW
Output Current25mA
Number of Bits8Bits
Clock Frequency1.7MHz
Interrupt OutputYes
FeaturesPOR
Height Seated (Max)5.334mm
Width7.62mm
REACH SVHCNo SVHC
RoHS StatusROHS3 Compliant
Lead FreeLead Free
0 Products View Similar

MCP23008 Functional Block Diagram

Functional Block Diagram

MCP23008 Arduino Interfacing

The project we'll talk about will show us how to connect an Arduino microcontroller to an MCP23008 I/O port expander.

First, we'll go over project components.

Component of Project

• These are the main components of the project.

• MCP23008 I/O Port Expander.

• A few 220Ω resistors.

• A few LEDs.

• Arduino microcontroller.

Let us now go over our projects in greater depth.

A 220 resistor and an LED are connected to each input and output pin in this circuit.

We wired +5V to Vdd and Vss to GND for the input supply.

Connect analog pin 5 of the  Arduino  to pin  1 of the MCP23008, which is SCL. This ensures that the Arduino and the I/O port expander chip are on the same clock.

After that, we connected SDA pin 2 of the MCP23008  to analog pin 4 of the Arduino. Data can be transferred between the Arduino and the  I/O port expander chip using this connection.

Because the interrupts pin isn't used in this project, leave it disconnected.

The RESET pin is not used; instead, it is connected to +5V. If you wish to use it, simply attach it to the Arduino's digital pin,  If you want to reset all of the outputs, set this pin to low in cade.

Following that, we'll ground address pins A0, A1, and A2. The address of these three pins becomes 000.

Let's look at the illustration for a better understanding.

Arduino Interfacing

MCP23008 Alternatives

Part Number Description Manufacturer
MCP23S09T-E/SSMICROCONTROLLERS AND PROCESSORS 8 I/O, PIA-GENERAL PURPOSE, PDSO20, 5.30 MM, LEAD FREE, PLASTIC, SSOP-20 Microchip Technology Inc
MCP23S09-E/SOMICROCONTROLLERS AND PROCESSORS 8 I/O, PIA-GENERAL PURPOSE, PDSO18, 7.50 MM, LEAD FREE, PLASTIC, SOIC-18 Microchip Technology Inc
MCP23S08T-E/SOMICROCONTROLLERS AND PROCESSORS 8 I/O, PIA-GENERAL PURPOSE, PDSO18, 0.300 INCH, PLASTIC, SOIC-18 Microchip Technology Inc
MCP23008-E/SSVAOMICROCONTROLLERS AND PROCESSORS Parallel I/O Port, 8 I/O, CMOS, PDSO20 Microchip Technology Inc
MCP23S09-E/PMICROCONTROLLERS AND PROCESSORS 8 I/O, PIA-GENERAL PURPOSE, PDIP18, 0.300 INCH, LEAD FREE, PLASTIC, DIP-18 Microchip Technology Inc
MCP23008T-E/SSVAOMICROCONTROLLERS AND PROCESSORS Parallel I/O Port, 8 I/O, CMOS, PDSO20 Microchip Technology Inc
MCP23S08-E/SOVAOMICROCONTROLLERS AND PROCESSORS Parallel I/O Port, 8 I/O, CMOS, PDSO18 Microchip Technology Inc
MCP23009-E/SOMICROCONTROLLERS AND PROCESSORS 8 I/O, PIA-GENERAL PURPOSE, PDSO18, 7.50 MM, LEAD FREE, PLASTIC, SOIC-18 Microchip Technology Inc

MCP23008 Applications

Because this microcontroller supports both the I2C and SPI protocols, it is utilized in a variety of projects and devices that employ both.

MCP23008 Package

Datasheet PDF

MCP23008-E/P Documents

Download datasheets and manufacturer documentation for MCP23008-E/P

TAGS

Share