Thermo 28 Click Board
Thermo 28 Click Board
Key Features:
- Low power consumption, high precision, I2C interface, factory calibrated, high accuracy and resolution, high reliability and long-term stability, and more
- Based on the AS6221 - digital temperature sensor from ams AG
- Can be used to replace PTC resistors in various consumer, and environmental applications
- mikroBUS: I2C Interface
The Thermo 28 Click Board™ is a compact add-on board that accurately measures temperature. This board features the ams AG’s AS6221, a high-accuracy digital temperature sensor. The AS6221 consists of a Si bandgap temperature factory-calibrated sensor, 16-bit ADC, and a digital signal processor, offering a high accuracy of ±0.9°C. It provides temperature data to the host controller through a compatible I2C interface, reliability, user-selectable I2C addresses, and alert functionality, which triggers an interrupt to protect the device from excessive temperatures. This Click board™ can be used in high-accuracy applications, such as measuring the skin temperature and replacing PTC resistors in various consumer and environmental applications.
The Thermo 28 Click Board™ is supported by a mikroSDK-compliant library, which includes functions that simplify software development. This Click board™ comes as a thoroughly tested product, ready to be used on a system equipped with the mikroBUS™ socket.
How Does The Thermo 28 Click Board™ Work?
The Thermo 28 Click Board™ is based on the AS6221, a digital temperature sensor from ams AG with increased reliability and improved accuracy specifications optimal for thermal management and protection applications. It integrates a digital temperature sensor with a SI bipolar transistor as a sensing element, a high-resolution analogue-to-digital converter (ADC), a data processing circuit, and serial interface logic functions in one package. The voltage is digitized and converted to a 16-bit temperature result in degrees Celsius, giving a fully calibrated digital output with outstanding accuracy of up to ±0.9°C typical over a temperature range of 20°C to 42°C.
The Thermo 28 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a high clock frequency operation. Besides, it also allows the choice of the four least significant bits of its I2C slave address by positioning the SMD jumper labelled ADDR SEL to an appropriate position providing the user with a selection of four slave addresses. In addition to communication signals, the AS6221 also possesses an additional interrupt alert signal, routed on the INT pin of the mikroBUS™ socket, indicating when a specific interrupt event occurs that depends on the value of the temperature reading relative to programmable limits.
The Thermo 28 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.
SPECIFICATIONS
Type | Temperature & humidity |
Applications | It can be used to replace PTC resistors in various consumer, and environmental applications |
On-board modules | AS6221 - digital temperature sensor from ams AG |
Key Features | Low power consumption, high precision, I2C interface, factory calibrated, high accuracy and resolution, high reliability and long-term stability, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout of the Thermo 28 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | INT | Interrupt | |
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | ADDR SEL | Lower | I2C Address Selection: Left position SDA, Right position SCL, Upper position 1, Lower position 0 |
THERMO 28 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Temperature Accuracy | - | ±0.9 | - | °C |
Resolution | - | 16 | - | bits |
Operating Temperature Range | -20 | +25 | +80 | °C |
Software Support
We provide a library for the Thermo 28 Click Board™ as well as a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager(recommended), downloaded from our LibStock™ or found on the MikroE Github account.
Library Description
This library contains API for the Thermo 28 Click Board™ driver.
Key functions
-
thermo28_get_temperature
Thermo 28 get temperature function. -
thermo28_set_config
Thermo 28 set configuration function. -
thermo28_set_continuous_conversion
Thermo 28 set continuous conversion function.
Example Description
This example demonstrates the use of the Thermo 28 Click Board™ by reading and displaying the temperature measurements.
void application_task ( void )
{
float temperature;
if ( THERMO28_OK == thermo28_get_temperature( &thermo28, &temperature ) )
{
log_printf( &logger, " Temperature [degC]: %.2f rn", temperature );
Delay_ms( 1000 );
}
}
The complete application code, and ready-to-use projects can be installed directly from NECTO Studio, The package Manager(recommended), downloaded from our LibStock™ or found on the MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Thermo28
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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 MikroE compilers.
MIKROSDK
The Thermo 28 Click Board™ is supported with mikroSDK - MikroE 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.
Thermo 28 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.