ADS1115 - to use 3 channels?
Moderators: grovkillen, Stuntteam, TD-er
ADS1115 - to use 3 channels?
Hello, I am trying to measure analog values with ADS1115. I need 3 channels. I can only use 1 channel so far. is there a possibility to use 3 channels?
Re: ADS1115 - to use 3 channels?
Have you tried adding more tasks using the same plugin?
As far as I remember for this plugin, you need to set a port/address in the task, but it does all sampling in 1 run, so you should be able to have multiple tasks accessing the same chip but on different ports.
As far as I remember for this plugin, you need to set a port/address in the task, but it does all sampling in 1 run, so you should be able to have multiple tasks accessing the same chip but on different ports.
Re: ADS1115 - to use 3 channels?
yes i tried that In the current firmware you don't have to select a port. a multitask does not work.
Re: ADS1115 - to use 3 channels?
Hmm aparently the documentation is next to useless/non-existent for this plugin: https://espeasy.readthedocs.io/en/lates ... 15#ads1115
However, I did change the shown config about 2 years ago to something more readable in the config page of that plugin.
It used to be just a combination of the I2C address and some bitmap representing the gain and input port.
Now it is at least regarding the config a bit more readable.
It should show you an I2C address selector, some gain setting and Input Multiplexer.
Are you using it single-ended? (the pin combinations on differential seem a bit odd, so I have to check the datasheet to see if the mentioned pins are right)
However, I did change the shown config about 2 years ago to something more readable in the config page of that plugin.
It used to be just a combination of the I2C address and some bitmap representing the gain and input port.
Now it is at least regarding the config a bit more readable.
It should show you an I2C address selector, some gain setting and Input Multiplexer.
Are you using it single-ended? (the pin combinations on differential seem a bit odd, so I have to check the datasheet to see if the mentioned pins are right)
Re: ADS1115 - to use 3 channels?
OK, looked at the datasheet: https://cdn-shop.adafruit.com/datasheets/ads1115.pdf
Page 19 is about the bits for the MUX and the strange pin combinations for the differential setup seem to be correct.
Page 19 is about the bits for the MUX and the strange pin combinations for the differential setup seem to be correct.
Re: ADS1115 - to use 3 channels?
Yes, I want to measure 3 singe signals. No differential measurement
Re: ADS1115 - to use 3 channels?
I am currently using mega-20220809_57b0c0c version.
Re: ADS1115 - to use 3 channels?
When trying to sample via different tasks, how did you configure them?
Like I said, each task should be able to run on the same I2C address, set to its own pin config.
Like I said, each task should be able to run on the same I2C address, set to its own pin config.
Who is online
Users browsing this forum: No registered users and 8 guests