How does it work?
SolidSwitch 3 Click as its foundation uses the BD8LB600FS-C, an automotive eight-channel low-side load switch from Rohm Semiconductor. Every switch is controlled through a serial peripheral interface and includes an N-channel MOSFET that supports a maximum current of 1A. The BD8LB600FS-C offers flexible protection boundaries for systems against input voltage up to 5V and limits the output load current making this device ideal for driving resistive, inductive, and capacitive loads.
This Click board™ communicates with MCU through a standard SPI interface and operates at clock rates up to 5MHz, providing data in digital format of 16-bits. It also uses the Reset feature labeled as RST and routed to the RST pin of the mikroBUS™ socket. In addition to these pins, there are a few more like DIR and two input pins, IN1 and IN2 pins, routed to the AN, PWM, and INT pins of the mikroBUS™ socket. The DIR signal represents a transition to a direct mode activated by setting this pin to a high logic level.
Depending on the set logic state on the DIR pin, pins IN1 and IN2 can be used to control the given output channels; IN1 represents the control of channels 1 and 5 when the DIR is at a low logic state, while IN2 defines the management of channels 2 and 6 when the DIR is at a low logic state. When the DIR is set to high logic state, then IN1 represents control of only channel 5 and IN2 only of channel 6.
As mentioned before, the BD8LB600FS-C also has built-in protection circuits, namely the overcurrent, the thermal shutdown, the open-load detection, and the voltage lock-out circuits. Moreover, this device also possesses a diagnostic output function during abnormal detection.
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 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
Relay
Applications
Can be used for driving resistive, inductive, and capacitive loads
On-board modules
BD8LB600FS-C – automotive eight-channel low-side load switch from Rohm Semiconductor
Key Features
Eight channel load switch, 16-bit SPI interface for diagnostics and control, built-in protection features, 1A maximum output current, and more
Interface
SPI
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on SolidSwitch 3 Click 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 | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
SolidSwitch 3 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Maximum Output Current | – | – | 1 | A |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the SolidSwitch 3 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika 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 SolidSwitch 3 Click driver.
Key functions
-
solidswitch3_enable_output
This function enables the specified output channel. -
solidswitch3_disable_output
This function disables the specified output channel. -
solidswitch3_reset
This function resets the device by toggling the reset pin.
Example Description
This example demonstrates the use of SolidSwitch 3 Click board™ by controlling the output state.
void application_task ( void )
{
for ( uint16_t cnt = SOLIDSWITCH3_CH_OUT1; cnt <= SOLIDSWITCH3_CH_OUT8; cnt <<= 1 )
{
if ( SOLIDSWITCH3_OK == solidswitch3_enable_output ( &solidswitch3, cnt ) )
{
solidswitch3_display_enabled_channels( &solidswitch3 );
Delay_ms ( 1000 );
}
}
if ( SOLIDSWITCH3_OK == solidswitch3_disable_output ( &solidswitch3, SOLIDSWITCH3_ALL_CHANNELS ) )
{
solidswitch3_display_enabled_channels( &solidswitch3 );
Delay_ms ( 3000 );
}
}
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.SolidSwitch3
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 MikroElektronika compilers.
mikroSDK
This 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.
For more information about mikroSDK, visit the official page.