I am attempting to interface the Robotshop load cell amplifier with 2 straight bar load cells, each with a 4 wire output.
This is the spec sheet for the load cells:
cdn.sparkfun.com/datasheets/Sen … Update.pdf
I have the load cell amplifier connected up to an Arduino Mega 2560 as depicted in the attached picture.
To test the setup, I am running the following code:
[code]/*
AnalogReadSerial
Reads an analog input on pin 0, prints the result to the serial monitor.
Graphical representation is available using serial plotter (Tools > Serial Plotter menu)
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public domain.
*/
// the setup routine runs once when you press reset:
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// print out the value you read:
Serial.println(sensorValue);
delay(50); // delay in between reads for stability
}[/code]
Unfortunately I am not getting any working data coming out. For both Strain1 and Strain2 I get a constant readout of between 40-45, with no change when load is applied to the load cell.
I’m out of ideas of what to change and would appreciate suggestions and support to ensure the amplifier is working as it should.
Best,
Jon Schofield