Using the example ads1118example sketch, changed to ads1118.setInputSelected(ads1118.AIN_0) on an Arduino Nano I get very random results with this library. Why does the temperature reading vary wildly?
22.3125020000mV
9.718750 C
22.3125020000mV
9.937500 C
22.3125020000mV
10.156250 C
22.3125020000mV
10.531250 C
22.3125020000mV
10.656250 C
22.3125020000mV
11.031250 C
22.3437520000mV
3.656250 C
22.3437520000mV
10.343750 C
22.3437520000mV
10.062500 C
22.3437520000mV
10.218750 C
22.3437520000mV
10.250000 C
22.3437520000mV
10.218750 C
22.3437520000mV
10.218750 C
12.0156260000mV
10.281250 C
22.3437520000mV
10.343750 C
22.3750000000mV
10.312500 C
22.3750000000mV
10.531250 C
22.3750000000mV
10.812500 C
22.3750000000mV
22.375000 C
22.3750000000mV
11.968750 C
22.3750000000mV
11.156250 C
22.3750000000mV
11.187500 C
22.3750000000mV
10.937500 C
22.3750000000mV
10.781250 C
22.3750000000mV
0.000000 C
22.4062500000mV
22.406250 C
22.4062500000mV
0.000000 C
22.4062500000mV
0.000000 C
22.4062500000mV
0.000000 C
22.4062500000mV
0.031250 C
22.4062500000mV
8.937500 C
22.4062500000mV
9.906250 C
22.4062500000mV
10.125000 C
22.4062500000mV
10.781250 C
22.4062500000mV
10.656250 C
22.4062500000mV
10.437500 C
22.4062500000mV
10.593750 C
22.4062500000mV
10.468750 C
22.4062500000mV
10.718750 C
22.4062500000mV
11.000000 C
12.5625000000mV
10.906250 C
22.4375020000mV
11.593750 C
22.4375020000mV
11.750000 C
22.4375020000mV
0.125000 C
22.4375020000mV
0.093750 C
22.4375020000mV
0.000000 C
22.4375020000mV
0.000000 C
0.0000000000mV
0.000000 C
22.4375020000mV
Using the example ads1118example sketch, changed to ads1118.setInputSelected(ads1118.AIN_0) on an Arduino Nano I get very random results with this library. Why does the temperature reading vary wildly?
22.3125020000mV 9.718750 C 22.3125020000mV 9.937500 C 22.3125020000mV 10.156250 C 22.3125020000mV 10.531250 C 22.3125020000mV 10.656250 C 22.3125020000mV 11.031250 C 22.3437520000mV 3.656250 C 22.3437520000mV 10.343750 C 22.3437520000mV 10.062500 C 22.3437520000mV 10.218750 C 22.3437520000mV 10.250000 C 22.3437520000mV 10.218750 C 22.3437520000mV 10.218750 C 12.0156260000mV 10.281250 C 22.3437520000mV 10.343750 C 22.3750000000mV 10.312500 C 22.3750000000mV 10.531250 C 22.3750000000mV 10.812500 C 22.3750000000mV 22.375000 C 22.3750000000mV 11.968750 C 22.3750000000mV 11.156250 C 22.3750000000mV 11.187500 C 22.3750000000mV 10.937500 C 22.3750000000mV 10.781250 C 22.3750000000mV 0.000000 C 22.4062500000mV 22.406250 C 22.4062500000mV 0.000000 C 22.4062500000mV 0.000000 C 22.4062500000mV 0.000000 C 22.4062500000mV 0.031250 C 22.4062500000mV 8.937500 C 22.4062500000mV 9.906250 C 22.4062500000mV 10.125000 C 22.4062500000mV 10.781250 C 22.4062500000mV 10.656250 C 22.4062500000mV 10.437500 C 22.4062500000mV 10.593750 C 22.4062500000mV 10.468750 C 22.4062500000mV 10.718750 C 22.4062500000mV 11.000000 C 12.5625000000mV 10.906250 C 22.4375020000mV 11.593750 C 22.4375020000mV 11.750000 C 22.4375020000mV 0.125000 C 22.4375020000mV 0.093750 C 22.4375020000mV 0.000000 C 22.4375020000mV 0.000000 C 0.0000000000mV 0.000000 C 22.4375020000mV