- Edited
I bought an AirQualityWing last year and only now had time to try it out, but I’m having massive problems with it.
I’m trying to get any data out of it with either an Argon or a Xenon, on either Particle’s firmware (with your default example code) or with Circuitpython, but it seems the device can’t connect to any of the sensors on the board.
I’m a bit more familiar with Python so I flashed the Argon (and Xenon) with Circuitpython and tried it there, but it’s the same:
ccs811 = adafruit_ccs811.CCS811(i2c)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "adafruit_ccs811.py", line 129, in __init__
RuntimeError: Device ID returned is not correct! Please check your wiring.
Same for the SI7021:
Traceback (most recent call last):
File "code.py", line 56, in <module>
File "adafruit_si7021.py", line 128, in __init__
File "adafruit_si7021.py", line 147, in _command
File "adafruit_si7021.py", line 147, in _command
File "adafruit_bus_device/i2c_device.py", line 84, in write
OSError: [Errno 5] Input/output error
I2C itself seems to be working just fine:
Unlocking I2C
I2C addresses found: ['0x8', '0x9', '0xa', '0xc', '0xd', '0xe', '0x10', '0x11', '0x12', '0x13', '0x14', '0x15', '0x16', '0x18', '0x19', '0x1a', '0x1c', '0x1e', '0x20', '0x21', '0x22', '0x23', '0x24', '0x25', '0x26', '0x28', '0x29', '0x2a', '0x2c', '0x2e', '0x30', '0x31', '0x32', '0x34', '0x35', '0x36', '0x38', '0x39', '0x3a', '0x3c', '0x3e', '0x40', '0x41', '0x42', '0x43', '0x44', '0x45', '0x46', '0x48', '0x49', '0x4a', '0x4c', '0x4e', '0x50', '0x51', '0x52', '0x54', '0x55', '0x56', '0x58', '0x59', '0x5a', '0x5c', '0x60', '0x61', '0x62', '0x64', '0x65', '0x66', '0x68', '0x69', '0x6a', '0x6c', '0x6e', '0x70', '0x71', '0x72', '0x74', '0x76']
All of the output is from the Argon+AQW being powered by USB.
The AQW is board revision 4.
Is there any way I can verify if the AQW is defective?