vachhaninimiT
Posts: 10
Joined: Sat Apr 12, 2014 5:42 pm

ADS 1232 with Raspberry PI

Fri Dec 05, 2014 9:45 am

Greetings Everybody,

I have bumped into a trouble interfacing ADS 1232 ADC with Raspberry PI. So far what i have done is connected pin 24 of ADS 1232 to pin 21 (GPIO09) of RPi, pin 23 of ADS 1232 to pin 23 (GPIO11) of RPi.

I want to detect when the data is ready to be read from ADC i.e. ADS 1232 or should i simply read data from ADC without waiting for data to be ready ?

Any help will be great.

*Note:ADS 1232 has spi port.

techplayer
Posts: 1
Joined: Tue Feb 23, 2016 10:34 pm

Re: ADS 1232 with Raspberry PI

Tue Feb 23, 2016 10:36 pm

I am just getting started on trying to interface with the ADS1234. Did you have any luck and, if so, could you provide any starting advice

vachhaninimiT
Posts: 10
Joined: Sat Apr 12, 2014 5:42 pm

Re: ADS 1232 with Raspberry PI

Wed Feb 24, 2016 5:06 am

Hi,
yea you can successfully interface ADS1232 with Raspberry PI. I had my hardware connections ready with me but the only problem was to write code so that Raspberry PI and ADS1232 can talk to each other. I cannot help much on hardware side but for writing the code i have taken help from one post on Arduino. You can search Arduino forums where one user had difficulty in writing code for ADS1234 and Arduino. There is a C code snippet available you can convert it to python or rather c and write code for Raspberry PI.

Meanwhile i will search that forum link and post it back here once i find it.

rimitshah
Posts: 3
Joined: Thu Jun 08, 2017 6:45 am

Re: ADS 1232 with Raspberry PI

Thu Jun 08, 2017 7:26 am

i am trying to implement ads1232 with Rpi (model B). For ADS1232 and Rpi i have done the connections for pins AVDD, DVDD (to Rpi 5V and 3.3V respectively), AINP1(to lm35 positive terminal), AINN1(to ground), SCLK TO (Rpi- pin 23), DOUT (to Rpi pin no.21), and AGND, DGND(to ground of Rpi). i need python script for that.

Please help!

Rimit Shah

vachhaninimiT
Posts: 10
Joined: Sat Apr 12, 2014 5:42 pm

Re: ADS 1232 with Raspberry PI

Thu Jun 08, 2017 11:27 am

Hi
R you trying to get the load cell or thermocouple data from ADS1232 ? There are various code available over the internet on getting the value from ADS1232. You better use SPI approach in getting the ADC value.

rimitshah
Posts: 3
Joined: Thu Jun 08, 2017 6:45 am

Re: ADS 1232 with Raspberry PI

Thu Jun 08, 2017 11:40 am

Thank you for ur reply..

I am using LM35. I didn't get a single post regarding this implementation. i have used LM35 sensor as input to ADS1232 and digital output is connected to Rpi. Is there any mistake in the hardware connections i have mentioned in the previous post??

If u have any info regarding this implementation, it would be helpful to me!!

vachhaninimiT
Posts: 10
Joined: Sat Apr 12, 2014 5:42 pm

Re: ADS 1232 with Raspberry PI

Fri Jun 09, 2017 9:01 am

Well your using LM35 for sensing temperature. What is suggest is connect pin#24 of ads1232 to one of your rpi gpio and attach interrupt on falling edge. Note. Your gpio should be pulled up. Once you get an interrupt on pin#24 then all you need to do is bit bang the data out of ads1232. If you search internet for bit banging ads1232 or ads1234 you will find some codes of arduino. Simply convert that code to python. Its easy.

Return to “General discussion”