I am trying to build a particle counter system based on the Grove Laser PM2.5 (HM3301) SKU 101020613. Data shall be acquired with an Arduino Giga R1 WiFi.
The Arduino Giga doesn’t seem to be able to read the data properly from the I2C bus.
Concentration reading is almost always 0, rarely its 1.
0
FF 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0
sensor num: 0
PM1.0 concentration(CF=1,Standard particulate matter,unit:ug/m3): 0
PM2.5 concentration(CF=1,Standard particulate matter,unit:ug/m3): 0
PM10 concentration(CF=1,Standard particulate matter,unit:ug/m3): 0
PM1.0 concentration(Atmospheric environment,unit:ug/m3): 0
PM2.5 concentration(Atmospheric environment,unit:ug/m3): 0
PM10 concentration(Atmospheric environment,unit:ug/m3): 0
I’ve already checked the following:
The sensor is working fine with an Arduino Due.
The Arduino Giga can read data from an mpu9250 sensor without problems.
I powered the sensor with 3.3 V and with 5V - doesn’t make a difference
I tried different all 3 I2C buses of the Arduino Giga - I don’t see a difference
I tried setting different I2C clock speeds - I don’t see a difference
I used an oscilloscope for checking the communication - this confirmed the raw data as shown above.
Any ideas whats going wrong with the Arduino Giga?