Im having problems reading some 4-20 ma sensors with Xbee AIO Adapter.
I can read correct values of sensors with arduino using a 250 ohm resistor to convert 4-20ma to 1-5V and appling +12V to the sensor with and exteral power supply.
I can see how change the value when i apply heat to the sensor.
But when i connect the sensor to de AIO Adapter in 4-20ma mode, its reads always the same value (122). This value readed dont change the value when i apply heat to the sensor.
I follow all the instructions correctly from https://www.digi.com/wiki/developer/index.php/XBee_Analog_I/O_Adapter and i set terminal 1 and 2 for 4-20ma mode, d0 and d1 to 2 for analog input and P3=5 to output the 12V to the sensor. I also put on the dip switch 2 as manual says.
Thanks in advance.