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!
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?
XENSIV PAS CO2 Shield2Go can be used with only(?) 5V and 3.3V.
I've just posted a sample for PSoC 4.
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.
Please refer to the updated library for PAS CO2 sensor in the following link
Please let me know whether the issue is resolved.
Thanks and regards,