Tube pressure is a wide range air pressure sensor
that supports -100 ~ 200Kpa
. You can connect one end of the tube to the gas inlet. This sensor transmitted onto mapping value -100 ~ 200Kpa
and 0.1 ~ 3.1V
voltage output. Also having a protective housing for long term stability. It’s an accessory that your industrial use cannot live without.
Specifications | Parameters |
---|---|
Sensor Model | MCP-H10-B200KPPN |
Detections | Gas |
Measurement range | -100 ~ 200Kpa |
Output | 0.1 ~ 3.1V |
Precision | 1.5Kpa (0 ~ 85°C) |
Supply voltage | 5V |
Product Size | 32.0 x 24.0 x 12.5mm |
Product Weight | 4.6g |
Package Size | 138.0 x 93.0 x 13.5mm |
Gross Weight | 10.0g |
float K = 100.0;
float B = 110.0;
float P = analogVolts * K - B;
#include <Arduino.h>
int sensorPin = 36;
void setup()
{
Serial.begin(115200);
pinMode(sensorPin, INPUT);
analogReadResolution(12);
analogSetAttenuation(ADC_11db);
}
void loop()
{
// read the analog / millivolts value:
int analogValue = analogRead(sensorPin);
int analogVolts = analogReadMilliVolts(sensorPin);
// print out the values you read:
Serial.printf("ADC analog value = %d\n", analogValue);
Serial.printf("ADC millivolts value = %d\n", analogVolts);
float K = 100.0;
float B = 110.0;
float P = analogVolts / 1000.0 * K - B;
Serial.printf("Pressure: %f.2 Kpa \n", P);
delay(100); // delay in between reads for clear read from serial
}