How does it work?
IPD Click is based on the TPD2017FN, an 8-channel low-side switch featuring MOSFET outputs from Toshiba Semiconductor, designed to be directly driven by CMOS and TTL logic circuitry. It’s ideally suited for driving inductive and resistive loads, such as industrial programmable logic controllers for industrial use, motors, relays and lamps in factory automation equipment, and more. A key advantage of the TPD2017FN is its built-in overcurrent and overtemperature protection, enhancing system stability by safeguarding against excessive heat and current. Equipped with the capability to handle back electromotive force from inductive loads without surpassing the component’s voltage tolerance, the TPD2017FN is optimized for loads up to 50mH with a current capacity of 0.5A per channel, supported by an external power supply ranging from 8-24V. The channels can be operated in parallel to increase the current capability of the outputs.
As mentioned, this Click board™ incorporates comprehensive protection mechanisms, including overtemperature protection that deactivates all outputs (OUT1-OUT8) if the temperature exceeds 175°C and overcurrent protection that limits voltage and current during load shorts, ensuring the device and its connected peripheral safety.
Designed for straightforward integration with CMOS and TTL systems, the IPD Click features input control terminals for each output channel, allowing independent channel control. Inputs IN1 to IN4 interface directly via the mikroBUS™ socket, with additional inputs IN5 to IN8 accessible through an unpopulated header. Each input control pin of the TPD2017FN is equipped with a built-in 300kΩ pull-down resistor to maintain a LOW logic state in an open state.
This Click board™ comes with optional inductive load decoupling diodes unpopulated by default, the CRS20140A from Toshiba Semiconductor, allowing users to add them in the case of higher inductive loads. Also, it is equipped with jumpers for the diode configuration of the used load switch and its power management. These jumpers are pre-configured, enabling immediate use without the need for any adjustments.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. Also, this 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
Relay
Applications
Ideal for developing wearable technology, smart home devices, robotics, and AR/VR applications
On-board modules
TPD2017FN – 8-channel low-side load switch featuring MOSFET outputs from Toshiba Semiconductor
Key Features
Low-side load switch, CMOS/TTL logic control, protection features, suitable for inductive and resistive loads, inductive load of 50mH max, 0.5A output current per channel, can drive load directly, high-voltage operation, and more
Interface
GPIO
Feature
ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V,External
Pinout diagram
This table shows how the pinout on IPD Click – TPD2017 corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
JP1 | VCC SEL | Right | Logic Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2-JP3 | TPD20XX | Right | Load Switch Diodes Configuration Selection 17/15: Left position 17, Right position 15 (Do not change without exchange the TPD20xx device) |
JP4-JP5 | TPD20XX | Right | Load Switch Power Supply Selection 17/15: Left position 17, Right position 15 (Do not change without exchange the TPD20xx device) |
IPD Click – TPD2017 electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
External Power Supply | 8 | – | 24 | V |
Maximum Output Current | – | – | 0.5 | A |
Maximum Inductive Load | – | – | 50 | mH |
Software Support
We provide a library for the IPD 2017 Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for IPD 2017 Click driver.
Key functions
-
ipd2017_all_pins_set
IPD 2017 pin setting function. -
ipd2017_set_out_level
IPD 2017 set output level function. -
ipd2017_get_out_state
IPD 2017 get output level function.
Example Description
This example demonstrates the use of IPD 2017 Click board™ by toggling the output state.
void application_task ( void )
{
log_printf( &logger, " Turning OUT 1 to OUT 4 HIGH rn" );
ipd2017_all_pins_set( &ipd2017 );
Delay_ms( 2000 );
log_printf( &logger, " Turning OUT 1 to OUT 4 LOW rn" );
ipd2017_all_pins_clear( &ipd2017 );
Delay_ms( 2000 );
log_printf( &logger, " Turning OUT 1 to OUT 4 one by one rn" );
uint8_t out_sel = IPD2017_OUT1_PIN_MASK;
do
{
ipd2017_set_out_level( &ipd2017, out_sel, IPD2017_PIN_STATE_HIGH );
Delay_ms( 2000 );
ipd2017_set_out_level( &ipd2017, out_sel, IPD2017_PIN_STATE_LOW );
out_sel <<= 1;
}
while ( out_sel <= IPD2017_OUT4_PIN_MASK );
}
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:
- MikroSDK.Board
- MikroSDK.Log
- Click.IPD2017
Additional notes and informations
Depending on the development board you are using, you may need 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 MIKROE compilers.
mikroSDK
This Click board™ is supported with mikroSDK – MIKROE 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.
For more information about mikroSDK, visit the official page.