- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I would like to ask how can I use the XENSIV PAS CO2 sensor with my ESP32 board. I have managed to make the sensor work using an Arduino board using the sample code and the library but I would like to use the sensor with my ESP32-based board and I have not found any libraries for ESP32.
Any help would be appreciated. Thank you!
Solved! Go to Solution.
- Labels:
-
CO2 Sensor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @rmjimeno,
Please refer to the updated library for PAS CO2 sensor in the following link
https://github.com/Infineon/arduino-pas-co2-sensor/releases/tag/v3.0.2
Please let me know whether the issue is resolved.
Thanks and regards,
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @rmjimeno,
Sorry for the delay in response. The sensor can be interfaced using I2C.
Please refer to the Programming guide for XENSIVTM PAS CO2 as a starting point.
Thanks and regards,
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Infineon PAS CO2 sensor needs 12 V power supply for the IR emitter according the documentation. Esp32 has no 12V.
Is there any simply solution for that?
BR, Ilkka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
XENSIV PAS CO2 Shield2Go can be used with only(?) 5V and 3.3V.
https://www.infineon.com/cms/en/about-infineon/press/market-news/2022/INFPSS202207-106.html
I've just posted a sample for PSoC 4.
https://community.infineon.com/t5/Code-Examples/XENSIV-PAS-CO2-on-PSoC-4-CY8CKIT-044/m-p/390366#M137...
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Moto, thank you very much for the reply and information.
BR, Ilkka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had the same issue with ESP32 and PlatformIO with the latest library "infineon/XENSIV PAS CO2 @ ^3.0.2". In my case weak stub function xensiv_pasco2_plat_i2c_transfer from `src/xensiv_pasco2.c` was called instead of platform implementation from `src/pas-co2-pal-ino.cpp`. When I removed stubs everything start working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @rmjimeno,
Please refer to the updated library for PAS CO2 sensor in the following link
https://github.com/Infineon/arduino-pas-co2-sensor/releases/tag/v3.0.2
Please let me know whether the issue is resolved.
Thanks and regards,
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @rmjimeno,
I would like to add one more point to check that the latest version of the ESP32 driver is installed in the Arduino IDE.
Thanks and regards,
George