Terminal 2 Click Board™
Product Code: MIKROE-4951
How Does The Terminal 2 Click Board™ Work? The Terminal 2 Click Board™ is an adapter used as a mikroBUS™ socket expansion board. This Click board™ provides an easy and elegant solution for adding the external connection capability to the Click board™ and can be connected to the mikroBUS™ socket like any other Click board™. On the central area of the Terminal 2 Click Board™, two 9-position 2.54mm pitch terminal blocks are placed. Each of the terminal pins corresponds to a pin on the mikroBUS™ socket. Thanks to these terminals, the connection with the Click board™ remains firm and stable, retaining a perfect connection quality at all times. Lines of the mikroBUS™ socket to which Terminal 2 Click is attached are shared through the onboard connectors, which mirrors the connected mikroBUS™ socket pins. Therefore, care should be taken when working with the Terminal 2 Click and connecting an external device to it, because the same pins on the mikroBUS™ are shared, either for the communication (SPI, UART, I2C) or for some other purpose (RST, INT, or other pins used as GPIO).
The Terminal 2 Click Board™ can operate with both 3.3V and 5V logic voltage levels. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. A green LED visually detects the presence of an active power supply, labelled as PWR. 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
Adapter
Applications
The Terminal 2 Click Board™ be used as a mikroBUS™ socket expansion board
On-board modules
None
Key Features
Easy and elegant solution for adding the external connection capability to the Click board™
Interface
Analog,GPIO,I2C,SPI,UART
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 Terminal 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
Analog Input
AN
1
AN
PWM
16
PWM
PWM Output
Reset
RST
2
RST
INT
15
INT
Interrupt
SPI Chip Select
CS
3
CS
RX
14
TX
UART TX
SPI Clock
SCK
4
SCK
TX
13
RX
UART RX
SPI Data OUT
SDO
5
MISO
SCL
12
SCL
I2C Clock
SPI Data IN
SDI
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
Software Support
We provide a library for the Terminal 2 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 The package Manager (recommended), downloaded from our LibStock™ or found on Mikroe Github account.
Library Description
This library contains API for the Terminal 2 Click Board™ driver.
Key functions
terminal2_set_all_pins_high This function sets all terminal pins to high logic level.
terminal2_set_all_pins_low This function sets all terminal pins to low logic level.
terminal2_toggle_pin This function toggles the specified pin logic level.
Example Description
This example demonstates the use of the Terminal 2 Click Board™ by toggling all its pins.
void application_task ( void )
{
/**< Array of pins object addresses. */
static di
Visit the Debug Store website for more information on Terminal 2 Click Board™