Hey all,
I recently received a GCC2330 O2 Sensor Pro. I can successfully parse the UART packets, but the value is always exactly 25% O2, despite various tests where there should hardly be any oxygen at all (e.g. inside a small mason jar with a lit tea light that burned out after consuming all the oxygen in the air).
I used the arduino code referenced on the wiki page, with a couple pin and baud changes to work with my board (ESP32). Here’s a few example packets I received:
ff 86 00 fa 00 00 0a 25 51
ff 86 00 fa 00 00 0a 2f 47
ff 86 00 fa 00 00 0a 1c 5a
Per the datasheet, the 3rd and 4th byte are the concentration, with “Gas concentration value = (gas concentration high byte *256 + gas concentration low byte) * resolution” where resolution is 0.1.
0x00fa ==> int 250
250 * 0.1 ==> 25.0
The value stays the same regardless of whether I’m powering VCC at 3.3v or 5v, and no matter how long I leave the sensor running (I’ve tried up to an hour with no change, which is well past the 5min settle time specified on the product page).
I’m also confused by bytes 6 and 7 - these are expected to be 00 00 per the datasheet, but seem to hover around 0x0a00 (decimal 2560). What are these values?
Is my unit defective? Are there any other recommendations on steps to try?
Thanks in advance!