This is a cache of https://discuss.96boards.org/t/i2c-with-ads1015/346. It is a snapshot of the page at 2024-09-19T03:07:26.788+0000.
<strong>i2c</strong> with ADS1015 - DragonBoard410c - 96Boards Forum

i2c with ADS1015

Hi,
How can I read a value from the ADS1015 ADC on the Dragonboard?
Here is the ADC: https://www.adafruit.com/products/1083
I have a sensor that outputs a voltage as an analog signal, so i needed to convert that to something the dragonboard can udnerstand since it doesn’t have analog ports, so I got this breakout.
Side Question: the sensor also asks for the voltage to change from 5V to 1.8V every 60 Seconds; how could i make this happen? On an arduino it’s just writing to an analog out but i know that isn’t possible with dragonboard so…

THANKS!

Hi DustinKazi

There’s a video here for interfacing i2c

As for your side question, I’m not sure but there must be DACs out there. Maybe this:

Digit