HX711 icon indicating copy to clipboard operation
HX711 copied to clipboard

Using HX711 for Pressure Sensor

Open Roubble opened this issue 4 years ago • 1 comments

Hi, I am trying to adapt the pressure sensor seen here (https://patents.google.com/patent/US7604602B2/en) so that I can log the output pressures (wire diagram in Figure 1).

Was wondering how to change the code to apply in my context.

Roubble avatar Jul 09 '21 21:07 Roubble

This device can only measure up to 80 samples per second, max. Is that sufficient for your project? I believe it is not sufficient for most cardiac signals, and it is very slow for something like blood pressure that varies rapidly during a heartbeat.

Otherwise, just connect it up! Connect the dots in the circuits. Here is the picture of your sensor:

image

Here is a picture of the top of the SparkFun circuit board:

image

The connection info you want is on the back of the board:

image

Red - E+ -->> Pin 1 Excitation+ Black - E- -->> Pin 4 Excitation- White - A- -->> Pin 3 DPTSIG- Green - A+ -->> Pin 2 DPTSIG+ Yellow - SD -->> Pin 6 Shield

I leave it to you to figure out what to do with pin 5 on the sensor.

Changing the code is another thing. You change it to do what you want it to do. How can we know what you want it to do? If you want a couple readings per second, various examples that read load cells will read this without a problem. How you calibrate it and scale values is up to you.

mcmahad avatar Jul 30 '21 13:07 mcmahad