From ddf9721b9d603ba88c3f92d379e04f14ef169320 Mon Sep 17 00:00:00 2001 From: teamplayer3 Date: Fri, 15 Nov 2024 11:06:14 +0100 Subject: [PATCH] add ens160 driver --- driver-db-schema.json | 17 +++++++++++++++-- driver-db/ens160.toml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 driver-db/ens160.toml diff --git a/driver-db-schema.json b/driver-db-schema.json index 9dd4007..992716a 100644 --- a/driver-db-schema.json +++ b/driver-db-schema.json @@ -43,7 +43,8 @@ "Adafruit", "Sparkfun", "Mikroe", - "BBC" + "BBC", + "DFRobot" ] }, "Category": { @@ -88,6 +89,16 @@ "type": "string", "const": "Sensor::CO2" }, + { + "description": "Sensors calculating air CO2 concentration from VOC values.", + "type": "string", + "const": "Sensor::eCO2" + }, + { + "description": "Sensors measuring general air quality by TVOC.", + "type": "string", + "const": "Sensor::TVOC" + }, { "description": "Sensors measuring air temperature", "type": "string", @@ -154,6 +165,7 @@ "TI", "NXP", "Toshiba", + "ScioSense", "Sensirion", "SolomonSystech", "Unknown" @@ -170,7 +182,8 @@ "type": "string", "enum": [ "StemmaQt", - "MikroBus" + "MikroBus", + "Qwiic" ] }, "DevBoard": { diff --git a/driver-db/ens160.toml b/driver-db/ens160.toml new file mode 100644 index 0000000..1df935a --- /dev/null +++ b/driver-db/ens160.toml @@ -0,0 +1,34 @@ +manifest_version = "0.0.1" + +[meta] +categories = ["Sensor::TVOC", "Sensor::eCO2"] +datasheets = [ + "https://www.sciosense.com/wp-content/uploads/2023/12/ENS160-Datasheet.pdf", +] +manufacturer = "ScioSense" +names = ["ENS160"] +part_numbers = ["ENS160"] + +kicad_symbol = ["ENS160-BGLM"] + +[[dev_boards]] +connections = ["Qwiic", "StemmaQt"] +link = "https://www.adafruit.com/product/5606" +manufacturer = "Adafruit" +name = "Adafruit ENS160 MOX Gas Sensor - Sciosense CCS811 Upgrade - STEMMA QT / Qwiic" + +[[dev_boards]] +connections = ["Qwiic", "StemmaQt"] +link = "https://www.adafruit.com/product/5606" +manufacturer = "Sparkfun" +name = "SparkFun Indoor Air Quality Sensor ENS160 for Arduino Qwiic" + +[[dev_boards]] +connections = ["StemmaQt"] +link = "https://www.adafruit.com/product/5606" +manufacturer = "DFRobot" +name = "Fermion - ENS160 Air Quality Sensor - DFRobot SEN0515" + +[interfaces.i2c] +addrs = [0x53] +interrupt = true