diffpress4 2.1.0.0
|
Diff Press 4 Click is a compact add-on board that can measure differential pressure. This board features the SM9336-BCE-S-250-000, a digital pressure and altimeter sensor module from TE Connectivity. The SM9336-BCE-S-250-000 has a configurable host interface that supports I2C serial communication and measures pressure in a wide range with an accuracy of 3%. It comes as calibrated and temperature-compensated with high reliability/long-term stability. It operates in a compensated temperature range of -20°C to 85°C, ensuring stable operation under extreme conditions.
We provide a library for the Diff Press 4 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Diff Press 4 Click driver.
diffpress4_cfg_setup
Config Object Initialization function. diffpress4_init
Initialization function. diffpress4_get_measurement_data
Diff Press 4 gets the raw data function. diffpress4_get_status
Diff Press 4 get status function. diffpress4_get_raw_data
Diff Press 4 gets the raw data function. This example demonstrates the use of Diff Press 4 Click board™ by reading and displaying the differential pressure and sensor temperature measurements.
The demo application is composed of two sections :
The initialization of I2C module and log UART. After driver initialization, the app sets the default configuration.
The demo application reads and displays the Differential Pressure [Pa] and sensor Temperature [degree Celsius] data measurements. Results are being sent to the UART Terminal, where you can track their changes.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.