Manometer 2 click carries the MS5525DSO-SB001GS digital pressure sensor, based on leading MEMS technology. The click is designed to run on a 3.3V power supply. It communicates with the target microcontroller over I2C or SPI interface.
The MS5525DSO-SB001GS is a new generation of Digital Small Outline pressure sensors with SPI and I2C bus interface designed for high volume OEM users.
The sensor module includes a pressure sensor and an ultra-low power 24-bit ∆Σ ADC with internal factory calibrated coefficients. It provides a 24-bit digital pressure and temperature value and different operation modes that allow the user to optimize for conversion speed and current consumption.
The MS5525DSO-SB001GS consists of a piezo-resistive sensor and a sensor interface IC. The main function of the MS5525DSO-SB001GS is to convert the uncompensated analog output voltage from the piezo-resistive pressure sensor to a 24-bit digital value, as well as providing a 24-bit digital value for the temperature of the sensor.
Manometer 2 click measures absolute pressure of 1PSI max, trough the barbed port.
You can choose between SPI and I2C communication.
Type | Pressure,Altitude |
Applications | Factory automation, altitude and airspeed measurements, medical instruments, leak detection, etc. |
On-board modules | MS5525DSO digital pressure sensor |
Key Benefits | 24-bit digital pressure and temperature value |
Interface | I2C,SPI |
Input Voltage | 3.3V |
Click board size | S (28.6 x 25.4 mm) |
This table shows how the pinout on Manometer 2 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Code examples for Manometer 2 click, written for MikroElektronika hardware and compilers are available on Libstock.
The following code snippet shows the Manometer 2 click example, which takes care of initializing peripherals and the device, and then outputs the current pressure and temperature every 2 seconds.
01 void systemInit() 02 { 03 UART1_Init(9600); 04 Delay_ms(100); 05 UART1_Write_Text("nrInitialization...nr"); 06 I2C1_Init_Advanced(100000, &_GPIO_MODULE_I2C1_PB67); 07 Delay_ms(100); 08 MMETER2_initDriver(pp001GS ,I2CAddress, I2C1_Start, I2C1_Write, I2C1_Read); 09 10 } 11 12 void main() 13 { 14 char uartText [60]; 15 float measureResult; 16 systemInit(); 17 UART1_Write_Text("Initializednr"); 18 19 while( 1 ) 20 { 21 measureResult = MMETER2_getTemperature(CONVERT_4096); 22 sprintf(uartText, "Temperature is: %3.3f Celsiusrn", measureResult); 23 UART1_Write_Text(uartText); 24 25 measureResult = MMETER2_getPressure(CONVERT_4096); 26 sprintf(uartText, "Pressure is: %3.3f PSIrnrn", measureResult); 27 UART1_Write_Text(uartText); 28 29 Delay_ms( 2000 ); 30 } 31 32 }