Has anyone had success with the Adafruit SGP30 sensor on the Gen 3 devices? My sensors work fine on Photons but not on Argons or Xenons. It doesn’t throw an error but it appears the internal heater never kicks in (according to thermal imaging) and all I get back is 0-1 and 400-401. I’ve tried both particle SGP30 libraries though technically they both originate from Adafruit’s code.
To help narrow things down I’ve confirmed all the libraries and code I’ve been trying work on Photons. I’ve then confirmed it doesn’t work on an Argon and a Xenon. I’ve tried different breadboards, different wires. Next I enabled the I2C debugging, within the library code, and see no issues other than the values:
On Startup:
Found SGP30 serial #0A49CAE
-> 0x20, 0x8,
<- 0x1, 0x90, 0x4C, 0x0, 0x0, 0x81,
CRC calced: 0x4C vs. 0x4C
Read: 0x190
CRC calced: 0x81 vs. 0x81
Read: 0x0
TVOC 0 ppb eCO2 400 ppm
-> 0x20, 0x8,
<- 0x1, 0x90, 0x4C, 0x0, 0x0, 0x81,
CRC calced: 0x4C vs. 0x4C
Read: 0x190
CRC calced: 0x81 vs. 0x81
Read: 0x0
TVOC 0 ppb eCO2 400 ppm
It’s normal to report 0s for up to 30sec after starting(technically 400ppm is the 0 for eCO2).
Here’s the first baseline output:
****Baseline values: eCO2: 0xFFF8 & TVOC: 0xFFDD
Later on, after it’s been running for awhile, it’s always TVOC 1 and eCO2 of 400 or 401:
-> 0x20, 0x8,
<- 0x1, 0x90, 0x4C, 0x0, 0x1, 0xB0,
CRC calced: 0x4C vs. 0x4C
Read: 0x190
CRC calced: 0xB0 vs. 0xB0
Read: 0x1
TVOC 1 ppb eCO2 400 ppm
-> 0x20, 0x8,
<- 0x1, 0x91, 0x7D, 0x0, 0x1, 0xB0,
CRC calced: 0x7D vs. 0x7D
Read: 0x191
CRC calced: 0xB0 vs. 0xB0
Read: 0x1
TVOC 1 ppb eCO2 401 ppm
****Baseline values: eCO2: 0xFFF8 & TVOC: 0xFFF8
A simple way to confirm I don’t have exceptional air is to breathe on it. It’ll spike instantly when run on a Photon, no movement on Gen3 devices. These baseline values are much higher than they should be which may imply even the internal chip isn’t getting good data. So perhaps an initialization issue based on the chip generating no heat (confirmed via thermal imaging) when a heating element is critical to it’s operation. Not sure what else to try. Any ideas?
For those not familiar with this sensor, here’s the product page: https://www.sensirion.com/en/environmental-sensors/gas-sensors/multi-pixel-gas-sensors/
and the datasheet: https://www.mouser.com/ds/2/682/Sensirion_Gas_Sensors_SGP30_Datasheet_EN-1148053.pdf