Features
- High precision AD sampling chip for accurate pressure measurement
- 0-40KPa air pressure sensor for a wide pressure measurement range
- Compatible with 2.5mm soft tube for water level and air pressure detection
- Suitable for industrial automation, environmental monitoring, and water level measurement in tanks and reservoirs
- Compact size and easy installation
- Uses a 5K ohm resistor bridge sensor for pressure measurement
- Specific pressure values can be calculated from measured resistance values
- Precise pressure measurement capability for various applications
Specifications
- Voltage: 3.3 - 5V
- Pressure Range: 0 - 40KPa
- Dimensions: 18 x 13 mm
- Fixing Hole Diameter: 2 mm
- Color: Red
Applications
- Water level monitoring: Measures air pressure at the water surface via a 2.5mm soft tube to calculate water levels in tanks and reservoirs.
- Environmental monitoring: Measures air pressure in environments such as greenhouses to monitor plant growth conditions.
- Industrial automation: Used for pressure measurement in pneumatic, hydraulic, and other manufacturing processes.
- Weather monitoring: Measures barometric pressure for weather prediction.
- Robotics: Enables precise pressure measurement in applications like robotic grippers.
Pin Connections
Pin |
Description |
VIN |
Module power supply (3.3-5V) |
GND |
Ground |
SCK |
I2C Clock |
OUT |
Digital output data |
Sample Project
Circuit

Library
No external library is required for this module to work.
Code
#include "SPI.h"
const int sckPin = 3; // SCK pin connected to Arduino pin 3
const int outPin = 2; // OUT pin connected to Arduino pin 2
void setup() {
Serial.begin(9600);
SPI.begin();
}
void loop() {
// Start the SPI communication
SPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE0));
// Read pressure value
int pressureValue = readPressure();
// End the SPI communication
SPI.endTransaction();
// Print the pressure value to the serial monitor
Serial.print("Pressure: ");
Serial.println(pressureValue);
// Wait for a moment before reading again
delay(1000);
}
int readPressure() {
// Send a dummy byte to trigger the sensor to send data
SPI.transfer(0x00);
// Read the pressure value (12-bit resolution)
int pressureValue = 0;
pressureValue |= SPI.transfer(0x00) << 8;
pressureValue |= SPI.transfer(0x00);
// Mask the unnecessary bits (only the lower 12 bits are valid)
pressureValue &= 0x0FFF;
return pressureValue;
}
References
Features
- High precision AD sampling chip for accurate pressure measurement
- 0-40KPa air pressure sensor for a wide pressure measurement range
- Compatible with 2.5mm soft tube for water level and air pressure detection
- Suitable for industrial automation, environmental monitoring, and water level measurement in tanks and reservoirs
- Compact size and easy installation
- Uses a 5K ohm resistor bridge sensor for pressure measurement
- Specific pressure values can be calculated from measured resistance values
- Precise pressure measurement capability for various applications
Specifications
- Voltage: 3.3 - 5V
- Pressure Range: 0 - 40KPa
- Dimensions: 18 x 13 mm
- Fixing Hole Diameter: 2 mm
- Color: Red
Applications
- Water level monitoring: Measures air pressure at the water surface via a 2.5mm soft tube to calculate water levels in tanks and reservoirs.
- Environmental monitoring: Measures air pressure in environments such as greenhouses to monitor plant growth conditions.
- Industrial automation: Used for pressure measurement in pneumatic, hydraulic, and other manufacturing processes.
- Weather monitoring: Measures barometric pressure for weather prediction.
- Robotics: Enables precise pressure measurement in applications like robotic grippers.
Pin Connections
Pin |
Description |
VIN |
Module power supply (3.3-5V) |
GND |
Ground |
SCK |
I2C Clock |
OUT |
Digital output data |
Sample Project
Circuit

Library
No external library is required for this module to work.
Code
#include "SPI.h"
const int sckPin = 3; // SCK pin connected to Arduino pin 3
const int outPin = 2; // OUT pin connected to Arduino pin 2
void setup() {
Serial.begin(9600);
SPI.begin();
}
void loop() {
// Start the SPI communication
SPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE0));
// Read pressure value
int pressureValue = readPressure();
// End the SPI communication
SPI.endTransaction();
// Print the pressure value to the serial monitor
Serial.print("Pressure: ");
Serial.println(pressureValue);
// Wait for a moment before reading again
delay(1000);
}
int readPressure() {
// Send a dummy byte to trigger the sensor to send data
SPI.transfer(0x00);
// Read the pressure value (12-bit resolution)
int pressureValue = 0;
pressureValue |= SPI.transfer(0x00) << 8;
pressureValue |= SPI.transfer(0x00);
// Mask the unnecessary bits (only the lower 12 bits are valid)
pressureValue &= 0x0FFF;
return pressureValue;
}
References