# Sensirion driver provenance Source: https://github.com/Sensirion/embedded-i2c-sen66 Pinned commit: `31cae0dd5253d256e8e647408ea1c544eff5d1c2` (retrieved 2026-11-09). Unmodified upstream files: `sen66_i2c.c`, `sen66_i2c.h`, `sensirion_common.c`, `sensirion_common.h`, `sensirion_i2c.c`, `sensirion_i2c.h`, `sensirion_config.h`. License: `LICENSE.sensirion` (BSD-3-Clause). The common helpers also provide the API used by the existing SEN5x driver. `sensirion_i2c_hal.c` remains our ESP-IDF port using the shared, mutex-protected i2cdev hardware bus when sensor and board pins match. SEN66 with the display uses a separate local open-drain GPIO I2C engine (`sensor_soft_i2c.c/.h`) on GPIO7/8; touch retains hardware I2C on GPIO18/19. The GPIO engine has its own wire-level ACK/NACK/stretch/timeout tests. No upstream example HAL is compiled. The manufacturer driver files retain their original copyright text. `sen5x_i2c.c/.h` are the existing SEN5x driver; `air_sensor_app.c` selects the SEN54 or SEN66 command API at compile time using `hardware_config.h`.