Re: [RFC] iio: ppm: Add IIO_PPM channel type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/27/2015 05:40 PM, Lars-Peter Clausen wrote:
> On 08/27/2015 08:45 AM, Matt Ranostay wrote:
>> There are air quality sensors that report data back in parts per million
>> of VOC (Volatile Organic Compounds) which are usually indexed from CO2
>> or another common pollutant.
>>
>> This patchset adds an IIO_PPM type because no other channels types fit
>> this use case.
> 
> Hm, I'm not sure if parts-per-million is a good channel type. It's more of a
> scale. The type would be concentration.[...]

Reading a bit more[1], concentration doesn't actually seem to be the right
term in this case, the correct term is mole fraction. Maybe we can use that
as the type. That also makes it clear that the unit is molecules per molecule.

- Lars

[1] https://en.wikipedia.org/wiki/Concentration
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux