Mikroelektronika d.o.o.
LDC Touch Click Board
LDC Touch Click Board
Couldn't load pickup availability
Key Features:
- AEC-Q100 qualified, multiple modes of operation, configurable scan rates, advanced button press detection algorithms, low power consumption, and more
- Based on the LDC3114-Q1 - hybrid multichannel, high-resolution inductance-to-digital converter from Texas Instruments
- Can be used for human-machine interface and precise linear position sensing of metal targets for automotive, consumer, and industrial applications
- I2C Interface
The LDC Touch Click Board™ is a compact add-on board optimized for inductive touch applications. This board features the LDC3114-Q1, a four-channel inductance-to-digital converter for low-power proximity and touch-button sensing from Texas Instruments. It comes with an adjustable sensitivity per input channel and operational power mode selection and measures frequency shifts caused by micro-deflection in the conductive targets formed by button presses. These presses are reported through a compatible I2C interface beside four LED indicators for its visual indication. This Click board™ enables touch button design for human-machine interface and precise linear position sensing of metal targets for automotive, consumer, and industrial applications by allowing access to the raw data representing the inductance value.
The LDC Touch 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.
![Mikroelektronika d.o.o. MIKROE-5204 LDC Touch Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ldc-touch-click-board-37813139964127.jpg?v=1684967867&width=1445)
![Mikroelektronika d.o.o. MIKROE-5204 LDC Touch Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ldc-touch-click-board-37813139898591.jpg?v=1684967871&width=1445)
![Mikroelektronika d.o.o. MIKROE-5204 LDC Touch Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ldc-touch-click-board-37813139931359.jpg?v=1684967873&width=1445)
![Mikroelektronika d.o.o. MIKROE-5204 LDC Touch Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ldc-touch-click-board-37813139865823.jpg?v=1684967863&width=1445)
![Mikroelektronika d.o.o. MIKROE-5204 LDC Touch Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ldc-touch-click-board-37813140095199.jpg?v=1684967880&width=1445)
![Mikroelektronika d.o.o. MIKROE-5204 LDC Touch Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ldc-touch-click-board-37813140029663.jpg?v=1684967876&width=1445)
![Mikroelektronika d.o.o. MIKROE-5204 LDC Touch Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-ldc-touch-click-board-37813139996895.jpg?v=1684967883&width=1445)
How Does The LDC Touch Click Board™ Work?
The LDC Touch Click Board™ is based on the the LDC3114-Q1, a hybrid multichannel, high-resolution inductance-to-digital converter from Texas Instruments. This inductive sensing device enables touch button design for a human-machine interface (HMI) by measuring small deflections of conductive targets using a coil implemented on a printed circuit board. Button presses form micro-deflection in the conductive targets, which cause frequency shifts in the resonant sensors, and measures such frequency shifts determining when button press occurs. With adjustable sensitivity per input channel, the LDC3114-Q1 can reliably operate with a wide range of physical button structures and materials.
The LDC3114-Q1 offers two main modes of operations: raw data access mode and button algorithm mode, which is controlled by register settings. The button mode can automatically correct any deformation in the conductive targets and offers well-matched channels allowing for differential and ratiometric measurements, which enable compensation of environmental and aging conditions such as temperature and mechanical drift. On the other hand, it also implements a raw data access mode, where MCU can read directly the data representing the effective inductance of the sensor and implement further post-processing.
The LDC Touch Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a Fast Mode operation up to 400kHz. Also, the LDC3114-Q1 requires a voltage of 1.8V for its power supply to work correctly. Therefore, a small regulating LDO, the TLV700, provides a 1.8V out of 3V3 mikroBUS™ power rail.
As mentioned earlier, this board contains four touch buttons, representing the only elements on the upper-top side of the board. Each of these buttons has its own LED indicator representing the activity in that field. If a touch event is detected on one of these onboard pads, the state of the corresponding LED will be changed, indicating an activated channel; more precisely, touch has been detected on that specific field.
Alongside LED indicators, data from these channels can be processed via the MCU through four pins labelled from S0 to S3, routed to the AN, RST, CS, and PWM pin of the mikroBUS™ socket, respectively. Besides, there is an additional interrupt signal routed on the INT pin of the mikroBUS™ socket indicating when a specific interrupt event occurs (touch detection, available new data, and such), alongside two power modes of operation. A Normal Power Mode for active sampling at 10, 20, 40, or 80SPS, and a Low Power Mode for reduced current consumption at 0.625, 1.25, 2.5, or 5SPS selectable through an onboard switch labelled as MODE SEL.
The LDC Touch Click Board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Capacitive |
Applications | Can be used for human-machine interface and precise linear position sensing of metal targets for automotive, consumer, and industrial applications |
On-board modules | LDC3114-Q1 - hybrid multichannel, high-resolution inductance-to-digital converter from Texas Instruments |
Key Features | AEC-Q100 qualified, multiple modes of operation, configurable scan rates, advanced button press detection algorithms, low power consumption, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout of LDC Touch Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
Channel 0 Data | S0 | 1 | AN | PWM | 16 | S3 | Channel 3 Data |
Channel 1 Data | S1 | 2 | RST | INT | 15 | INT | Interrupt |
Channel 2 Data | S2 | 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 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2-LD5 | LD0-LD3 | - | Touch Buttons LED Indicator |
SW1 | MODE SEL | Right | Power Mode Selection LP/NP: Left position LP, Right position NP |
LDC TOUCH CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Resonant Frequency | 5 | - | 30 | MHz |
Sampling Rate | 0.625 | - | 160 | SPS |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the LDC Touch 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 LDC Touch Click Board™ driver.
Key functions
-
ldctouch_get_int_pin
This function returns the INT pin logic state. -
ldctouch_get_data
This function reads status, out_state, and all buttons raw data. -
ldctouch_set_operation_mode
This function sets the operation mode.
Example Description
This example demonstrates the use of the LDC Touch Click Board™ by configuring the buttons to trigger on finger press, and reading the buttons state in the loop.
void application_task ( void )
{
static bool button_active = true;
if ( !ldctouch_get_int_pin ( &ldctouch ) )
{
ldctouch_data_t button_data;
if ( LDCTOUCH_OK == ldctouch_get_data ( &ldctouch, &button_data ) )
{
button_active = true;
log_printf ( &logger, " Active button: -" );
for ( uint8_t cnt = 0; cnt < 4; cnt++ )
{
if ( button_data.out_state & ( 1 << cnt ) )
{
log_printf ( &logger, " %u - ", ( uint16_t ) cnt );
}
}
log_printf ( &logger, "rn Button 0 raw data: %drn", button_data.ch0_raw_button );
log_printf ( &logger, " Button 1 raw data: %drn", button_data.ch1_raw_button );
log_printf ( &logger, " Button 2 raw data: %drn", button_data.ch2_raw_button );
log_printf ( &logger, " Button 3 raw data: %drnn", button_data.ch3_raw_button );
Delay_ms ( 200 );
}
}
else
{
if ( button_active )
{
button_active = false;
log_printf ( &logger, " Active button: - none -rn" );
}
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The 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.LDCTouch
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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
The LDC Touch 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.
LDC Touch Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.
![banner Image](http://thedebugstore.com/cdn/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_medium.gif)