- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
How do you read the data thru UART, for the changes in the CO2 measurement using the Mini board?
Can i just provide the supply Vcc to the board only, instead of using another external MCU like Arduino? If not, why?
There is no changes in the UART pin. Why? I thought this part interface is I2C, Uart and GPIO?
What i need to do? Please advise.
Thank you.
Solved! Go to Solution.
- Labels:
-
CO2 Sensor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @KHNg_4741191 ,
Please refer section 6 of the programming guide to know details about commands to be used in UART interface.
Most of the available code examples uses I2C interface to read data.
Feel free to explore the available code examples mentioned below.
arduino-pas-co2-sensor mtb-example-sensors-pasco2-anycloud-mqtt-client mtb-example-sensors-pasco2
sensor-xensiv-pasco2 pas-co2-sensor mtb-example-sensors-pasco2-freertos
Regards,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For question #1:
How do you read the data thru UART, for the changes in the CO2 measurement using the Mini board?
Please refer the below user manual for how to interface mini board using UART.
For question #2,
Can i just provide the supply Vcc to the board only, instead of using another external MCU like Arduino? If not, why?
No. We need to use external MCU like Arduino for reading CO2 data. The mini board does have XMC microcontroller but it just do conversion of co2 value.
For question #3
There is no changes in the UART pin. Why? I thought this part interface is I2C, Uart and GPIO?
I could not able to understand the question. Could you please provide more details.
Regards,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anand,
What are the command instructions to read out the CO2 data via the UART?
Do you have any example?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @KHNg_4741191 ,
Please refer section 6 of the programming guide to know details about commands to be used in UART interface.
Most of the available code examples uses I2C interface to read data.
Feel free to explore the available code examples mentioned below.
arduino-pas-co2-sensor mtb-example-sensors-pasco2-anycloud-mqtt-client mtb-example-sensors-pasco2
sensor-xensiv-pasco2 pas-co2-sensor mtb-example-sensors-pasco2-freertos
Regards,
Anand