Python library for the Analog Devices AD7490 16 channel 12 bit ADC using the Adafruit FT232H breakout board.
This code uses the Adafruit_GPIO library to comminicate with the FT232H. Download that here
Make sure you also install the appropriate drivers from FTDI which you can find the links to on Adafruit's website here
import the code with import AD7490
, then create the object with obj = AD7490.adc()
To read the value of an indivudial channel, use obj.readChannel(n)
to read the value of multiple channels, use obj.read(n)
to read from channel 0 to n, or obj.readAll()
to read all 16 channels
if you are having problems then just grab the one from my GloveProject, it is an older one with less features but I am more confident that it works