From MikroElektonika Documentation
Part | Datasheet |
---|---|
![]() |
MIKROE-2387 (pdf) |
PDF Datasheet Preview |
---|
Diff pressure click From MikroElektonika Documentation Diff pressure is a mikroBUS add-on board carrying an NXP MPXV5010DP signal conditioned, temperature compensated and calibrated pressure sensor with two axial ports to accommodate industrial grade tubing. It is designed for comparing two pressure measurements. Features and usage notes Diff pressure click The two ports on Diff pressure click are designated as Pressure side P1 and Vacuum side P2 . The sensor is designed to operate with a positive differential pressure where P1 > P2. Schematic also available in PDF The P1 and P2 ports are not marked on the sensor itself, but according to the vendor’s data sheet, P1 is on the side of part markings. In the case of Diff pressure click, that’s the top half of the sensor. The measurement range is from 0 to 10 kPa. In the temperature range between 0º and 85ºC, the sensor has a maximum error rate of MPXV5010DP IC has an analog output. The signal passes through the onboard 22-bit ADC before being outputted through the mikroBUS SPI interface CS, SCK, MISO . Diff pressure click is designed to use either a 3.3V or a 5V power supply. It’s 3.3V by default. To change it to 5V, resolder the onboard jumpers zero Ohm resistors Diff pressure click IC/Module MPXV5010DP Interface SPI Power supply 3.3V, 5V Website Programming The following code snippet initializes SPI, UART and the Diff Pressure click and reads the difference between the two pressures to the UART terminal. 1 void main //Local Declarations int32_t buffer = 0; char uart_text[20] = 0 float difference = 0; status_t status; //GPIOs GPIO_Digital_Input &GPIO_PORT_24_31, _GPIO_PINMASK_6 ; GPIO_Digital_Output &GPIO_PORT_24_31, _GPIO_PINMASK_4 ; //UART UART1_Init 9600 ; Delay_ms 200 ; UART1_Write_Text "UART ; // SPI SPIM1_Init_Advanced _SPI_MASTER_CLK_RATIO_4, _SPI_CFG_PHASE_CAPTURE_RISING | _SPI_CFG_POLARITY_IDLE_LOW | _SPI_CFG_SS_AUTO_DISABLE | _SPI_CFG_FIFO_DISABLE, _SPI_SS_LINE_NONE ; Delay_ms 200 ; UART1_Write_Text "SPI ; //Diff Pressure Click diff_pressure_init ; UART1_Write_Text "Diff Pressure Click ; |
More datasheets: 91614-318 | 91614-312 | 91614-324 | 91614-306 | 91614-305 | 91614-307 | 91614-311 | 91614-320 | CA06EW28-20SB02 | DE9PVK87 |
Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived MIKROE-2387 Datasheet file may be downloaded here without warranties.