Gravity: PWM Infrared Carbon Dioxide Sensor (400-5000 ppm)
joaquim.rucar 2023-03-06 05:15:49 1354 Views3 Replies Hello,
I bought the “Infrared C02 Sensor V 2.0” and i put in arduino software the code that DF ROBOT propose here:
https://wiki.dfrobot.com/Gravity__Infrared_CO2_Sensor_For_Arduino_SKU__SEN0219
And when i try the read the measured data, i see that (in the com):

Could you help me? I do not understand why i cannot read normaly datas
Baud rate mismatch. Kindly make the change as per NeloKin's instructions.
bidrohini.bidrohini Hi
Could you please change the baud rate here?

According to the WIKI of Gravity: PWM Infrared Carbon Dioxide Sensor (400-5000 ppm)(SKU:SEN0219), if you are using our demo code, you should change the baud rate to 115200.
Hope it can help.
NeloKin can I change the baudrate to 9600? because I wanted to combine my other program that support 9600 baudrate. I am using ILI 9341 TFT display program to monitor my CO2 with this sensor


