CO2 sensor on i2c chip CCS811 #1906
Unanswered
paulzhdanov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
please help me with running Co2 sensor! I was inspired with #1819 and trying to create the script for Co2, but unfortunately I don't have enough experience to understand it by myself. Here the draft, links to datasheet and arduino lib are below. Thanks in advance!
{
"c":{"o":3,"ic":[[5,4,100]]},
"a":[{
"t":10,
"es":[{
"t":80,
"n":20,
"tg":[1,0], //???? didn't understand where to get..
"j":5,
"ic":[0,90], // ADDR is low the 7 bit I2C address is decimal 90 / hex 0x5A
"in":[], // library: CO2 = ((uint16_t)data[0] << 8) | data[1];
"dt":[2,0] //
...
}]
}]
}
datasheet: https://cdn.sparkfun.com/datasheets/BreakoutBoards/CCS811_Programming_Guide.pdf
lib: https://github.com/sparkfun/SparkFun_CCS811_Arduino_Library/tree/master/src
Beta Was this translation helpful? Give feedback.
All reactions