Carte de contrôle de température et d'humidité à 6 clics
Carte de contrôle de température et d'humidité à 6 clics
Key Features
- Deux capteurs de haute précision intégrés sur la même matrice, données de température ultra-précises obtenues grâce à l'utilisation du zoom ADC, back-end logique avancé offrant des données calibrées converties en unités physiques, faible dérive dans le temps, répétabilité élevée, etc.
- Basé sur l'ENS210, capteur d'humidité relative et de température avec interface I²C, de ScioSense
- C'est un choix parfait pour diverses applications grand public et industrielles, telles que les stations météorologiques intérieures, les thermostats et les humidistats, les centres de microenvironnement, les applications de thérapie respiratoire et les applications similaires.
Le Temp&Hum 6 Click Board™ est un capteur intelligent de température et d'humidité Click Board™, doté de fonctionnalités qui permettent une intégration simple dans n'importe quelle conception. Il mesure avec précision une large gamme de valeurs de température et d'humidité relative. Le circuit intégré de capteur ENS210 utilisé sur ce Click Board™ est un capteur de température et d'humidité relative (HR) ultra-précis, présentant une dérive très faible, une très faible consommation d'énergie, une faible hystérésis et une excellente stabilité à long terme. Grâce à son back-end logique avancé, le circuit intégré de capteur peut offrir des lectures de mesure en Kelvin et en % HR directement sur l'interface I2C.
Temp&Hum 6 Click Board™ est supporté par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Ce Click Board™ est livré sous la forme d'un produit entièrement testé, prêt à être utilisé sur un système équipé du socket mikroBUS.
Featuring a smart and accurate temperature and humidity sensor IC, this Click board™ represents a perfect solution for a wide range of applications that rely on an accurate temperature and humidity measurements. By reducing the workload off the host microcontroller (MCU), it makes software development much simpler and faster, while reducing the power consumption at the same time. It is a perfect choice for various consumer and industry related applications, such as indoor weather stations, thermostats and humidistats, microenvironment centers, respiratory therapy applications, and similar.
How Does The Temp&Hum 6 Click Board™ Work?
The main component of Temp&Hum 6 Click Board™ is the ENS210, a relative humidity and temperature sensor with I²C Interface, from AMS AG. This sensor IC integrates two very accurate sensing components: temperature sensor, and relative humidity sensor. Thanks to an integrated logic back-end section, the IC can output calibrated readings from both sensors in human-readable format (%RH, and K).
The ENS210 incorporates a high accuracy thermal sensor, which can measure the temperature in the range between -40°C and 100°C while retaining accuracy of ±0.5°C. The accuracy is even greater if the range is narrowed down: when used over the range between 0°C and 70°C, the typical accuracy is ±0.2°C. Also, the repeatability of the temperature measurement is very good, in the range of ±0.1°C. The ENS210 is very reliable. It can be used for prolonged periods of time, as it has a very low thermal drift of only 0.005°C per year.
After the measurement has been converted by the A/D converter which uses a relatively new hybrid-mode technology (Zoom ADC), it is fed to a logic back-end, which applies factory-calibrated correction, and converts the raw data into Kelvins. Note that the sensor will take some time to accommodate to the ambient temperature, especially if the temperature changes quickly, considering the thermal conductivity of the PCB itself. However, the Click board™ surface is not very large, resulting in lower thermal inertia.
The humidity sensor is a capacitor-based sensor, which consists of a humidity-sensitive large-area capacitor. The humidity-sensitive layer allows the capacitance changes proportional to relative humidity. The capacitance has a linear dependence on temperature, which ensures high accuracy. However, the accuracy of the relative humidity sensor changes with the ambient temperature, as well as with the %RH. The datasheet of the ENS210 offers an absolute accuracy map, covering a range of different %RH and °C values. The RH sensor accuracy varies in the range between ±2.5% and ±5.5%, depending on the measuring conditions. This table can be used to check the exact accuracy for some specific conditions.
After the measurement has been converted by a high-precision 2nd order sigma-delta ADC, the logic back-end section applies the factory-calibrated correction and converts the raw data into %RH value. Note that the capacitor-based humidity sensors commonly suffer from a small hysteresis that might occur if the sensor is used in very humid conditions for prolonged periods of time. However, this hysteresis is not irreversible. The ENS210 does not exhibit a significant hysteresis effect. The datasheet specifies it to be ±0.7 %RH in the range between 20% to 90% RH, and ambient temperature of 25 °C.
Temp&Hum 6 click uses the I2C communication interface. It has pull-up resistors connected to the mikroBUS™ 3.3V rail. A proper conversion of logic voltage levels should be applied before the Click board™ is used with MCUs operated with 5V.
SPECIFICATIONS
Type | Temperature & humidity |
Applications | It is a perfect choice for various consumer and industry related applications, such as the indoor weather stations, thermostats and humidistats, microenvironment centers, respiratory therapy applications, and similar applications |
On-board modules | ENS210, relative humidity and temperature sensor with I²C Interface, from ams AG |
Key Features | Two high-accuracy sensors integrated on the same die, ultra-accurate temperature data achieved by using the zoom ADC, advanced logic back-end offers calibrated data converted to physical units, low drift over time, high repeatability, etc. |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout on Temp&Hum 6 Click 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 | NC | ||
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 | +3V3 | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
PWR | PWR | - | Power LED indicator |
Software Support
We provide a library for the Temp&Hum 6 Click on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library initializes and defines the I2C bus driver and drivers that offer a choice for writing data in register and reads data form register. The library includes function for read Temperature and Relative Huminidy data and function for read device part ID data. The user also has the function for RUN and STOP procedure and function for reset device.
Key Functions
float temphum6_readTemperature(uint8_t tempIn)
- Functions for read Temperature data.float temphum6_readRelativeHuminidy()
- Functions for read Relative Huminidy data.void temphum6_reset()
- Functions for reset device.
Example Description
The application is composed of the three sections :
- System Initialization - Initializes I2C module.
- Application Initialization - Initialization driver init and reset device and read Part ID.
- Application Task - (code snippet) - Reads Temperature and Huminidy data and logs this data to USBUART every 1sec.
void applicationTask() { char demoText[50]; float TEMP; float HUM; TEMP = temphum6_readTemperature(_TEMPHUM6_TEMP_IN_CELSIUS); FloatToStr(TEMP,demoText); mikrobus_logWrite("Temperature is ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_TEXT); mikrobus_logWrite(" C", _LOG_LINE); HUM = temphum6_readRelativeHuminidy(); FloatToStr(HUM,demoText); mikrobus_logWrite("Huminidy is ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_TEXT); mikrobus_logWrite(" %RH", _LOG_LINE); mikrobus_logWrite("------------------", _LOG_LINE); Delay_ms( 1000 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
I2C
Additional Notes and Information
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
Software Support
We provide a library for the Temp&Hum 6 Click on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library initializes and defines the I2C bus driver and drivers that offer a choice for writing data in register and reads data form register. The library includes function for read Temperature and Relative Huminidy data and function for read device part ID data. The user also has the function for RUN and STOP procedure and function for reset device.
Key Functions
float temphum6_readTemperature(uint8_t tempIn)
- Functions for read Temperature data.float temphum6_readRelativeHuminidy()
- Functions for read Relative Huminidy data.void temphum6_reset()
- Functions for reset device.
Example Description
The application is composed of the three sections :
- System Initialization - Initializes I2C module.
- Application Initialization - Initialization driver init and reset device and read Part ID.
- Application Task - (code snippet) - Reads Temperature and Huminidy data and logs this data to USBUART every 1sec.
void applicationTask() { char demoText[50]; float TEMP; float HUM; TEMP = temphum6_readTemperature(_TEMPHUM6_TEMP_IN_CELSIUS); FloatToStr(TEMP,demoText); mikrobus_logWrite("Temperature is ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_TEXT); mikrobus_logWrite(" C", _LOG_LINE); HUM = temphum6_readRelativeHuminidy(); FloatToStr(HUM,demoText); mikrobus_logWrite("Huminidy is ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_TEXT); mikrobus_logWrite(" %RH", _LOG_LINE); mikrobus_logWrite("------------------", _LOG_LINE); Delay_ms( 1000 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
I2C
Additional Notes and Information
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
Carte de contrôle de température et d'humidité à 6 clics
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.