I want to do something similar for my keezer to tell how much beer is left in each keg…
That type of sensor hasn’t proven to be very repeatable, but how is it relatively?
If I could detect and zero at the change event, then graph the calibrated data relatively, this might work.
@bestes, this is why I’d like to be able to process data, before displaying it. For temperature modules, it makes sense to add formulas for converting from C to F or K, but lets say my temperature is coming from an ADC with a thermistor. The thermistor has a polynomial or linear approximation, to convert the voltage to a temperature. Would be nice to be able to enter this scaling formula within the widget instead of writing a driver.
…or in my case, have a trigger that runs a zeroing script, and a display widget that grabs the sanitized data from a file vs the raw ADC… something that you are going to want as all Arduinos have ADC inputs.
Got a Pi 3 now, going to see what trouble I can get into this weekend now all the wildfires are slowing down.