Zu Produktinformationen springen
1 von 7

Mikroelektronika d.o.o.

Expand 12 Click Board™

Expand 12 Click Board™

SKU: MIKROE-4889
Normaler Preis
£29.40 GBP ohne MwSt
Normaler Preis £42.00 GBP Verkaufspreis
£29.40 GBP ohne MwSt
Sale Ausverkauft
Versand wird beim Checkout berechnet
If no stock shown above, check availability
Vollständige Details anzeigen

Key Features

Remote-e/a-pins, die beim einschalten standardmäßig auf eingänge umgeschaltet werden, kompatibel mit den i2c-bus-modi „fast“ und „standard“, 5-v-tolerante e/a, die 10 ma ziehen und 4,5 ma liefern, programmierbare slave-adressen und mehr
Basierend auf dem max7300 - general-purpose input/output (gpio) expander von maxim integrated, jetzt teil von analog devices
Kann in systemüberwachungsanwendungen, industriesteuerungen, tragbaren geräten und vielem mehr verwendet werden
Mikrobus: i2c-schnittstelle

Overview

Der Expand 12 Click Board™ ist eine kompakte Zusatzkarte, die einen Multiport-E/A-Expander enthält. Diese Karte enthält den MAX7300, einen universellen E/A-Expander, der eine Remote-E/A-Erweiterung für die meisten MCU-Familien von Maxim Integrated, jetzt Teil von Analog Devices, bietet. Der MAX7300 ist in einer 28-Port-Konfiguration erhältlich und ermöglicht das einfache Hinzufügen von E/A über eine standardmäßige serielle I2C-Schnittstelle. Jeder Port ist vom Benutzer entweder als Logikeingang oder Logikausgang konfigurierbar und kann 10 mA aufnehmen und 4,5 mA liefern. Darüber hinaus verfügen sieben Ports über eine konfigurierbare Übergangserkennungslogik, die bei Änderung des Port-Logikpegels einen Interrupt generiert.

Das Expand 12 Click Board™ bietet eine einfache Lösung, wenn zusätzliche E/As benötigt werden und gleichzeitig die Verbindungen in Systemüberwachungsanwendungen, Industriesteuerungen, tragbaren Geräten und vielem mehr auf ein Minimum beschränkt bleiben.

How Does The Expand 12 Click Board™ Work?

The Expand 12 Click Board™ as its foundation uses the MAX7300, a general-purpose input/output (GPIO) expander from Maxim Integrated, now part of Analog Devices. This port expander is a simple solution 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 MAX7300 comes in a 28-port configuration, which can be configured to any combination of logic inputs and logic outputs, and default to logic inputs on Power-Up.

Expander 12 click inner

Any I/O port can be configured as a push-pull output (sinking 10mA, sourcing 4.5mA) or a Schmitt-trigger logic input. Each input has an individually selectable internal pull-up resis­tor. Additionally, transition detection allows seven ports (from port 24 up to port 30) to be monitored in any maskable combina­tion for changes in their logic status. A detected transition is flagged through a status register bit, as well as an interrupt pin (port 31) if desired.

The Expand 12 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings with a maximum frequency of 400kHz. Besides, it also allows the choice of the least significant bit of its I2C slave address by positioning the SMD jumpers labeled as ADDR SEL to an appropriate position marked as 1 and 0. This way, the MAX7300 provides the opportunity of the 16 possible different I2C addresses by positioning the SMD jumper to an appropriate position.

The Expand 12 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 MAX7300 - general-purpose input/output (GPIO) expander from Maxim Integrated, now part of Analog Devices
Key Features Remote I/O pins that default to inputs at Power-Up, compliant with the I2C-bus Fast and Standard modes, 5V tolerant I/Os, sinking 10mA and sourcing 4.5mA, programmable slave addresses, 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 the Expand 12 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Mikrobus logo.png Pin Notes
NC 1 AN PWM 16 NC
NC 2 RST INT 15 NC
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
JP2-JP3 ADDR SEL Left I2C Address Selection 1/0: Left position 1, Right position 0
J1-J4 4-31 Populated I/O Expander Ports

EXPAND 12 CLICK ELECTRICAL SPECIFICATIONS

Description Min Typ Max Unit
Supply Voltage 3.3 - 5 V
Port Sink Current - 10 - mA
Port Source Current - 4.5 - mA
Number of I/Os - - 28 pins
Operating Temperature Range -40 +25 +125 °C

Software Support

We provide a library for the Expand 12 Click Board™ 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), downloaded from our LibStock™ or found on Mikroe Github account.

Library Description

This library contains API for the Expand 12 Click Board™ driver.

Key functions

  • expand12_set_pin_direction  This function sets the direction of the selected pin.

  • expand12_set_pin_value  This function sets the logic level of the selected pin.

  • expand12_read_all_pins_value  This function reads all pins logic levels.

Example Description

This example demonstrates the use of the Expand 12 Click board™.


 void application_task ( void ) 
 { 
     static uint8_t port_value = 0; 
     static uint32_t pins_status = 0; 

     expand12_set_port_value( &expand12, EXPAND12_PORT_4_7, EXPAND12_ALL_PINS, port_value ); 
     expand12_set_port_value( &expand12, EXPAND12_PORT_8_15, EXPAND12_ALL_PINS, port_value ); 
     expand12_set_port_value( &expand12, EXPAND12_PORT_16_23, EXPAND12_ALL_PINS, port_value++ ); 

     expand12_read_all_pins_value( &expand12, &pins_status ); 
     log_printf( &logger, " Pins status (32-bit) : 0x%.8LXrnn", pins_status ); 
     Delay_ms( 100 ); 
 }

The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe Github account.

Other Mikroe Libraries used in the example:

  • MikroSDK.Board
  • MikroSDK.Log
  • Click.Expand12

Additional Notes and Information

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. UART terminal is available in all MikroElektronika compilers.

MIKROSDK

TheExpand 12 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.

Frequently Asked Questions

Have a Question?

Be the first to ask a question about this.

Ask a Question

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)