How does it work?
SHT AN Click is featuring SHT31-ARP-B that was built on a completely new and optimized CMOSens® chip, which allows for increased reliability and improved accuracy specifications. Sensor can be ordered with filter membrane which is a PTFE film that protects sensor from opening from water and dust.
Since the SHT31-ARP-B is a temperature and humidity (T and RH) sensor with two analog outputs for each measurement, and on the mikroBUS socket we have only one Analog output we multiplexed sensor output by suing 74LVC1G3157GV, 2-channel analog multiplexer/demultiplexer. Switching between temperature and humidity measurements is performed by asserting the selection input (SEL) which is connected to the multiplexer and by that way selecting desired data output.
Measured data is supplied as radiometric voltage output, after reading the temperature or humidity analog signal user will have to do conversion to a physical value. The physical values as measured by the sensor are mapped to a radiometric voltage output (VT, VRH as 10 to 90% of VDD). Prior to conversion into a voltage signal, the physical values are linearized and compensated for temperature and supply voltage effects by the sensor. Additionally, the voltage output is calibrated for each sensor.
The nRST pin is active low and may be used to generate a reset of the sensor. A minimum pulse duration of 1 µs is required to reliably trigger a reset. The nRST signal is routed to the mikroBUS™ RST pin.
This Click board™ can be supplied and interfaced with both 3.3V and 5V without the need for any external components. The onboard SMD jumper labeled as VCC SEL allows voltage selection for interfacing with both 3.3V and 5V microcontrollers.
Specifications
Type
Temperature & humidity
Applications
Industrial RH and temperature measuring applications, smart home, air conditioner, home and environmental monitoring, etc…
On-board modules
SHT AN Click uses the SHT31-ARP, a high accuracy temperature and humidity sensor from Sensirion.
Key Features
Key Features Low energy consumption, wide temperature and humidity operating range with low RH response time, small package
Interface
Analog,GPIO
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on SHT AN Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
JP2 | VCC SEL | Left | Power Supply Voltage Selection Jumper: Left position 3.3V, right position 5V |
SHT AN Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 2.4 | – | 5.5 | V |
Operating Temperature Range | -40 | – | 125 | °C |
Temperature accuracy | – | +/- 0.3 | – | °C |
Humidity accuracy | – | +/- 2.0 | – | %RH |
Software Support
We provide a library for the SHT AN Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Library Description
This library contains API for SHT AN Click driver.
Key functions
-
Function sets signal output ADC mode
-
of the SHT3x-ARP Humidity and Temperature Sensor IC on SHT
-
ANClick.
-
Function hardware reset the SHT3x-ARP Humidity and Temperature Sensor IC
-
on SHT AN click by cleared to ‘0’ state of the RST pin,
-
wait the 100 ms, sets to ‘1’ state of the RST pin.
Example Description
This example demonstrates the use of SHT AN Click to measure temperature and humidity.
void application_task ( void )
{
shtan_calculate_temperature( void );
log_printf( &logger, " Temp. : %.2frn", temperature );
shtan_calculate_humidity( void );
log_printf( &logger, " Hum. : %.2frn", humidity );
log_printf( &logger, "--------------------------" );
Delay_ms ( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Other MIKROE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.ShtAn
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 MIKROE compilers.
mikroSDK
This 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.
For more information about mikroSDK, visit the official page.