relay6
2.1.0.0
|
Relay 6 Click is a compact add-on board for precise load control and monitoring applications. This board features four 9913-05-20TRs, a reed relay from Coto Technology, well-known for its ultra-miniature SMD design, which offers the smallest footprint in the market. These four relays each have four load connection terminals and blue LED indicators that signal the operational status, ensuring clear and immediate feedback.
We provide a library for the Relay 6 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 Relay 6 Click driver.
relay6_cfg_setup
Config Object Initialization function. relay6_init
Initialization function. relay6_default_cfg
Click Default Configuration function. relay6_reset_port_expander
Relay 6 reset port expander function. relay6_port_expander_write
Relay 6 port expander write register function. relay6_set_relay
Relay 6 set relay state function. This example demonstrates the use of Relay 6 Click board by toggling the relays state.
The demo application is composed of two sections :
Initializes the driver and logger.
Switches all relays state every second and displays the state on the USB UART.
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.