Tasmota/lib/lib_i2c/ScioSense_ENS16x
Christoph Friese 5d97a73ddf
Add ENS16x (air quality) and ENS210 (temp & RH) sensors (#19479)
* Add files via upload

Added ENS16x library enabling read-out of ENS160 and ENS161 sensor component (follow-up of CCS811 and iAQcore)
Added ENS210 library to read out ENS210 temperature & humidity sensor

* Add files via upload

Add air quality sensor readout for ENS160 and ENS161 checking two possible I2C addresses (follow up sensor for CCS811 and iAQcore)
Add temperature and humidity sensor readout checking two possible I2C addresses

* Update BUILDS.md

Add USE_ENS16x and USE_ENS210

* Update decode-status.py

Add USE_ENS16x and ENS210

* Update I2CDEVICES.md

Add USE_ENS16x and USE_ENS210

* Update my_user_config.h

Add USE_ENS16x and USE_ENS210

* Update support_features.ino

Add USE_ENS16x and USE_ENS210

* Update tasmota_configurations.h

Add USE_ENS16x and ENS210

* Update tasmota_configurations_ESP32.h

Add USE_ENS16x and USE_ENS210

* Update xsns_111_ens16x.ino

Corrected I2X number

* Update xsns_112_ens210.ino

Corrected I2C number

* Disable USE_ENS16x and USE_ENS210 by default

* Added code size information

* cut down in libs

* optimize tasmota side

* fix ens16x web display

* final fix on alternate addresses

* update code & RAM usage

---------

Co-authored-by: Barbudor <barbudor@barbudor.net>
2023-09-24 18:30:15 +02:00
..
src Add ENS16x (air quality) and ENS210 (temp & RH) sensors (#19479) 2023-09-24 18:30:15 +02:00
LICENSE.md Add ENS16x (air quality) and ENS210 (temp & RH) sensors (#19479) 2023-09-24 18:30:15 +02:00
README.md Add ENS16x (air quality) and ENS210 (temp & RH) sensors (#19479) 2023-09-24 18:30:15 +02:00
keywords.txt Add ENS16x (air quality) and ENS210 (temp & RH) sensors (#19479) 2023-09-24 18:30:15 +02:00
library.properties Add ENS16x (air quality) and ENS210 (temp & RH) sensors (#19479) 2023-09-24 18:30:15 +02:00

README.md

ScioSense ENS16x

Arduino library for the ENS160 and ENS161 digital four channel MOX gas sensor with I2C interface from ScioSense

Introduction

This project is an Arduino library. It implements a driver with examples for the ENS160 and ENS161. The ENS16x chip is a digital gas sensor for TVOC and eCO2 with an I2C interface. The driver in this Arduino library is based on the code supplied by Sciosense, the manufacturer of the chip.

Note that the ENS16x requires a supply voltage of 1.71V .. 1.98V. The ENS16x also requires a IO voltage of 1.71V .. 3.6V.

The ENS16x is made by Sciosense.

  • The datasheet of the ENS160 is available through the website. The datasheet of ENS161 is not yet released but can be provided on request

Prerequisites

It is assumed that

  • The Arduino IDE has been installed. If not, refer to "Install the Arduino Desktop IDE" on the Arduino site.
  • The library directory is at its default location. For me, that is C:\Users\sciosense\Documents\Arduino\libraries.

Installation

  • Visit the project page for the Arduino ENS16x library.
  • Click the green button Clone or download on the right side.
  • From the pop-up choose Download ZIP.
  • In Arduino IDE, select Sketch > Include Library > Manage Libraries ... and browse to the just downloaded ZIP file.
  • When the IDE is ready this README.md should be located at e.g. C:\Users\sciosense\Documents\Arduino\libraries\ScioSense_ENS16x\README.md.

Build an example

To build an example sketch

  • (Re)start Arduino.
  • Open File > Example > Examples from Custom Libraries > ENS16x > ENS16xbasic_normal
  • Make sure Tools > Board lists the correct board.
  • Select Sketch > Verify/Compile.

ScioSense is a Joint Venture of ams AG