Help on Air Quality Combo SCD41

after using the hook up guide reconmended, 3 libraries installed. but still get error. so how to get the C02 reading without any errors. is there any code provided to use

i encountered this problem as well even after downloading the 3 libraries manually and following the hookup guide examples

Update, this is the setup i am using and i am trying to get it to display values for air quality (Co2), is there any other codes i can try other then the examples from hookup guide as they did not work.

i am also using this setup and faced the same problem

Oh i also have the same problem . I alr installed the libraries and do the same setup . Really need help here and provide us solutions to this or give us a code to read Co2 measurements

I can see that you are getting garbage values as output in your serial monitor. It usually happens due to a baud rate mismatch. You are selecting 9600 baud rate in the serial monitor. Check in your code if you have defined the same baud rate. Also, check if there is a problem with your connections. Check the continuity of your jumper wires. Here is another air quality monitor tutorial that you can see for some more ideas: Air Quality Monitor - Share Project - PCBWay


we don’t have thisss so how ?

any other suggestion


libraries is okay but now I have serial error .. how do I resolve this conflict ? Provide the code if possible

not sure where the example is taken from but the call is not compatible. The Sparkfun library is expecting a char pointer.

bool getSerialNumber(char *serialNumber); // Returns true if serial number is read correctly

char serialNumber[13];
scd41.getSerialNumber(serialNumber);
Serial.println(serialNumber);
1 Like