I’m successfully using a PR33-15 to read data from a flow sensor and I’m generally happy with it. However, I’d like to understand how best to calculate the relationship between the raw values and the current.
All of the code examples I can find contain magic-numbers, either hard-coded raw values or scaling factors. Sometimes a slightly different value is used for each channel. Are these magic numbers obtained by experiment with a 4-20ma signal generator or is it possible to calculate the values using the resolution+gain and information about the components on the board?