Hello,
I have sucessfully calibrated my HX711 sensor and everything is working OK so far. Because I will put a beehive on my bord with hx711 and load sensors, I need to read values at anytime without lifting beehive from a board. Because beehive is on remote location without electricity I will use 9V battery and ON/OFF switch.
So everything will be turned off all the time and when I need to measuere the weight, I will simply turn the board on and read a value from LCD.
The problem is that if the beehive is on the board while system is booting (setting up), I cannot read anything from sensor at all. And yes, I remove tare() function.
Thanks for help and best regards,
Jure
Here is my simple project without a LCD so far:
#include "HX711.h"
HX711 scale(4, 3);
float calibration_factor = -26;
void setup() {
Serial.begin(9600);
//scale.tare();
scale.set_scale(calibration_factor);
}
void loop() {
// Serial.print("Reading: ");
units = scale.get_units(), 10;
if (units < 0)
units = 0.00;
Serial.print(units);
Serial.print(" grams\n");
}