-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull request #10: Arduino xensiv dps3xx docs fixes
Merge in DESSWDEV/arduino-xensiv-dps3xx from arduino-xensiv-dps3xx-docs-fixes to develop * commit '5229f4d4126fd6483bdb1048ae734bc162f42617': Remove tdb from readme minor typo fixes Formatting, spellchecking Change official library name, remove critical chars Fix links Fix version number Insert kit2go pictures Insert some more info Check for hard tabs, whitespaces and spellchecking Check for hard tabs, whitespaces, traling blanks, spellchecking and insert returns for functions update library metadata update readme, add product pictures removed .vscode
- Loading branch information
Showing
19 changed files
with
1,522 additions
and
1,502 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,50 @@ | ||
# DPS3xx Digital Pressure Sensor | ||
|
||
<img src="https://raw.githubusercontent.com/Infineon/Assets/master/Pictures/DPS310_PP.jpg" width=150><img src="https://raw.githubusercontent.com/Infineon/Assets/master/Pictures/DPS310-Pressure-Shield2Go_Top.png" width=300> | ||
|
||
<img src="https://www.infineon.com/export/sites/default/media/products/Small_Signal_Discretes/lowres-DPS368_VLGA-8-2_Combi.tif.png_1864837327.png" width=150><img src="https://raw.githubusercontent.com/Infineon/Assets/master/Pictures/DPS368-Pressure-Shield2Go_Top.jpg" width=300> | ||
|
||
Library of Infineon's highly sensitive [DPS368 sensor](https://www.infineon.com/cms/en/product/sensor/pressure-sensors/pressure-sensors-for-iot/dps368/) and [DPS310 sensor](https://www.infineon.com/cms/en/product/sensor/pressure-sensors/pressure-sensors-for-iot/dps310/) for Arduino. | ||
|
||
## Summary | ||
## DPS368 | ||
|
||
The [DPS368](https://www.infineon.com/cms/en/product/sensor/pressure-sensors/pressure-sensors-for-iot/dps368/) is a miniaturized digital barometric air pressure sensor with ultra-high precision (±2 cm) and a low current consumption, capable of measuring both pressure and temperature. It is is an ultra small waterproof pressure sensor, environmentally protected against water (IPx8), dust & humidity Due to its robust package, it can withstand 50 m under water for one hour (IPx8). The pressure sensor element is based on a capacitive sensing principle which guarantees high precision during temperature changes. The small package (2.0 x 2.5 x 1.1 mm³) makes the DPS3xx ideal for mobile applications and wearable devices. | ||
|
||
### Summary of Features: | ||
|
||
* Package dimensions: 8-pin LGA, 2.0 x 2.5 x 1.1 mm³ | ||
* Operation range: | ||
* Pressure: 300–1200 hPa | ||
* Temperature: -40–85°C | ||
* Precision: ± 0.002 hPa (or ±0.02 m) | ||
* Rel. accuracy: ± 0.06 hPa (or ±0.5 m) | ||
* Abs. accuracy: ± 1 hPa (or ±8 m) | ||
* Temperature accuracy: ± 0.5°C | ||
* Avg. current consumption: 1.7 µA (pressure measurement@1 Hz sampling rate, standby: 0.5 µA) | ||
* Integrated FIFO | ||
* Interface: I2C and SPI (I2C with optional interrupt) | ||
|
||
### Benefits | ||
|
||
* Fast, ultra-low noise read-out allows for precise measurement of altitude, air flow and body movements | ||
* Small package size ideal for wearable devices & mobile applications | ||
* Sensor can be used in harsh environment (water, dust & humidity) | ||
* Environmentally resistant package facilitates handling in assembly line | ||
|
||
### Target Applications | ||
|
||
* Smart watches & wearables (e.g. fitness tracking) | ||
* Smart phone (e.g. navigation) | ||
* Home appliances (e.g. air flow control) | ||
* Drones (e.g. flight stability) | ||
|
||
## DPS310 | ||
|
||
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 coefficients calculated during this process are stored in the calibration registers. The available raw data of the sensor can be calibrated by using the pre-calibrated coefficients as they are used in the application to convert the measurement results to high accuracy pressure and temperature values. | ||
|
||
Sensor measurements and calibration coefficients are available through the serial I2C or SPI interface. | ||
|
||
### Key Features and Applications | ||
* Supply voltage range 1.7V to 3.6V | ||
* Operation range 300hPa – 1200hPa | ||
* Sensor’s precision 0.005hPa | ||
* Relative accuracy ±0.06hPa | ||
* Pressure temperature sensitivity of 0.5Pa/K | ||
* Temperature accuracy ±0.5C° | ||
* Applications | ||
* Wearable applications, sport and fitness activities tracking | ||
* Drones automatic pilot, fix point flying | ||
* Indoor navigation, altitude metering | ||
|
||
## Installation | ||
|
||
### Integration of Library | ||
|
||
The master branch is always release ready; therefore, you can just download this library by downloading it from GitHub directly: | ||
|
||
Please download this repository from GitHub by clicking on the above button `Clone or download` of this repository: | ||
|
||
![Download Library](https://raw.githubusercontent.com/Infineon/Assets/master/Pictures/Download_Repo.png) | ||
|
||
To install the DPS3xx 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** > **arduino-xensiv-dps3xx**. | ||
|
||
![Install Library](https://raw.githubusercontent.com/infineon/assets/master/Pictures/Library_Install_ZIP.png) | ||
|
||
## Usage | ||
Please see the example sketches in the `/examples` directory in this library to learn more about the usage of the library. Especially, take care of the respective SPI and I²C configuration of the sensor. | ||
For more information, please consult the datasheet of DPS368 [here](https://www.infineon.com/dgdl/Infineon-DPS3xx-DS-v01_00-EN.pdf?fileId=5546d46269e1c019016a0c45105d4b40) and DPS310 [here](https://www.infineon.com/dgdl/Infineon-DPS310-DS-v01_00-EN.pdf?fileId=5546d462576f34750157750826c42242) | ||
|
||
Currently, there exists the DPS3xx Pressure Shield2Go evaluation board as a break out board: | ||
|
||
* [DPS368 Pressure Shield2Go](https://www.infineon.com/cms/en/product/evaluation-boards/s2go-pressure-dps368) | ||
* [DPS310 Pressure Shield2Go](https://www.infineon.com/cms/en/product/evaluation-boards/s2go-pressure-dps368) | ||
|
||
|
||
### DPS3xx Pressure Shield2Go | ||
The DPS3xx Pressure Shield2Go is a standalone break out board with Infineon's Shield2Go formfactor and pin out. You can connect it easily to any microcontroller of your choice which is Arduino compatible and has 3.3 V logic level (please note that the Arduino UNO has 5 V logic level and cannot be used without level shifting). | ||
Please consult the [wiki](https://github.com/Infineon/DPS3xx-Library-Arduino/wiki) for additional details about the board. | ||
|
||
Each sensor can only work either SPI or I2C. To convert from SPI to I2C, for example, you have to re-solder the resistors on the Shield2Go. Please take care that every Shield2Go for the DPS3xx is shipped as I2C configuration right now. | ||
|
||
* [Link](https://github.com/Infineon/DPS3xx-Library-Arduino/wiki) to the wiki with more information | ||
|
||
|
||
However, every Shield2Go is directly compatible with Infineon's XMC2Go and the recommended quick start is to use an XMC2Go for evaluation. Therefore, please install (if not already done) also the [XMC-for-Arduino](https://github.com/Infineon/XMC-for-Arduino) implementation and choose afterwards **XMC1100 XMC2Go** from the **Tools**>**Board** menu in the Arduino IDE if working with this evaluation board. To use it, please plug the DPS3xx Pressure Shield2Go onto the XMC2Go as shown below. | ||
|
||
<img src ="https://raw.githubusercontent.com/Infineon/Assets/master/Pictures/DPS310_S2Go_w_XMC2Go.png" width=250> | ||
|
||
### Additional Information | ||
Please find the datasheet of the DPS368 [here](https://www.infineon.com/dgdl/Infineon-DPS368-DS-v01_00-EN.pdf?fileId=5546d46269e1c019016a0c45105d4b40) and 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 which communication protocol as well as addresses you need to use for communicating with the sensor. | ||
# XENSIV™ Digital Pressure Sensor Arduino Library | ||
|
||
Arduino library of Infineon's [**XENSIV™ Digital Pressure Sensors (DPS)**](https://www.infineon.com/cms/en/product/sensor/pressure-sensors/pressure-sensors-for-iot/). | ||
|
||
<img src="https://www.infineon.com/export/sites/default/media/products/Small_Signal_Discretes/lowres-DPS368_VLGA-8-2_Combi.tif.png_1864837327.png" width=200> | ||
|
||
## Supported Products | ||
|
||
<table> | ||
<tr> | ||
<td rowspan=2>products</td> | ||
<td><img src="docs/img/dps310.png" height="150"></td> | ||
<td><img src="docs/img/dps368.png" height="150"></td> | ||
</tr> | ||
<tr> | ||
<td style="test-align : center"><a href="https://www.infineon.com/cms/de/product/sensor/pressure-sensors/pressure-sensors-for-iot/dps310/">XENSIV™ DPS310</a></td> | ||
<td style="test-align : center"><a href="https://www.infineon.com/cms/de/product/sensor/pressure-sensors/pressure-sensors-for-iot/dps368/">XENSIV™ DPS368</a></td> | ||
</tr> | ||
<tr> | ||
<td rowspan=2>shield2go</td> | ||
<td><img src="docs/img/dps310-shield2go.png" height="150"></td> | ||
<td><img src="docs/img/dps368-shield2go.png" height="150"></td> | ||
</tr> | ||
<tr> | ||
<td style="test-align : center"><a href="https://www.infineon.com/cms/en/product/evaluation-boards/s2go-pressure-dps310/">XENSIV™ DPS310 Shield2Go</a></td> | ||
<td style="test-align : center"><a href="https://www.infineon.com/cms/en/product/evaluation-boards/s2go-pressure-dps368/">XENSIV™ DPS368 Shield2Go</a></td> | ||
</tr> | ||
<tr> | ||
<td rowspan=2>kit2go</td> | ||
<td><img src="docs/img/dps310-kit2go.png" height="150"></td> | ||
<td><img src="docs/img/dps368-kit2go.png" height="150"></td> | ||
</tr> | ||
<tr> | ||
<td style="test-align : center"><a href="https://www.infineon.com/cms/en/product/evaluation-boards/kit_dps310_2go/">XENSIV™ DPS310 Kit 2Go</a></td> | ||
<td style="test-align : center"><a href="https://www.infineon.com/cms/en/product/evaluation-boards/kit_dps368_2go/">XENSIV™ DPS368 Kit 2Go</a></td> | ||
</tr> | ||
</table> | ||
|
||
## Getting Started | ||
|
||
### Installation | ||
|
||
To install the digital pressure sensor library in the Arduino IDE, please go to **Sketch** > **Include Library** > **Manage Libraries...** search for the ```DigitalPressureSensor``` library by Infineon in the Arduino library manager. | ||
|
||
### Usage | ||
Please see the example sketches in the `/examples` directory in this repository to learn more about the usage of the library. Especially, take care of the respective SPI and I²C configuration of the sensor. | ||
|
||
## License | ||
|
||
See the [LICENSE](LICENSE.md) file for more details. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.