soligen2010 / Adafruit_ADS1X15

Driver for TI's ADS1x15: 12 and 16 bit Differential or Single-Ended ADC with PGA and Comparator
Other
61 stars 30 forks source link

Question regarding differential #11

Closed hicotton02 closed 5 years ago

hicotton02 commented 6 years ago

First off, thank you for making this fork. I am implementing it into my project and have a couple questions.

I have 2 hall effect sensors plugged into 0 and 1, and 2, and 3. they both go from 0-2V. I am trying to use an ads1015 as an ammeter (connected to an esp8266)

I would like it to continually convert, and allow me to sample the conversion as the esp has time. the esp is doing a lot of other stuff. So i was thinking doing continuous conversion + differential on 0_1 and 2_3. I dont really need the alert pin, just need it to be ready when the data is asked for.

first, does that make sense? if it does, ill post the code I have now (using your library fork) to try and get the values.

soligen2010 commented 6 years ago

You will need 2 chips running on 2 different I2C addresses to do this. You cant run 2 different continuous conversions at the same time.

On Tue, Oct 2, 2018, 3:43 PM Keven Scharaswak notifications@github.com wrote:

First off, thank you for making this fork. I am implementing it into my project and have a couple questions.

I have 2 hall effect sensors plugged into 0 and 1, and 2, and 3. they both go from 0-2V. I am trying to use an ads1015 as an ammeter (connected to an esp8266)

I would like it to continually convert, and allow me to sample the conversion as the esp has time. the esp is doing a lot of other stuff. So i was thinking doing continuous conversion + differential on 0_1 and 2_3. I dont really need the alert pin, just need it to be ready when the data is asked for.

first, does that make sense? if it does, ill post the code I have now (using your library fork) to try and get the values.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/soligen2010/Adafruit_ADS1X15/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/APx9EGlMRWTRzwb0AliQVtLNltHSguLlks5ug8HSgaJpZM4XEvPz .

soligen2010 commented 5 years ago

Closing - no activity