Reference
Last revision 2025/12/17
The ENS160 Air Quality Sensor article covers its library installation, communication protocols, API functions, and principles for effective indoor air quality monitoring using TrueVOC™ technology for detecting TVOC, eCO2, and AQI with high accuracy and stability.
Library
- Arduino Library: Download and install the ENS160 Library. (About how to install the library?)
- Python Library: ENS160 Air Quality Sensor Python Library
Communication Protocol Description
- Interface Mode: I2C, SPI
- I2C Address: 0x52, 0x53(Default)
API Description
/**
* @fn setPWRMode
* @brief Set power supply mode
* @param mode Configurable power mode:
* @n ENS160_SLEEP_MODE: DEEP SLEEP mode (low power standby)
* @n ENS160_IDLE_MODE: IDLE mode (low-power)
* @n ENS160_STANDARD_MODE: STANDARD Gas Sensing Modes
* @return None
*/
void setPWRMode(uint8_t mode);
/**
* @fn setTempAndHum
* @brief Users write ambient temperature and relative humidity into ENS160 for calibration compensation of the measured gas data.
* @param ambientTemp Compensate the current ambient temperature, float type, unit: C
* @param relativeHumidity Compensate the current ambient temperature, float type, unit: %rH
* @return None
*/
void setTempAndHum(float ambientTemp, float relativeHumidity);
/**
* @fn getENS160Status
* @brief This API is used to get the sensor operating status
* @return Operating status:
* @n eNormalOperation: Normal operation;
* @n eWarmUpPhase: Warm-Up phase;
* @n eInitialStartUpPhase: Initial Start-Up phase;
* @n eInvalidOutput: Invalid output
*/
uint8_t getENS160Status(void);
/**
* @fn getAQI
* @brief Get the air quality index calculated on the basis of UBA
* @return Return value range: 1-5 (Corresponding to five levels of Excellent, Good, Moderate, Poor and Unhealthy respectively)
*/
uint8_t getAQI(void);
/**
* @fn getTVOC
* @brief Get TVOC concentration
* @return Return value range: 0–65000, unit: ppb
*/
uint16_t getTVOC(void);
/**
* @fn getECO2
* @brief Get CO2 equivalent concentration calculated according to the detected data of VOCs and hydrogen (eCO2 – Equivalent CO2)
* @return Return value range: 400–65000, unit: ppm
* @note Five levels: Excellent(400 - 600), Good(600 - 800), Moderate(800 - 1000),
* @n Poor(1000 - 1500), Unhealthy(> 1500)
*/
uint16_t getECO2(void);
Principle
This Fermion: ENS160 Air Quality Sensor, based on ScioSense's new ENS160 sensor chip, is specifically designed for indoor air quality monitoring and offers detection of multiple IAQ data(TVOC, eCO2, AQI).
The innovative TrueVOC™ technology combines the metal oxide(MOX) technology to bring this sensor superior accuracy, fast response, anti-interference, etc. With intelligent on-chip algorithms, the ENS160 can directly output rich and easy-to-understand environmental data. Preheat the sensor 3 minutes before use then you can obtain accurate data more quickly. What's more, the built-in automatic baseline correction algorithm ensures the long-term stability of the sensor.
document
Was this article helpful?
