Pressure 13 Click Board
Pressure 13 Click Board
The Pressure 13 Click Board™ is a compact add-on board that contains an integrated pressure sensor for manifold air pressure measurement applications. This board features the KP229E2701, a miniaturized analogue manifold air pressure sensor based on a capacitive principle from Infineon. This sensor converts the pressure of 10 kPa to 300 kPa into an analogue output signal, a voltage range of 0.40 V to 4.65 V. Also, the manifold pressure data can be used to compute diagnostics of leakages and malfunctions of the exhaust gas recirculation valve. The high accuracy and the high sensitivity of the KP229E2701 make this Click Board™ a perfect choice for advanced automotive applications as well as in industrial and consumer applications.
The Pressure 13 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
Software Support
We provide a library for the Pressure 13 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library covers all the necessary functions to control Pressure 13 click board.
Key Functions
void pressure13_gpio_driver_init( pressure13_obj_t gpio_obj )
- Function initializes GPIO driver for the desired MIKROBUS1.
Example Description
The application is composed of three sections :
- System Initialization - Initializes GPIO and start to write log.
- Application Initialization - Initialization driver enables - GPIO, initializes ADC, also write log.
- Application Task - (code snippet) This is an example which demonstrates the use of Pressure 13 Click board. Measured and display ADC, Vout ( V ) and pressure data ( mBar ). Results are being sent to the Usart Terminal where you can track their changes. All data logs on usb uart for approximately every 5 sec.
void application_task ( ) { adc_value = pressure13_adc_read( ); WordToStr( adc_value, log_text ); Ltrim( log_text ); mikrobus_logWrite( " ADC : ", _LOG_TEXT ); mikrobus_logWrite( log_text, _LOG_LINE ); calculate_pressure( ); FloatToStr( v_out, log_text ); mikrobus_logWrite( " Vout : ", _LOG_TEXT ); mikrobus_logWrite( log_text, _LOG_TEXT ); mikrobus_logWrite( " V", _LOG_LINE ); FloatToStr( pressure, log_text ); mikrobus_logWrite( " Pressure: ", _LOG_TEXT ); mikrobus_logWrite( log_text, _LOG_TEXT ); mikrobus_logWrite( " mBar", _LOG_LINE ); mikrobus_logWrite( "-------------------------", _LOG_LINE ); Delay_ms( 5000 ); }
void calculate_pressure ( void )
- Calculate Voltage Reference and Pressure.
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- ADC
- UART
- Conversion
Additional Notes and Information
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Pressure 13 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Pressure 13 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.