You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am controlling an arduino uno with a windows pc to do some data collection. I am trying to connect an ADS1115 module to the I2C bus of the arduino in order to get higher resolution data but I am struggling to do this succesfully. Here is my code:
As you can see, as I twist the potentiometer that I have connected the value reading with the arduinos ADC is working correctly but from the I2C I am just getting the same tuple everytime, (118, 0, 0, 0). I have looked over issue #37 but I have not been able to solve my problems yet. Thanks for any help
The text was updated successfully, but these errors were encountered:
I am controlling an arduino uno with a windows pc to do some data collection. I am trying to connect an ADS1115 module to the I2C bus of the arduino in order to get higher resolution data but I am struggling to do this succesfully. Here is my code:
When I run it I get output that looks like this:
Arduino Built-in ADC: 0.3206
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.3011
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.2825
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.2669
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.2483
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.2326
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.2151
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.1984
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.1896
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.1779
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.1623
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.1496
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.1339
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.1202
16-bit ADC module: (118, 0, 0, 0)
Arduino Built-in ADC: 0.1036
16-bit ADC module: (118, 0, 0, 0)
As you can see, as I twist the potentiometer that I have connected the value reading with the arduinos ADC is working correctly but from the I2C I am just getting the same tuple everytime, (118, 0, 0, 0). I have looked over issue #37 but I have not been able to solve my problems yet. Thanks for any help
The text was updated successfully, but these errors were encountered: