# Title: Expand 10 Click Board™ ## Description: How Does The Expand 10 Click Board™ Work? The Expand 10 Click Board™ is based on the PCAL6524, a 24-bit ultra-low-voltage translating general-purpose I/O expander from NXP Semiconductors. This port expander is a simple solution for when additional I/Os are needed while keeping interconnections to a minimum, particularly great for system monitoring applications, industrial controllers, portable equipment, and others. The PCAL6524 has a built-in level shifting feature that makes it highly flexible in power supply systems where communication between incompatible I/O voltages is required. The PCAL6524 implements Agile I/O features specifically designed to enhance the I/O. These additional features are programmable output drive strength, latchable inputs, programmable pull-up/pull-down resistors, maskable interrupt, interrupt status register, programmable open-drain or push-pull outputs. The Expand 10 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a Fast Mode Plus operation up to 1MHz. At the Power-On sequence, the I/Os are configured as inputs. However, the host MCU can enable the I/Os as inputs or outputs by writing to the I/O configuration bits. In addition to I2C communication, two GPIO pins connected to the mikroBUS™ socket pins are also used. The reset pin, routed to the RST pin of the mikroBUS™ socket, is used to place the PCAL6524 registers in their default state, while the interrupt, routed to the INT pin of the mikroBUS™ socket, may be configured as an interrupt to notify the host MCU of incoming data on any port. Besides, it also allows the choice of the least significant bit of its I2C slave address by positioning the SMD jumper labelled as ADDR SEL to an appropriate position marked as 1 and 0. This Click board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the I2C communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development. Specifications Type Port expander Applications Can be used in system monitoring applications, industrial controllers, portable equipment, and many more On-board modules PCAL6524 - 24-bit ultra-low-voltage translating general-purpose I/O expander from NXP Semiconductors Key Features Low power consumption, bidirectional voltage-level translation, Agile I/O features, Fast-mode Plus I2C-serial interface, reset and interrupt feature, and more Interface I2C Compatibility mikroBUS Click board size L (57.15 x 25.4 mm) Input Voltage 3.3V or 5V Pinout diagram This table shows how the pinout on Expand 10 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes NC 1 AN PWM 16 NC Reset RST 2 RST INT 15 INT Interrupt NC 3 CS RX 14 NC NC 4 SCK TX 13 NC NC 5 MISO SCL 12 SCL I2C Clock NC 6 MOSI SDA 11 SDA I2C Data Power Supply 3.3V 7 3.3V 5V 10 5V Power Supply Ground GND 8 GND GND 9 GND Ground Onboard settings and indicators Label Name Default Description LD1 PWR - Power LED Indicator JP1 VCC SEL Left Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V JP3 ADDR SEL Left I2C Address Selection 0/1: Left position 0, Right position 1 J1-J3 P0-P2 Populated I/O Expander Ports Expand 10 Click electrical specifications Description Min Typ Max Unit Supply Voltage 3.3 - 5 V Maximum Output Current - - 25 mA Maximum Clock Frequency - - 1 MHz Operating Temperature Range -40 +25 +85 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, I/O Expander, Interface, MikroE, NXP, Port Expander ## Price range: 12.6 - 12.6 GBP ## Link: https://thedebugstore.com/products/mikroe-4801-expand-10-click-board-uk ## Compare-at price range: 18.0 - 18.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [NXP Device Support from Debug Store: Explore Our Innovative Embedded Solutions](https://thedebugstore.com/a/llms/collections/nxp-device-support-uk) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Interface Click Boards™](https://thedebugstore.com/a/llms/collections/interface-click-boards-catalogue) - [Port Expander Click Boards™](https://thedebugstore.com/a/llms/collections/port-expander-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-4801, Available: yes, Inventory: 1 ## Metafields - title_tag: MikroE Expand 10 Click Board™ (MIKROE-4801) - description_tag: The Expand 10 Click Board™ is a compact add-on board that contains a multi-port I/O expander. The board features the PCAL6524, a 24-bit general-purpose I/O expander providing remote I/O expansion for most MCU’s families from NXP Semiconductors. Available from Debug Store UK. - badge:
- widget:The Expand 10 Click Board™ is based on the PCAL6524, a 24-bit ultra-low-voltage translating general-purpose I/O expander from NXP Semiconductors. This port expander is a simple solution for when additional I/Os are needed while keeping interconnections to a minimum, particularly great for system monitoring applications, industrial controllers, portable equipment, and others. The PCAL6524 has a built-in level shifting feature that makes it highly flexible in power supply systems where communication between incompatible I/O voltages is required.

The PCAL6524 implements Agile I/O features specifically designed to enhance the I/O. These additional features are programmable output drive strength, latchable inputs, programmable pull-up/pull-down resistors, maskable interrupt, interrupt status register, programmable open-drain or push-pull outputs.
The Expand 10 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a Fast Mode Plus operation up to 1MHz. At the Power-On sequence, the I/Os are configured as inputs. However, the host MCU can enable the I/Os as inputs or outputs by writing to the I/O configuration bits. In addition to I2C communication, two GPIO pins connected to the mikroBUS™ socket pins are also used.
The reset pin, routed to the RST pin of the mikroBUS™ socket, is used to place the PCAL6524 registers in their default state, while the interrupt, routed to the INT pin of the mikroBUS™ socket, may be configured as an interrupt to notify the host MCU of incoming data on any port. Besides, it also allows the choice of the least significant bit of its I2C slave address by positioning the SMD jumper labelled as ADDR SEL to an appropriate position marked as 1 and 0.
This Click board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the I2C communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
| Type | Port expander |
| Applications | Can be used in system monitoring applications, industrial controllers, portable equipment, and many more |
| On-board modules | PCAL6524 - 24-bit ultra-low-voltage translating general-purpose I/O expander from NXP Semiconductors |
| Key Features | Low power consumption, bidirectional voltage-level translation, Agile I/O features, Fast-mode Plus I2C-serial interface, reset and interrupt feature, and more |
| Interface | I2C |
| Compatibility | mikroBUS |
| Click board size | L (57.15 x 25.4 mm) |
| Input Voltage | 3.3V or 5V |
This table shows how the pinout on Expand 10 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
| Notes | Pin | ![]() |
Pin | Notes | |||
|---|---|---|---|---|---|---|---|
| NC | 1 | AN | PWM | 16 | NC | ||
| Reset | RST | 2 | RST | INT | 15 | INT | Interrupt |
| NC | 3 | CS | RX | 14 | NC | ||
| NC | 4 | SCK | TX | 13 | NC | ||
| NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
| NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
| Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
| Ground | GND | 8 | GND | GND | 9 | GND | Ground |
| Label | Name | Default | Description |
|---|---|---|---|
| LD1 | PWR | - | Power LED Indicator |
| JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
| JP3 | ADDR SEL | Left | I2C Address Selection 0/1: Left position 0, Right position 1 |
| J1-J3 | P0-P2 | Populated | I/O Expander Ports |
| Description | Min | Typ | Max | Unit |
|---|---|---|---|---|
| Supply Voltage | 3.3 | - | 5 | V |
| Maximum Output Current | - | - | 25 | mA |
| Maximum Clock Frequency | - | - | 1 | MHz |
| Operating Temperature Range | -40 | +25 | +85 | °C |
We provide a library for the Expand 10 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe GitHub account.
This library contains an API for the Expand 10 Click Board™ driver.
expand10_cfg_setup - Config Object Initialization function.expand10_init - Initialization function.expand10_default_cfg - Click the Default Configuration function.This example demonstrates the use of Expand 10 Click board™.
void application_task ( void )
{
uint8_t port_value = 0;
for ( uint16_t pin_num = EXPAND10_PIN_0_MASK; pin_num <= EXPAND10_PIN_7_MASK; pin_num <<= 1 )
{
expand10_set_all_pins_value( &expand10, pin_num );
expand10_read_port_value( &expand10, EXPAND10_PORT_0, &port_value );
log_printf( &logger, " Status P0 (output): 0x%.2Xrn", ( uint16_t ) port_value );
expand10_read_port_value( &expand10, EXPAND10_PORT_1, &port_value );
log_printf( &logger, " Status P1 (output): 0x%.2Xrn", ( uint16_t ) port_value );
expand10_read_port_value( &expand10, EXPAND10_PORT_2, &port_value );
log_printf( &logger, " Status P2 (input) : 0x%.2Xrnrn", ( uint16_t ) port_value );
Delay_ms( 1000 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe GitHub account.
Other mikroE Libraries used in the example:
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
The Expand 10 Click board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
- attachments: [{"download_file":[{"download_file":"Expand 10 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"NXP PCAL6524 24-bit General-purpose I/O Expander Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-4801 - google_product_category: Electronics - custom_label_0: Click Board - key_feature_2: Low power consumption, bidirectional voltage-level translation, Agile I/O features, Fast-mode Plus I2C-serial interface, reset and interrupt feature, and more - key_feature_3: Based on the PCAL6524 - 24-bit ultra-low-voltage translating general-purpose I/O expander from NXP Semiconductors - key_feature_4: Can be used system monitoring applications, industrial controllers, portable equipment, and many more - key_feature_5: mikroBUS: I2C Interface - device_vendor: NXP USA Inc. - device_type: PCAL6524HEAZ - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: Expand 10 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/279382950077","gid://shopify/Collection/279383179453"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The Expand 10 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Expand 10 Click Board™","bold":true,"italic":true},{"type":"text","value":" is based on the PCAL6524, a 24-bit ultra-low-voltage translating general-purpose I/O expander from NXP Semiconductors. This port expander is a simple solution for when additional I/Os are needed while keeping interconnections to a minimum, particularly great for system monitoring applications, industrial controllers, portable equipment, and others. The PCAL6524 has a built-in level shifting feature that makes it highly flexible in power supply systems where communication between incompatible I/O voltages is required."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The PCAL6524 implements Agile I/O features specifically designed to enhance the I/O. These additional features are programmable output drive strength, latchable inputs, programmable pull-up/pull-down resistors, maskable interrupt, interrupt status register, programmable open-drain or push-pull outputs."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Expand 10 Click Board™","bold":true},{"type":"text","value":" communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a Fast Mode Plus operation up to 1MHz. At the Power-On sequence, the I/Os are configured as inputs. However, the host MCU can enable the I/Os as inputs or outputs by writing to the I/O configuration bits. In addition to I2C communication, two GPIO pins connected to the mikroBUS™ socket pins are also used."}]},{"type":"paragraph","children":[{"type":"text","value":"The reset pin, routed to the RST pin of the mikroBUS™ socket, is used to place the PCAL6524 registers in their default state, while the interrupt, routed to the INT pin of the mikroBUS™ socket, may be configured as an interrupt to notify the host MCU of incoming data on any port. Besides, it also allows the choice of the least significant bit of its I2C slave address by positioning the SMD jumper labelled as ADDR SEL to an appropriate position marked as 1 and 0."}]},{"type":"paragraph","children":[{"type":"text","value":"This Click board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the I2C communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Specifications"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nPort expander\nApplications\nCan be used in system monitoring applications, industrial controllers, portable equipment, and many more\nOn-board modules\nPCAL6524 - 24-bit ultra-low-voltage translating general-purpose I/O expander from NXP Semiconductors\nKey Features\nLow power consumption, bidirectional voltage-level translation, Agile I/O features, Fast-mode Plus I2C-serial interface, reset and interrupt feature, and more\nInterface\nI2C\nCompatibility\nmikroBUS\nClick board size\nL (57.15 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Pinout diagram"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout on Expand 10 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nNC\n1\nAN\nPWM\n16\nNC\nReset\nRST\n2\nRST\nINT\n15\nINT\nInterrupt\nNC\n3\nCS\nRX\n14\nNC\nNC\n4\nSCK\nTX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nSCL\nI2C Clock\nNC\n6\nMOSI\nSDA\n11\nSDA\nI2C Data\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\n5V\nPower Supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Onboard settings and indicators"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\n Description\nLD1\nPWR\n-\nPower LED Indicator\nJP1\nVCC SEL\nLeft\nLogic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V\nJP3\nADDR SEL\nLeft\nI2C Address Selection 0/1: Left position 0, Right position 1\nJ1-J3\nP0-P2\nPopulated\nI/O Expander Ports"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Expand 10 Click electrical specifications"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n3.3\n-\n5\nV\nMaximum Output Current\n-\n-\n25\nmA\nMaximum Clock Frequency\n-\n-\n1\nMHz\nOperating Temperature Range\n-40\n+25\n+85\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:The Expand 10 Click Board™ is a compact add-on board that contains a multi-port I/O expander. The board features the PCAL6524, a 24-bit general-purpose I/O expander providing remote I/O expansion for most MCU’s families via the Fast-mode Plus I2C-serial interface from NXP Semiconductors. The PCAL6524 has a built-in level shifting feature that makes it highly flexible in power supply systems where communication between incompatible I/O voltages is required. It allows seamless communications with next-generation low voltage microprocessors and microcontrollers on the interface and peripherals at a higher voltage on the port side. This Click Board™ provides a simple solution when additional I/Os are needed while keeping interconnections to a minimum in system monitoring applications, industrial controllers, portable equipment, and many more.
The Expand 10 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.