Arduino Library for Sensirion SHT1x Humidity and Temperature sensors.

The library block SHT1x reads the relative humidity [%] and temperature [°C] from a SHT1x Sensor
2.5K Downloads
Updated 22 Nov 2013

View License

Arduino Library for Sensirion SHT1x Humidity and Temperature Sensors. The library block SHT1x reads the relative humidity [%] and temperature [°C] from a SHT1x sensor connected to an Arduino board, DATA pin from SHT1x is connected to digital "Pin 6" and SCK pin to "Pin7". Library block also provides error message.
A sample model is provided to show how to use the library block to read the values from a SHT15 sensor connected to an Arduino Duemilanove and send them over the serial port; a serial terminal is then used to monitor temperature and humidity on a PC.
Note: This library doesn't use the Simulink built-in support for Arduino, it uses the "Embedded Coder Support for Arduino Hardware", it can be downloaded here http://www.mathworks.com/matlabcentral/fileexchange/30277-embedded-coder-support-package-for-arduino
The target supports many Arduino boards like Uno, Mega 2560 and Duemilanove.

NOTE:
Since we are not able to publish executable files (mex) on File Exchange, we need to compile
the S-Function in the library block before use it. Read the "readme.txt" for instructions.

Cite As

Antonio Beltran (2024). Arduino Library for Sensirion SHT1x Humidity and Temperature sensors. (https://www.mathworks.com/matlabcentral/fileexchange/44432-arduino-library-for-sensirion-sht1x-humidity-and-temperature-sensors), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

mex32 file removed.