Skip to content

Commit 746c0dc

Browse files
authored
Merge pull request #9 from Infineon/release/v2.1.2
Release/v2.1.2
2 parents 2c21313 + 3b230f2 commit 746c0dc

7 files changed

+42
-10
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,22 @@ Arduino library of Infineon's [**XENSIV™ Photoacoustic Spectroscopy (PAS) CO2*
66

77
<img src="docs/img/pas-co2-module.png" width=200>
88

9+
### Supported Sensor Boards
10+
11+
<table>
12+
<tr>
13+
<td><img src="docs/img/pas-co2-miniboard.png" width="200"></td>
14+
<td><img src="docs/img/pas-co2-s2go-front.png" width="300"></td>
15+
</tr>
16+
<tr>
17+
<td style="test-align : center"><a href="https://arduino-pas-co2-sensor.readthedocs.io/en/latest/hw-platforms.html#xensiv-pas-co2-miniboard">XENSIV™ PAS CO2 Miniboard</a></td>
18+
<td style="test-align : center"><a href="https://arduino-pas-co2-sensor.readthedocs.io/en/latest/hw-platforms.html#xensiv-pas-co2-sensor-shield2go">XENSIV™ PAS CO2 Sensor Shield2Go</a></td>
19+
</tr>
20+
</table>
921

1022
### Getting started
1123

12-
Find a getting started tutorial based on the XENSIV™ PAS CO2 Shield2Go and the XMC 2Go eval board in this [link](https://arduino-pas-co2-sensor.readthedocs.io/en/latest/getting-started.html).
24+
Find a getting started tutorial based on the XENSIV™ PAS CO2 Shield2Go and the XMC eval boards in this [link](https://arduino-pas-co2-sensor.readthedocs.io/en/latest/getting-started.html).
1325

1426
### Library installation
1527

docs/getting-started.rst

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ Required Hardware
2323
* - `XMC 2Go <https://www.infineon.com/cms/de/product/evaluation-boards/kit_xmc_2go_xmc1100_v1/>`_
2424
- .. image:: img/xmc2go.jpg
2525
:height: 80
26+
* - or `XMC1100 Boot Kit <https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc11_boot_001/>`_
27+
- .. image:: img/xmc1100-bootkit.jpg
28+
:height: 80
2629
* - Pin headers (included with the XMC 2Go)
2730
-
2831
* - Micro-USB to USB A cable
@@ -62,18 +65,34 @@ For this example we are going to use the I2C serial interface.
6265
A. Shield2Go
6366
""""""""""""
6467

65-
If you are using the XENSIV™ PAS CO2 Sensor Shield2Go, it just need to be stacked on the XMC 2Go microcontroller board. Be sure that that the corresponding solder jumper are set for I2C mode, and PSEL is pulled to GND.
68+
.. image:: img/shield2go_co2_pinout.png
69+
:width: 200
70+
71+
If you are using the XENSIV™ PAS CO2 Sensor Shield2Go, it is recommended to use a microcontroller
72+
which provides a 5V output. In this tutorial, the XMC11000 Boot
73+
Kit is used. Connect the shield and the eval kit as in the following wiring diagram:
74+
75+
.. image:: img/pas-co2-xmc1100bk-conn-diag.png
76+
:width: 400
77+
78+
Be sure that the corresponding solder jumper are set for I2C mode, and PSEL is pulled
79+
to GND.
80+
For this example it is not required, but consider connecting the interrupt signal to the pin 2(P1.4)
81+
or 3(P0.0) of the XMC1100 Boot Kit for appliations that require interrupts.
6682
Check the `Shield2Go Manual <https://www.infineon.com/dgdl/Infineon-Quickstart_guide_PAS_CO2_Shield2go-UserManual-v01_00-EN.pdf?fileId=8ac78c8c7f2a768a017f6ab96bf11845>`_ for complete details.
6783

68-
..
69-
.. image:: img/pas-co2-xmc2go-small.jpg
70-
:width: 250
84+
Then, simply connect the eval kit to the computer with the USB cable.
7185

72-
Then, simply connect it to the computer with the USB cable.
86+
.. warning::
87+
Alternatively, the XMC 2Go can be used by stackin the sensor shield on top. But the XMC 2Go V1 does not support 5V signal, as required by the XENSIV™ PAS CO2 Sensor Shield2Go.
88+
Thus, if XMC 2Go is used, keep in mind that an additional 5V signal needs to be provided to the 5V pin of the XENSIV™ PAS CO2 Sensor Shield2Go.
7389

7490
B. Miniboard
7591
""""""""""""
7692

93+
.. image:: img/minieval_co2_pinout.png
94+
:width: 350
95+
7796
In order to use the I2C interface we need to add a 10 Kohm pull-up resistors to the SDA and SCL lines, and a 12VDC voltage needs to be additionally provided to VDD12V pin. Connect the boards as shown in the following diagram:
7897

7998
.. image:: img/xmc2go-miniboard-i2c-conn-diag.png
@@ -92,7 +111,8 @@ With everything ready, now we are going to upload and run one of the library exa
92111
1. **Select the board**
93112

94113
Once installed the XMC board family, you can select one of the supported board from the menu *Tools > Board:*.
95-
Choose the **XMC1100 XMC2Go** (*Tools > Board > XMC Family > XMC1100 XMC2Go*).
114+
Choose the **XMC1100 XMC2Go** or **XMC1100 Boot Kit** depending on your hardware setup (*Tools >
115+
Board > XMC Family > XMC1100 XMC2Go/XMC1100 Boot Kit*).
96116

97117
2. **Open the example**
98118

180 KB
Loading

docs/img/xmc1100-bootkit.jpg

400 KB
Loading

docs/lib-install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ In the following example, we use the XMC 2Go Evaluation Kit (only available for
4545
framework = arduino
4646
4747
lib_deps =
48-
infineon/pas-co2-sensor @ ^1.0.3
48+
infineon/pas-co2-sensor @ ^2.1.2
4949
5050
5151
Find more information in the `PlatformIO Registry <https://platformio.org/lib/show/12518/pas-co2-sensor>`_.

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url":"https://github.com/Infineon/arduino-pas-co2-sensor.git",
88
"branch":"master"
99
},
10-
"version":"2.1.1",
10+
"version":"2.1.2",
1111
"license":"MIT",
1212
"frameworks":"arduino",
1313
"platforms":[

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=pas-co2-sensor
2-
version=2.1.1
2+
version=2.1.2
33
author=Infineon Technologies
44
maintainer=Infineon Technologies <www.infineon.com>
55
sentence=C/C++ library for Infineon XENSIV™ PAS CO2 sensor

0 commit comments

Comments
 (0)