DPS310

所属分类:其他
开发工具:C/C++
文件大小:178KB
下载次数:20
上传日期:2018-06-05 17:16:21
上 传 者一个渣渣啊
说明:  xmc4500教程,里面有很全的教程,可以下载的
(xmc4500 in the next doc)

文件列表:
DPS310 (0, 2018-04-20)
DPS310\DPS310-Pressure-Sensor-1.0.5.tar.gz (18067, 2018-04-19)
DPS310\DPS310-Pressure-Sensor-1.0.5.zip (26954, 2018-04-19)
LICENSE.md (3196, 2018-02-01)
examples (0, 2018-04-19)
examples\i2c_background (0, 2018-04-19)
examples\i2c_background\i2c_background.ino (3271, 2018-02-01)
examples\i2c_command (0, 2018-04-19)
examples\i2c_command\i2c_command.ino (2189, 2018-02-01)
examples\i2c_interrupt (0, 2018-04-19)
examples\i2c_interrupt\i2c_interrupt.ino (3241, 2018-02-01)
examples\spi_background (0, 2018-04-19)
examples\spi_background\spi_background.ino (3188, 2018-02-01)
examples\spi_command (0, 2018-04-19)
examples\spi_command\spi_command.ino (1979, 2018-02-01)
examples\spi_interrupt (0, 2018-04-19)
examples\spi_interrupt\spi_interrupt.ino (3804, 2018-02-01)
keywords.txt (1082, 2018-02-01)
library.properties (517, 2018-02-01)
src (0, 2018-04-19)
src\Dps310.cpp (45765, 2018-02-01)
src\Dps310.h (4715, 2018-02-01)
src\util (0, 2018-04-19)
src\util\dps310_consts.h (9423, 2018-02-01)
DPS310\DPS310-Pressure-Sensor.zip (127737, 2018-04-19)
DPS310\DPS310相关.txt (50, 2018-04-19)

# DPS310-Pressure-Sensor Library of Infineon's highly sensitive [DPS310 sensor](https://www.infineon.com/cms/de/product/sensor/capacitive-pressure-sensor-for-consumer-applications/DPS310/productType.html?productType=5546d462525dbac4015312b96a743801) for Arduino. ## Summary The [DPS310](https://www.infineon.com/dgdl/Infineon-DPS310-DS-v01_00-EN.pdf?fileId=5546d462576f34750157750826c42242) is a miniaturized digital barometric air pressure sensor with a high accuracy and a low current consumption, capable of measuring both pressure and temperature. The internal signal processor converts the output from the pressure and temperature sensor elements to 24 bit results. Each unit is individually calibrated, the calibration coeEicients calculated during this process are stored in the calibration registers. The coeEicients are used in the application to convert the measurement results to high accuracy pressure and temperature values. Sensor measurements and calibration coeEicients are available through the serial I2C or SPI interface. ## Key Features and Benefits * Operation range: Pressure: 300 –1200 hPa. Temperature: -40 – 85 °C. * Pressure sensor precision: ± 0.005 hPa (or ±0.05 m) (high precision mode). * Relative accuracy: ± 0.06 hPa (or ±0.5 m) * Absolute accuracy: ± 1 hPa (or ±8 m) * Temperature accuracy: ± 0.5°C. * Pressure temperature sensitivity: 0.5Pa/K * Measurement time: Typical: 27.6 ms for standard mode (16x). Minimum: 3.6 ms for low precision mode. * Average current consumption: 1.7 μA for Pressure Measurement, 1.5uA for Temperature measurement @1Hz sampling rate, Standby: 0.5 μA. * Interface: I2C and SPI (both with optional interrupt) ## Hardware Please find the datasheet of the DPS310 [here](https://www.infineon.com/dgdl/Infineon-DPS310-DS-v01_00-EN.pdf?fileId=5546d462576f34750157750826c42242). It depends on the evaluation board which you are using or the respective configuration of the sensor on your PCB (maybe designed by yourself) which communication protocol as well as addresses you need to use for communicating with the sensor. Please note that currently no specific evaluation board for Arduino is available by Infineon, but the existing ones can be used together with this library as well as respective wiring. ## Installation ### Integration of Library Please download this repository from GitHub by clicking on the following field in the latest [release](https://github.com/Infineon/DPS310-Pressure-Sensor/releases) of this repository or directly [here](https://github.com/Infineon/DPS310-Pressure-Sensor/releases/download/V1.0.5/DPS310-Pressure-Sensor.zip): ![Download Library](https://raw.githubusercontent.com/Infineon/assets/master/Pictures/DL_DPS310_Rel.jpg) To install the DPS310 pressure sensor library in the Arduino IDE, please go now to **Sketch** > **Include Library** > **Add .ZIP Library...** in the Arduino IDE and navigate to the downloaded .ZIP file of this repository. The library will be installed in your Arduino sketch folder in libraries and you can select as well as include this one to your project under **Sketch** > **Include Library** > **IFX_DPS310**. ![Install Library](https://raw.githubusercontent.com/infineon/assets/master/Pictures/Library_Install_ZIP.png) ## Usage Please follow the example sketches in the /examples directory in this library to learn more about the usage of the library. Especially, take care of the SPI and I2C configuration of the sensor. For more information, please consult the datasheet [here](https://www.infineon.com/dgdl/Infineon-DPS310-DS-v01_00-EN.pdf?fileId=5546d462576f34750157750826c42242). ## Note: Temperature Measurement Issue There could be a problem with the fuse bits in the DPS310 with which you are using this library. If your DPS310 indicates a temperature around 60 °C although you expect around room temperature, e.g. 20 °C, please call the function correctTemp() as indicated in the examples to fix this issue. Many excuses for any problems arising from this problem. In case you need additional help, please do not hesitate to open an issue in this repository.

近期下载者

相关文件


收藏者