Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
/ SHT1xController Public archive

Arduino Library for the SHT1x series (SHT10, SHT11, SHT15) temperature / humidity sensors from Sensirion.

Notifications You must be signed in to change notification settings

jncfa/SHT1xController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHT1X Library

This is a Arduino Library for the SHT1x series (SHT10, SHT11, SHT15) temperature / humidity sensors from Sensirion, supporting both V3 and V4 versions. It allows temperature measurements both in Celsius and Fahrenheit degrees, as well as humidity (in percentage).

This library is an expansion of the SHT1x controller provided by Sparkfun. By taping into the status register of the sensor, you now have the ability to switch measurement resolution (supporting 8/12/14 bits data measurements) for increased precision or speed, and even use the sensor's internal heater in the measurements. It also contains an optional CRC-8 checksum calculation to verify data integrity (It's active by default, read below to find out how to disable this feature).

Using preprocessor directives, you can disable some procedures available in the class:

  • SHT1X_USE_BITWISE_CRC : Changes CRC-8 checksum calculation from a bytewise (using a lookup table) to a bitwise process;
  • SHT1X_NO_SAFEGUARD : Disables SHT1x overheat safeguard procedures (may harm sensor in long-term usage);
  • SHT1X_NO_CRC_CHECK : Disables the CRC-8 checksum calculation within the data measurements;

Repository Contents

  • /src - Source files for the library (.cpp, .h).
  • library.properties - General library properties for the Arduino package manager.

Documentation

License Information

The code is beerware; if you see me at the local, and you've found my code helpful, come buy me a round!

Please use, reuse, and modify these files as you see fit. Please maintain attribution to all contributors and release anything derivative under the same license.

Distributed as-is; no warranty is given.

About

Arduino Library for the SHT1x series (SHT10, SHT11, SHT15) temperature / humidity sensors from Sensirion.

Resources

Stars

Watchers

Forks

Languages