Sensirion / gas-index-algorithm

Sensirion's Gas Index Algorithm provides a VOC and NOx Index output signal calculated from the SGP40/41 raw signals

Home Page:https://sensirion.github.io/gas-index-algorithm/

Repository from Github https://github.comSensirion/gas-index-algorithmRepository from Github https://github.comSensirion/gas-index-algorithm

Micropython port?

adriangalilea opened this issue · comments

Hello,

I was intending to use this sensor for my air quality monitor system on a raspberry pi pico and noticed is already available for python, how likely is it that this will get ported to micropython/circuitpython?

Sorry if this is not the place to discuss this.

Same question here
How do we get this running on micropython?

Hi,
we do not have any plans to port this to micropython/circuitpython.

The python package uses the c-code of the algorithm an swig to make the library available from Python. As far as I know this is not supported for Micropython.
We targeted the Python package to be used on a Desktop environment to evaluate the gas index algorithm and parameters before deploying it on a micro controller and therefore would like to keep the behavior as compatible as possible

For microcontroller we suggest to use the gas index algorithm fixed point version as it provides the best compatibility with any type of hardware