Skip to content

fix(bme680): fix gas resistance variable to produce usable data#2146

Open
NickDunklee wants to merge 1 commit intomeshcore-dev:devfrom
NickDunklee:fix-bme680-gas-resistance
Open

fix(bme680): fix gas resistance variable to produce usable data#2146
NickDunklee wants to merge 1 commit intomeshcore-dev:devfrom
NickDunklee:fix-bme680-gas-resistance

Conversation

@NickDunklee
Copy link

This fixes the gas resistance output of the BME680 sensor so the data can be usable. In its current state, the value can loop and go negative, and never actually show the correct values from the sensor.

  • Gas resistance should be a Cayenne LPP generic sensor, type 100, uint32 BE.
  • addAnalogInput overflows int16×0.01 for typical 10k–500k Ω measurements.
  • Tested on RAK19003 with a BME680 sensor on board.

- Gas resistance should be a Cayenne LPP generic sensor, type 100, uint32 BE.
- addAnalogInput overflows int16×0.01 for typical 10k–500k Ω measurements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant