hello everyone, I'm having trouble using the MD-PS002 pressure sensor.
I have connected the sensor using the HX711 module to be able to strengthen the reading results from the sensor because the output voltage from the sensor is very small, but the sensor reading results do not match.
here is my test program code:
#include "HX711.h"
#define DOUT 2
#define CLK 3
HX711 scales;
//float calibration_factor =5.1714924102396; // 1 Psi is 5.1714924102396 cm Hg
float calibration_factor =51714; // maby
void setup() {
Serial.begin(9600);
scale.begin(DOUT, CLK);
scale.set_scale(calibration_factor);
scale.tare(); // Set the scale to zero
}
void loop() {
float pressure_PSI = scale.get_units() * 0.135; // Converts the value from the sensor to pressure in PSI (0.135 is the conversion of the units used in calibration)
Serial.print("Pressure (PSI): ");
Serial.println(pressure_PSI);
delay(1000);
}
Is there an error? please give me feedback, your help is very much appreciated.
Or are there any reviews about this sensor from friends who have used it?
Thank You