EDIT: Ok I was asked to provide the code and pictures of the wiring, so rewriting this whole thing, apologies for the previous version.
The hardware include:
arduino uno
4 Single Strain Gauge Load cells (arranged in a wheatstone bridge configuration)
Sparkfun HX711 load amplifier
SparkFun Load Sensor Combinator Board
#include "HX711.h"
#define DOUT 3
#define CLK 2
HX711 scale;
float calibration_factor = -7050; //-7050 worked for my 440lb max scale setup
void setup() {
Serial.begin(9600);
Serial.println("HX711 calibration sketch");
Serial.println("Remove all weight from scale");
Serial.println("After readings begin, place known weight on scale");
Serial.println("Press + or a to increase calibration factor");
Serial.println("Press - or z to decrease calibration factor");
scale.begin(DOUT, CLK);
scale.set_scale();
scale.tare(); //Reset the scale to 0
long zero_factor = scale.read_average(); //Get a baseline reading
Serial.print("Zero factor: "); //This can be used to remove the need to tare the scale. Useful in permanent scale projects.
Serial.println(zero_factor);
}
void loop() {
scale.set_scale(calibration_factor); //Adjust to this calibration factor
Serial.print("Reading: ");
Serial.print(scale.get_units(), 1);
Serial.print(" lbs"); //Change this to kg and re-adjust the calibration factor if you follow SI units like a sane person
Serial.print(" calibration_factor: ");
Serial.print(calibration_factor);
Serial.println();
if (Serial.available()) {
char temp = Serial.read();
if (temp == '+' || temp == 'a')
calibration_factor += 10;
else if (temp == '-' || temp == 'z')
calibration_factor -= 10;
}
}
There is NO error message, the issue is that I have no information at all in the serial monitor, and cannot figure out how to open the output window either, I have very little experience with arduino, and have previously in this assignment primarily been working on Pure Data code (which will later be linked to the arduino code but that I already know how to do and have not done, this is just using code from sparkfun´s website to test if it works and to calibrate the scale, but has not been done yet because I need to calibrate the scale first.)
Look in the lower right corner of the serial monitor, make sure the baud rate is set to 9600.
In setup(), put Serial.flush(); on a line before scale.begin(), that will insure that the previous serial text is printed before initialize the scale. That will at least let you know if the serial monitor is working correctly.
I tried to solder them but they were too big so it did not really work, so they are currently just inserted until I can figure out a more secure way, also I am not sure how I am supposed to put them both into 5V when there is only one slot for 5V.....
But is it that only inserting them might be preventing it from working?
But I am still not sure why no text at all would show up in the serial monitor anyway?
Thank you! I should be able to try soldering them togheter tomorrow, I wont know for sure if that worked or not until then of course but it is something that seems like it might work so I will give it a try
It did not work, but thank you, I realised I was doing a different rookie misstake so I will close this thread... I had a different problem though ill make a new one about
I had forgotten to compile it....