This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using ADS8201 with Raspberry Pi

Other Parts Discussed in Thread: ADS8201

Hi, guys.

I have been working on my ADS8201 with Raspberry Pi.

Raspberry Pi has its own GPIO pins and also dedicated SPI bus pins.

I have been trying with python, but could not read anything.

I read datasheet for over 10 times and I think I connected it with RPi correctly.

After failing with python, I am going to use C directly.

I will be much appreciated if anyone can provide sample code of ADS8201 working on Raspberry pi.


  • Hi Wester,

    I am afraid we do not have a code ready for Raspberry Pi. The interface is standard SPI, but you must adhere to conversion timing characteristics as showin in the figure below,

    You could refer to the section "CONVERTER OPERATION" and "READING CONVERSION RESULTS" in the data-sheet. In these sections, it is described how you could initiate a conversion and read-out ADC data.


  • Hi, Rahul
    Thanks for your reply.
    By the way, is there any working code written with any programming language?

  • Hi Wester,

    Sorry it took a while for me to get back to you. I did a check on the source code for ADS8201. Unfortunately we do not have a software code for this ADC.
    You could start with configuring your SPI module. The algorithm for getting the ADC up and running for your application depends on what mode you plan to use it in.

    We can go over the algorithm in case you run into any problems.