Unit Tube Pressure is a positive and negative pressure gauge that supports a wide measurement range of -100 ~ 200Kpa. When in use, it is connected via a tube, with the other end connected to the gas measurement environment. The sensor maps the range -100 ~ 200Kpa to output a voltage of 0.1 ~ 3.1V. It comes with a fully enclosed protective shell, effectively ensuring the stability of the sensor, making it very suitable for applications such as gas pressure detection in industrial equipment.
Specification | Parameter |
---|---|
Sensor Model | MCP-H10-B200KPPN |
Measurement Medium | Gas |
Positive/Negative Range | -100 ~ 200Kpa |
Proportional Output | 0.1 ~ 3.1V |
Accuracy | ±1.5Kpa (0 ~ 85°C) |
Supply Voltage | 5V |
Net Weight | 4.8g |
Gross Weight | 10g |
Product Dimensions | 24 x 32 x 12mm |
Package Dimensions | 93 x 138mm |
//P: Actual measured pressure value, unit (Kpa)
//Vout: Sensor voltage output value
P = (Vout-0.1)/3.0 x 300.0-100.0
HY2.0-4P | Black | Red | Yellow | White |
---|---|---|---|---|
PORT.B | GND | 5V | NC | Analog Input |
#include <Arduino.h>
int sensorPin = 32; // Sensor signal pin
void setup() {
Serial.begin(115200);
pinMode(sensorPin, INPUT); // Sets the specified pin to input mode.
}
void loop() {
float raw = analogRead(sensorPin); // Read the value from the sensor.
float Vout = raw/4095 x 3.6;
float P = (Vout-0.1)/3.0 x 300.0-100.0;
Serial.printf("pressure: %f.2 Kparn", P);
delay(100);
}