I’m using CH1 and CH2 to measure two 4-20mA sensors, each sensor is power with 24V.
For the sample I’m using 16bit with Gain 2x.
I’m using the following code:
E.g. for CH1 I’m using a pressure sensor (0-25bar 4-20mA).
How do I convert the raw value into the sensor’s value?
Is there a way to calculate the raw value ranges for 4mA and 20mA?
Thank you for the reply.
But what I need are the ADC raw values for 4mA and 20mA.
The range of 14490 and 2900 seems not to be right.
For e.g.11.0bar I’ve measured 10.84mA => 15451 (ADC raw value)
With the range above I’ve would get 27.1 bar.
What couple of things do you need for the formula you’ve mentioned?