To measure a 4-20mA current signal, a resistor should be wired inline to the low side of the power to the device (possibly supplied by the Flexi 1 itself), and analog in 1 be wired to the high side of the resistor (see diagram). Selection of the value of resistance is a trade off between measurement precision, and the input voltage range of the device being powered (as well as the input range of the Flexi 1). 


The analog input on the Flexi 1 has a range of 0 to 5V. To use the full range, the resistance required would be 5V / 20mA = 250 ohms. The downside of this is that when the device is outputting 20mA (some devices may also output a slightly higher current to signal a fault), there will be a 5V drop across it's input voltage. So if the device was powered from 12V, it would now see 12 - 5V = 7V at its input. This may be outside of its operating range. To fix this, either the input voltage may be increased (pay attention to the maximum input voltage ratings on the Flexi 1), or the resistance could be decreased. 


For the above example, running from 12V, and a device that runs from 9 - 12V, we can calculate the resistance by (12 - 9) / 20mA = 150 ohm. This would create a voltage drop of 3V at 20mA, and allow the device to be fully powered. The downside of this is that only 3/5 = 60% of the input range is being used (which may still be fine for most applications).


To conclude:

  1. Note the maximum and minimum input voltages on the Flexi 1 and device being powered.
  2. Calculate the maximum allowable voltage drop across the resistor (Vin minus Vdrop must be greater than Vminimum(device)).
  3. If applicable, adjust input voltage to allow for a higher voltage drop (must be lower than the maximum input voltage).
  4. Calculate resistance from voltage drop - V / 0.02 = R.