timerrelay 2.1.0.0
|
Timer Relay Click is a compact add-on board that allows you to control the load with a timer. This board features the NE5555, a precision timer from Diodes Incorporated. It is a precision timing circuit capable of producing accurate time delays in a monostable mode of operation.
We provide a library for the Timer Relay 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 Timer Relay Click driver.
timerrelay_cfg_setup
Config Object Initialization function. timerrelay_init
Initialization function. timerrelay_default_cfg
Click Default Configuration function. timerrelay_set_wiper_pos
Timer Relay set wiper position function. timerrelay_activate_reset
Timer Relay reset timer function. timerrelay_activate_trigger
Timer Relay activate trigger function. This example demonstrates the use of the Timer Relay Click board by setting the relay timer to 2 seconds ON time, then holding it OFF for 2 more seconds.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration, then setting the ON time to 2 seconds.
This example is activating the trigger every 4 seconds activating the relay timer.
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.