You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first when using your library, I only got one static reading showing unrealistically high eCO2 values. Often at around 65000.
I then discovered the sensor works great with Arduino IDE and Sparkfun's CCS811 library. The eCO2 values stay at around 400, and increase significantly when I breathe on the sensor.
Finally, I discovered that your library does work! If I first transfer an Arduino sketch and then transfer my code with your MakeCode library, I get expected readings. If I pull the USB plug and put it back in, the readings go back to being static again.
Here are the respective error and status codes MakeCode gives me:
Successful readings: Error 0, status alternates between 144 and 152.
Unsuccessful readings: Error 3, status 16
Here's an example of a log, where you can see where the USB was pulled out and put back in. As you can see, the bottom line has been repeated 741 times:
At first when using your library, I only got one static reading showing unrealistically high eCO2 values. Often at around 65000.
I then discovered the sensor works great with Arduino IDE and Sparkfun's CCS811 library. The eCO2 values stay at around 400, and increase significantly when I breathe on the sensor.
Finally, I discovered that your library does work! If I first transfer an Arduino sketch and then transfer my code with your MakeCode library, I get expected readings. If I pull the USB plug and put it back in, the readings go back to being static again.
Here are the respective error and status codes MakeCode gives me:
Successful readings: Error 0, status alternates between 144 and 152.
Unsuccessful readings: Error 3, status 16
Here's an example of a log, where you can see where the USB was pulled out and put back in. As you can see, the bottom line has been repeated 741 times:
My Arduino program:
My MakeCode program:
The sensor has been connected using 3.3V, GND, SDA and SCL.
The text was updated successfully, but these errors were encountered: