General

MiCS-5524 (SEN0440)

userHead Ramaki 2024-02-16 17:46:58 105 Views0 Replies

Hello,

 

I have a question about the Adurion DFRobot_MICS Library. When calculating the concentrations in ppm, constants are used, for example:

 

float DFRobot_MICS::getCarbonMonoxide(float data)
{
 if(data > 0.425)
   return 0.0;
 float co = (0.425 - data) / 0.000405;
 if(co > 1000.0)
   return 1000.0;
 if(co < 1.0) 
   return 0.0;
 return co;
}

 

Can you explain to me where these numbers (0.425 and 0.000405) come from?