MD-PS002 and HX711 - some problems solved

I've seen a number of other posts about this issue, but none of them seemed to have answers, so I had to slog through it myself. I thought I would post this in the hope others could benefit from what I have learned.

The MS-PS002 is a very small and inexpensive pressure sensor. The problem lies in the fact that it is basically a Wheatstone Bridge and does not have any support electronics. This is solved through using a load amplifier like the HX711.

The HX711 is a NON-IC2-COMPLIANT two-wire device. I emphasize that because I originally set it up as an IC2 device and experienced some of the commonly discussed problems:

  1. Very erratic and non-sensical readings, such as readings that were huge and just kept growing, or were twitching all over the place. I put the output into the serial plotter, and saw that it was making specific periodic patterns.
  2. Interference or lack of function of other IC2 devices if I connected any (i.e. OLED display).

I solved this by not using the IC2 pins. I randomly chose two different digital pins for SCK and DT, and suddenly I had stable signals (less than 0.001% drift), and no interference with IC2 devices!

Now I just need to figure out how to convert the readings to hPa. I'd appreciate any help with this, as my hypothetical solution involves using this setup alongside a BMP280 and comparing values across a variety of pressures.

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.