relay7
2.1.0.0
|
Relay 7 Click is a compact add-on board for precise load control and monitoring applications. This board features four CRR05-1As, a CRR series reed relay from Standex Electronics, well-known for its ultra-miniature SMD design and high insulation resistance. These four relays each have four load connection terminals and orange LED indicators that signal the operational status, ensuring clear and immediate feedback. These relays are highly reliable and come in a rugged thermoset over-molded package with ceramic substrate and a typical 1013Ω insulation resistance. They support a coil voltage of 5VDC and switching capabilities up to 170VDC/0.5A/10W. It is ideally suited for test and measurement (ATE) equipment, instrumentation, and telecommunications.
We provide a library for the Relay 7 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 7 Click driver.
relay7_cfg_setup
Config Object Initialization function. relay7_init
Initialization function. relay7_default_cfg
Click Default Configuration function. relay7_set_relay
This function sets the desired state of the selected relay. relay7_reset_device
This function performs a hardware reset of the device. relay7_get_interrupt
This function returns the interrupt pin logic state. This example demonstrates the use of the Relay 7 click board by toggling the relay state.
The demo application is composed of two sections :
Initialization of I2C module and log UART. After driver initialization, the app executes a default configuration.
The demo application toggles the state of all relays every 5 seconds. The results are sent to the UART terminal, where you can monitor their changes.
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.