digiisolator2 2.1.0.0
|
DIGI Isolator 2 Click is a compact add-on board that provides isolated digital input signals to your application. This board features the ISO1228, an eight-channel isolated digital input from Texas Instruments. It comes with 8-channel isolated 24V digital input receivers, with a current limit and diagnostics. The device also provides a field-side input-current-powered LED indication to reduce system power dissipation and reduce the board temperatures.
We provide a library for the DIGI Isolator 2 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.
This library contains API for DIGI Isolator 2 Click driver.
digiisolator2_cfg_setup
Config Object Initialization function. digiisolator2_init
Initialization function. digiisolator2_default_cfg
Click Default Configuration function. digiisolator2_enable_output
This function enables output by setting the EN pin to high state. digiisolator2_disable_output
This function disables output by setting the EN pin to low state. digiisolator2_read_inputs
This function reads all inputs state via the selected driver interface. This example demonstrates the use of DIGI Isolator 2 click board by reading and displaying the state of 8 digital input channels.
The demo application is composed of two sections :
Initializes the driver and enables isolator outputs.
Reads the state of 8 digital input channels in hex format where MSB represents IN8 and LSB the channel IN1. The results are displayed on the USB UART every 500ms.
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:
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.