4-20mA signal generator to test ads1115

I am trying to get my 1 channel ads1115, I2C shield, and arduino uno to read a miliamp signal that I have on a signal generator . This is the most basic configuration that I could devise.

Should I be using the default address on the ground? ads.getAddr_ADS1115(ADS1115_DEFAULT_ADDRESS);

How is gain determined in when using this with an arduino uno?
Should I be using single conversion or something else?
Using single-conversion my channels 1 through 4 display approx 250, 4200,4200, 4200 regardless of the milliamp that are generated. Is channel 1 the correct channel to use?

Thanks

1 Like

I will recommend this lib

and this test setup guide

1 Like

Hi Bhaskar, I get the same results. The library provided is the one that I have been using. I updated my sketch to the exact code that you have provided.

12:31:54.011 β†’ Digital Value of Analog Input at Channel 1: 245
12:31:54.083 β†’ Current Loop Input at Channel 1: 0.154
12:31:55.049 β†’ Getting Single-Ended Readings from AIN0…3
This value remains the same, regardless of the loop current value.

with no wires connected to the β€œin” and β€œground” on the ads1115 I get

13:08:25.007 β†’ Digital Value of Analog Input at Channel 1: 306
13:08:25.081 β†’ Current Loop Input at Channel 1: 0.192
13:08:26.042 β†’ Getting Single-Ended Readings from AIN0…3

what current loop device are using to provide the signal

Are you referring to the signal generator when you say current loop device? When it was connected in the receiver; it was a 12-24v dc generator powered by a 20v battery.

yes the signal generator. it should be generating 4-20mA signal not voltage.
also this device provides the loop power, which means the signal generator should not provide power.

1 Like

Yes it it is set to 4-20 mA. I have verified with 2 multi-meters to insure that it is giving the correct value in addition to the display on the signal generator.

also this device provides the loop power, which means the signal generator should not provide power.

Then how can I test the ads receiver? How I can generate a 4-20 mA signal?