thermostat5
2.1.0.0
|
PRVIH_PAR_RECENICA_SA_PRODUCT_PAGE_DA_ISPRATE_CELINU
[click Product page](CLICK_PRODUCT_PAGE_LINK)
We provide a library for the Thermostat 5 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 Thermostat 5 Click driver.
thermostat5_cfg_setup
Config Object Initialization function. thermostat5_init
Initialization function. thermostat5_set_relay
This function controls the relay by setting the state of the ON (PWM) pin. thermostat5_get_temperature
This function reads and calculates temperature in degrees Celsius [degC] using NTC thermistors. thermostat5_read_voltage
This function sets the voltage reference for Thermostat 5 click driver. This library contains API for the IR Sense 5 Click driver for temperature measurement and relay control.
The demo application is composed of two sections :
The initialization of the I2C or ADC module and log UART set the relay to an OFF state.
The demo application measures temperature in degrees Celsius. If the temperature increases above 25 degrees Celsius, the relay will turn ON, otherwise it will turn OFF. Results are being sent to the UART Terminal, where you can track their changes.
For temperature measurement, we used Semitec 103AT-2 NTC Thermistors.
- Beta parameter: 3435 K
- Resistance: 10 kOhms
- Tolerance: 1 %
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.