Generic Linux Support
Linux is an popular operating system kernel which is released as an open source project. Many contributors have added support for countless platforms and device drivers over the years, which allows to run Linux on a hardware ranging from tiny embedded systems to huge supercomputers. It's also used in the popular Android mobile phone operating system.
The Raspberry Pi platform is Linux based, so we have some documentation and tutorials there to get you started. This page aims to provide a more compact list about sensors that are currently supported by Linux.
Sensors Supported by the Upstream Linux Kernel
The Linux kernel project is hosted at www.kernel.org. The source code that can be downloaded there contains support for the following sensors:
|Sensor||Supported since Kernel Version||Supported Since Date|
|SHT1x||2.6.30||April 13, 2009|
|SHT2x||2.6.38||January 8, 2011|
|SHTC1/SHTW1*/SHTW2||3.16||June 12, 2014|
|SHT3x||4.8||June 2, 2016|
* The SHTW1 has been replaced by SHTW2, and is therefore not recommended for new designs
The table above shows the earliest kernel versions which support the sensor. All subsequent versions also contain the drivers, so this is the minimal version; we recommend to always use the latest stable kernel version available for your hardware platform.
Those drivers can be selected when configuring a new kernel. There is a good tutorial on compiling kernels here. During the step "Changing your config" make sure you enable "I2C" as well as "HWMON"; then the sensors are available under the hardware monitoring section.
Out of Tree Drivers
For our differential pressure and flow sensors, Sensirion maintains a driver outside of the regular kernel tree. The driver, along with documentation, can be found on our GitHub page.