I have problems with the Grove I2C multichannel gas sensor and I hope you can help me.
This file has been truncated.
# This sensor is on port 0x04, so not compatible with grovepi unless you load an alternate firmware
# This is work in progress, would need logic analyzer and arduino to get working
# Traceback (most recent call last):
# File "multichannel_gas_sensor.py", line 67, in <module>
# m= MutichannelGasSensor()
# File "multichannel_gas_sensor.py", line 21, in __init__
# if self.readR0() >= 0:
# File "multichannel_gas_sensor.py", line 27, in readR0
# rtnData = self.readData(0x11)
# File "multichannel_gas_sensor.py", line 52, in readData
# buffer=bus.read_i2c_block_data(self.address, cmd, 4)
#IOError: [Errno 5] Input/output error
This sensor is on port 0x04, so not compatible with grovepi unless you load an alternate firmware
I don’t know where the alternate firmware is. Can you guide me? If it works, I will update the tutorial to our wiki.
Seeed Technical Support Zeng
You might be interested in changing the GrovePi’s I2C address by following the following tutorial:
Even though that article is actually meant for stacking multiple GrovePis, I think you could get away with it for this particular issue.
Just so you know, here’s the folder that’s being referenced in that article: