OFF
MIKROE-1840
25 g
Status:
Thermo 2 Click is a compact add-on board that accurately measures temperature. This board features the DS1825, a programmable resolution 1-wire digital thermostat from Analog Devices. The DS1825 digital thermometer provides 9 to 12-bit centigrade temperature measurements alongside the alarm function with NV user-programmable upper and lower trigger points, communicating with the host MCU over a 1-Wire bus. It has an operating temperature range of -55°C to +125°C with an accuracy of ±0.5°C over a range of -10°C to +85°C. This Click board™ is suitable for the thermal management of various consumer, industrial, and environmental applications.
Thermo 2 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
This product is no longer in stock
Availability date:
Thermo 2 Click is based on the DS1825, a digital thermometer that provides 9 to 12-bit temperature measurements and communicates over a 1-Wire interface from Analog Devices. The sensor has an extended operating temperature range of -55°C to +125°C, with an accuracy of ±0.5°C over a standard range of -10°C to +85°C, and an alarm function with NV user-programmable upper and lower trigger points. Temperature measurements are sent to the MCU using the 1-Wire interface requiring only one data line that can also power the sensor parasitically. A wide span of good qualities makes it ideal for various applications, including HVAC environmental controls, temperature monitoring systems inside buildings, equipment/machinery, and process monitoring and control systems.
This Click board™ communicates with MCU using the 1-Wire interface that, by definition, requires only one data line (and ground) for communication with MCU. The 1-Wire communication line is routed to the GP jumper allowing the 1-Wire communication signal to the PWM pin or the AN pin of the mikroBUS™ socket. These pins are labeled GP0 and GP1, respectively, the same as the SMD jumper positions, making selecting the desired pin straightforward.
The DS1825 also features four address select jumpers for setting a unique ID for the sensor allowing up to 16 sensors to operate on a single 1-Wire bus. These address pins, ADR0-ADR3, are programmed by the user and determine the value of the last four LSBs of the slave address, which can be selected by positioning onboard SMD jumpers labeled as ADR SEL to an appropriate position marked as 1 or 0. This way, the DS1825 provides the opportunity of the 64 possible different location addresses by positioning the SMD jumper to an appropriate position.
This Click board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used as a reference for further development.
Type
Temperature & humidity
Applications
Can be used for the thermal management of various consumer, industrial, and environmental applications
On-board modules
DS1825 - digital thermometer from Analog Devices
Key Features
Unique 1-Wire interface, programmable resolution, selectable location address, high accuracy and precision, alarm function for detection of temperature faults, can be powered from data line, wide measurement range, and more
Interface
1-Wire
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V
This table shows how the pinout on THERMO 2 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1-JP4 | ADR SEL | Right | Location Address Selection 1/0: Left position 1, Right position 0 |
JP5 | GP SEL | Left | Communication Pin Selection GP0/GP1: Left position GP0, Right position GP1 |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Resolution | 9 | - | 12 | bit |
Accuracy | - | - | ±0.5 | °C |
Operating Temperature Range | -55 | +25 | +125 | °C |
We provide a library for the Thermo 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.
Library Description
This library contains API for Thermo 2 Click driver.
Key functions
thermo2_write_scratchpad
This function writes the temperature thresholds and configuration byte to the scratchpad.
thermo2_read_scratchpad
This function reads the scratchpad bytes.
thermo2_read_temperature
This function reads the temperature value in Celsius.
Example Description
This example demonstrates the use of Thermo 2 click board by reading and displaying the temperature in Celsius.
void application_task ( void )
{
float temperature;
if ( THERMO2_OK == thermo2_read_temperature ( &thermo2, &temperature ) )
{
log_printf( &logger, " Temperature: %.2f Crnn", temperature );
}
}
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.
This Click board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.