sparkfun / SparkFun_Indoor_Air_Quality_Sensor-ENS160_Arduino_Library

Other
2 stars 3 forks source link

Raw resistance values #6

Closed Akshul-pirhoalpha closed 1 year ago

Akshul-pirhoalpha commented 1 year ago

Is there any way to measure raw resistance values of the hot plates?

edspark commented 1 year ago

Yes there is, the sensor can provide their values directly specifically for post processing. You can find the method of doing this on pages 12 of 13 of the datasheet included in this repository. I can add something, but it's lower on my priority so I may get to it by the end of the week. Pull requests are always welcome, if you'd like to go that route.

edspark commented 1 year ago

@Akshul-pirhoalpha this seems interesting but unfortunately I'm not familiar how these values can be processed and so I can not test it. If you have any insight that would be great, I went ahead and added a function that reads the correct registers and converts them according to their description in the datasheet. You'll also find an example - example 7 utilizing this function.

Cheers!