I am trying to receive output voltages from my load cell and then convert it to force with my arduino uno board. However, my arduino is not able to read the load cell properly. Such as when there is no load, there is still a high output voltage. Also, the reading from the analog input will go from 0-1023 and vice versa without applying any load.
The company that I purchased the load cell from have already calibrated my load cell for tension and compression into a table of Output voltages in Vdc that correspond to the load applied in Newtons. So, I already have my y=mx+c equation to calculate for force. During calibration, the load cell was supplied with 15-18 Vdc. My goal is to be able to get an output voltage that corresponds to the appropriate Newton load applied. So that I may know that my load cell is operating properly.
For my set up, the load cell's red and black wires are connected to an external power supply of 11-14V and 10.5A. While the white output signal wire is connected to the A0 analog pin of my arduino board. That is it, a simple set up.
Is it something wrong with my code or set up? Sorry if It seem like I don't know what I am doing. I will be using this load cell to measure the thrust created by an underwater propeller as a part of my master's thesis and prior to two weeks ago, I did not have any knowledge of arduino, programming, load cells etc. So, I am still learning about all of this.
const int loadCellPin = A0;
void setup() {
Serial.begin(9600);
}
void loop() {
int value;
float volt;
float force;
value = analogRead(loadCellPin);
volt = value * (5.0/1023.0);
force = (volt*-0.0983) - 0.017; // for compression
Serial.print("Value: ");
Serial.println(value);
Serial.print("voltage: ");
Serial.print(volt);
Serial.print(" \t force: ");
Serial.println(force);
delay(500);
}
No, I am using ICA6H: ±10Vdc (14 to 18Vdc supply). I am using only one single external 11-14V and 10.5A power supply for the load cell. My arduino UNO board is connected via USB to my computer.
The amplifier datasheet says the bridge (load cell) should be excited with 5v +/- 0.1v. Try that, and hope you didn't damage the amp using 11 to 14 v on the bridge.
That's true. I was (and still am) confused by the OP's statement that the "load cell" is connected to an external 11-14v. I guess that means the entire assembly...load cell + amp.
The load cell that was purchased already has the amplifier fitted into the load cell itself. So, the amplifier cannot be seen. I used a high voltage for the load cell because on the calibration certificate that the company issued, they stated that during their calibration tests, they supplied the load cell + amplifier with 15-18 Vdc. On the website for the amplifier I used ICA6H, I saw on the technical specifications that the minimum power supply for the amplifier was 14 Vdc.
Also, the load cell that I selected is the 3-wired option and in the wiring details table in this website In-Line Submersible Load Cell | IP68 | AppMeas , it says that the red wire is for "+ve supply", which I assumed just meant voltage supply to the load cell. Though I am not entirely sure about the difference between excitation voltage and power supply [Vdc].
You will need a voltmeter to see if you damaged the loadcell.
Set the voltmeter to a scale higher than 10V and see if it reads near zero with no force applied
Well, you are in luck. Since you did not connect a ground wire from the power supply to the arduino you probably did not damage anything but for now, disconnect the loadcell from the UNO.
Now we need to figure out a way to connect the load cell to the arduino without loosing any accuracy/precision.
If there is no load, then the output should be near zero but that won't tell you if it's damaged or not. You need to apply a load and see what happens.