I've been reading the forum for a little while and searching the internet and have just got myself confused.
I am working on a personnal project to interface various sensors to the PI and need a very high resolution, hence the 24 bit ADC.
I have the LTC 2442 connected to the PI via the SPI interface and now want to get meaning full data from it.
So as a test I installed the py-spidev and read some data back following instructions in the project below. knowing it would be rubbish data I just wanted to see something coming back via the spi interface.
http://www.raspberrypi-spy.co.uk/2013/1 ... n-mcp3008/
So I want to take the value from the ADC and then store it in either a text file or a CSV with a time stamp from a RTC. The problem is I'm just confused as how to get meaning full data from this ADC.
How do I get the 24 bits of data back from the ADC via spi and into python so I can log values in a file?
Any help would be very much appreciated.
Thanks in advance