Page 1 of 2
Pressure 3 click
From MikroElektonika Documentation
Pressure 3 click
Pressure 3 click carries an Infineon DPS310 digital barometric pressure sensor.
Features and usage notes
Pressure 3 click has an operating range from 300 to
1200 hPa with a relative accuracy of 0.06 hPa and
absolute accuracy of 1 hPa. DPS310 is a fast sensor
with typical measurement time of 27.6 ms for
standard mode, down to 3.6 ms in low precision
mode.
DPS310 integrates a FIFO (First In First Out) buffer
that can store the last 32 measurumenets. Using the
buffer saves power because the target MCU doesn't
have to constantly poll for resources.
Schematic also available in PDF (http://cdndocs.mikroe.com/images/9/9c/Pressure_3_click_sche
The sensor is callibrated. Callibration coefficients
are used to compensate the measurement results.
The data sheet contains detailed instructions on how
to convert compensated results to pressure and
temperature values.
The digital measurements are in 24-bit resolution.
Pressure 3 click
IC/Module Microchip Infineon DPS310
(http://www.infineon.com/dgdl/InfineonDPS310+Pressure+Sensor-PB-v01_00EN.pdf?
fileId=5546d462525dbac40152b0a05ad74d56)
Pressure 3 click has both I2C and SPI outputs. The four interface configuration buttons are soldered to
mikroBUS™ I2C pins by default. Additionally, there is an Interrupt pin that can be triggered whenever
a new measurement is available or if a FIFO buffer is full.
Interface
SPI, I2C, INT
The click uses a 3.3V power supply.
Power
3.3V
supply
Website
www.mikroe.com/click/pressure-3
(http://www.mikroe.com/click/pressure-3)
Programming
This snippet initializes all necessary pins and functions for using Pressure 3 Click, and performs a test by writing test values to the click, and then reading them
back to the user through UART communication.
1 void main() {
2
3
Display_Init();
4
I2C1_Init_Advanced(400000, &_GPIO_MODULE_I2C1_PB67);
5
delay_ms(300);
6
Pressure_3_hal_init(0x76, MODE_I2C);
7
8
Set_Status(0x07);
9
while (1)
10
{
11
pressure3_calculate_coefficients();
12
calculate_temperature_pressure();
13
14
FloatToStr(Pressure, txt);
15
FloatToStr(Temperature, txt1);
16
TFT_Set_Font(TFT_defaultFont, CL_WHITE, FO_HORIZONTAL);
17
TFT_Write_Text("Pressure:", 30, 70);
18
TFT_Write_Text(txt, 100, 70);
19
TFT_Write_Text("Temperature:", 30, 100);
20
TFT_Write_Text(txt1, 120, 100);
21
Delay_ms(500);
22
TFT_Set_Font(TFT_defaultFont, CL_TEAL, FO_HORIZONTAL);
23
24
TFT_Write_Text("Pressure:", 30, 70);
25
TFT_Write_Text(txt, 100, 70);
26
TFT_Write_Text("Temperature:", 30, 100);
27
TFT_Write_Text(txt1, 120, 100);
28
}
29
30 }
Code examples that demonstrate the usage of Pressure 3 click with MikroElektronika hardware, written for mikroC for ARM, AVR, dsPIC, FT90x, PIC and
PIC32 are available on Libstock (http://libstock.mikroe.com/projects/view/1897/pressure-3-click-example).
Resources
- data sheet (http://www.infineon.com/dgdl/Infineon-DPS310+Pressure+Sensor-PB-v01_00-EN.pdf?fileId=5546d462525dbac40152b0a05ad74d56)
Page 2 of 2
- Pressure 3 click examples on Libstock (http://libstock.mikroe.com/projects/view/1897/pressure-3-click-example)
- mikroBUS standard specifications (http://download.mikroe.com/documents/standards/mikrobus/mikrobus-standard-specification-v200.pdf)
http://docs.mikroe.com/Pressure_3_click
9/15/2016
很抱歉,暂时无法提供与“MIKROE-2293”相匹配的价格&库存,您可以联系我们找货
免费人工找货