Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird SenseAir S8 CO2 response #4

Closed
krupis opened this issue Jul 7, 2023 · 4 comments
Closed

Weird SenseAir S8 CO2 response #4

krupis opened this issue Jul 7, 2023 · 4 comments

Comments

@krupis
Copy link

krupis commented Jul 7, 2023

Hello. I try to use your library with the SenseAir S8 sensor. It seems to work fine (The sensor is responding to UART commands), but it returns weird CO2 values:

[1B][0;32mI (24032) Info: ABC-Period 180 [1B][0m
[1B][0;32mI (28032) Info: Firmware: 335 [1B][0m
[1B][0;32mI (32032) Info: Sensor-ID 793 [1B][0m
[1B][0;32mI (36032) Info: Sensor-ID 11344 [1B][0m
Sending data 
Response[0] = fe 
Response[1] = 04 
Response[2] = 02 
Response[3] = 22 
Response[4] = c3 
Response[5] = f5 
Response[6] = d5 
[1B][0;32mI (37082) Receive_TASK: CO2 8899 [1B][0m
Sending data 
Response[0] = fe 
Response[1] = 04 
Response[2] = 02 
Response[3] = 22 
Response[4] = bf 
Response[5] = f4 
Response[6] = 34 
[1B][0;32mI (42082) Receive_TASK: CO2 8895 [1B][0m

The returned values are way above the range of this sensor. From the datasheet, it says that this sensor is capable of measuring 400-2000ppm

@SFeli
Copy link
Owner

SFeli commented Jul 9, 2023

Hello
can it be that you need to calibrate your S8-Sensor? In Document https://rmtplusstoragesenseair.blob.core.windows.net/docs/publicerat/PSP0113.pdf it suggest to shortcut Pin bCAL_in with G0 (Ground) for min 4 max 8 seconds.
A reboot does well :-)
One note appart : If you use Visual Studio Code with plattformio the parameter : monitor_filters = direct in platformio.ini will interpret the [xy - information.
Will keep the issue open for another 2 weeks and would be glad to get your findings. :-)

@krupis
Copy link
Author

krupis commented Jul 9, 2023

Thanks for a quick response. I did manual calibration (shorting bCal_in to gnd for about 6 seconds and I can confirm that readings went down to 400ppm.

It is quite strange why I had to do this since SenseAir say all their sensors come calibrated.

Anyways, how can I ensure the CO2 level that i calibrated the sensor on is really 400 ppm? I cant really ensure that so the readings might be faulty now. I did my calibration in my open air balcony but I dont know the actual CO2 levels here.

@SFeli
Copy link
Owner

SFeli commented Jul 10, 2023

Hi,
you have done the best calibration you can do. To set the sensot to 400 ppm is to only possibility to influence the sensor.
In the internet you can check the CO2 - Value on your place - perhaps you make the calibration on days where the CO2-Concentration on your place is low.

There is also another routine on the Sensor (ABC) which calibrates the sensor more or less automatic. very 180 hours it checks the values and reduces the baseline by 50 if not touched the 400 ppm. Most of the developer disable this routine.

Will close your issue since the code works.

@SFeli SFeli closed this as completed Jul 10, 2023
@SFeli
Copy link
Owner

SFeli commented Jul 10, 2023

Code works -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants