wouterds
Posts: 13
Joined: Wed Dec 31, 2014 5:16 pm

Connecting/reading out a CCS811 (digital air quality sensor)

Thu Jun 01, 2017 7:12 am

Hi,

I recently bought this breakout board but I can't get it to work.
I properly connected the VCC to the 3.3V, GND to GND, SDA to SDA and SCL to SCL on the Raspberry Pi.

But whenever I run sudo i2cdetect -y 1 I can only see my other sensors that are also connected to the I2C bus.

Code: Select all

~ sudo i2cdetect -y 1

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- 23 -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- 76 --    
According to this guide on Sparkfun it should run on either 0x5A or 0x5B.

Anyone else tried using this digital gas sensor before with a Raspberry Pi?
Small note: I didn't actually get the Sparkfun breakout board but this one from eBay for half of the price.

Cheers
Wouter

yamanoorsai
Posts: 9
Joined: Wed Oct 31, 2012 2:38 am

Re: Connecting/reading out a CCS811 (digital air quality sen

Fri Jul 14, 2017 9:51 am

I did get the sparkfun breakout board. I am able to detect the sensor. I am currently working on a library to interface the sensor.

Return to “Interfacing (DSI, CSI, I2C, etc.)”