Skip to content

This is the SmartEverything library to manage the Humidity Sensor

Notifications You must be signed in to change notification settings

ameltech/sme-hts221-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartEverything ST HTS221 Humidity Sensor


This is a library for the ST HTS221 component.

The HTS221 is an ultra compact sensor for relative humidity and temperature. It includes a sensing element and a mixed signal ASIC to provide the measurement information through digital serial interfaces.

The sensing element consists of a polymer dielectric planar capacitor structure capable of detecting relative humidity variations and is manufactured using a dedicated ST process.

The HTS221 is available in a small top-holed cap land grid array (HLGA) package guaranteed to operate over a temperature range from -40 °C to +120 °C.

* ST HTS221 Home Page *

Host control and result reading is performed using an I2C interface, no extra pins are required.

It was principally designed to work with the SmartEverything board, but could be easily adapt and use on every Arduino and Arduino Certified boards.

Library is based on the useful project done by Kris Winer

Written by Seve seve@axelelettronica.it.

Repository Contents


  • /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
  • /src - Source files for the library (.cpp, .h).
  • library.properties - General library properties for the Arduino package manager.

Releases


v1.1.2 Second Release 3-Jan-2017

  • Increased Humidity sensor accuracy from int to double. Modified the provided examples accordingly.

v1.1.1 Second Release 18-Dec-2015

  • Change example to be more Arduino boards compatible and not only for ASME boards family.

v1.1.0 Second Release 18-Dec-2015

  • Fixed Issue:
    Fix Humidity example: Add Wire.begin() to initiate the Wire library and join the I2C bus.
    Make the temperature reading more accurate: The HTS221 sensor is more accurate than 1 degree C.

  • New Features:
    Add 2 new examples to be used with the Arduino plotter

v1.0.0 First Release

Documentation


License Information


Copyright (c) Amel Technology. All right reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

About

This is the SmartEverything library to manage the Humidity Sensor

Resources

Stars

Watchers

Forks

Packages

No packages published