Connecting ADS1232 to Arduino UNO

Hi,

I’m trying to connect an ADS1232 (I have an CJMCU-1232 board) to an Arduino UNO, in order to get values from a load cell.

Here is what I have done so far:

  1. Downloaded and installed this library: GitHub - HamidSaffari/ADS123X: An Arduino library to interface with TI ADS1232 and ADS1234 MultiChannel 24-bit ADC For Bridge Sensors.
  2. Edited the .h-file in the library so that the ADS1232 is defined, instead of the ADS1234
  3. Changed to pins in the code in the example file to the following:

#define SCALE_DOUT 7
#define SCALE_SCLK 9
#define SCALE_PDWN 6
#define SCALE_GAIN0 4
#define SCALE_GAIN1 8
#define SCALE_SPEED 5
#define SCALE_A0 3
#define SCALE_A1 2

  1. Made the following connections between the Ardunio and the ADS1232:
Arduino UNO ADS1232
3.3V 3.3V
GND GND
2 TEMP
3 A0
4 GAIN0
5 SPEED
6 PDWN
7 DOUT
8 GAIN1
9 SCLK
  1. And the following connections between the load cell and the ADS1232:
ADS1232 Load Cell
5V RED (EXC+)
GND BLACK (EXC-)
AINP1 GREEN (SIG+)
AINN1 WHITE (SIG-)

The problem:
When I upload the code to the arduino, the values from the scale are displayed as “nan”.

Example from the serial monitor:

Before setting up the scale:
read: 1072054111
read average: 1072054111
get value: nan
get units: nan
After setting up the scale:
read: 1072054111
read average: 1072054111
get value: nan
get units: nan
Readings:
one reading: nan | average: 0.0
one reading: nan | average: 0.0

Any ideas on what might be wrong or what I could try next?

PS. I just looked in the serial monitor again, and now it says:
one reading: 3679.2 | average: 0.0
But this value seems constant and nothing happens when I apply a load to the load cell.