AirGradient Forum

AirGradient Pro kit and I2C pullups

Okay, 10k pull-ups are back on the SHT3X. I’ve now got 6.3k to 5V and 6.1k to 3V3. In this configuration nothing works. The bus fails to initialize. If I remove either the SGP or the SHT it works again (but the rise times are still very slow).

I also have a pro kit and removed the pull-ups from the SHT (and also have a display and a SGP30 connected to the I2C bus). It does work fine for me but the rise time seems to be below 300ns in my case (or at least not too far from the 300ns if I understand the definition correctly)

I have had this issue also but no scope to see the problem.

I finally just changed the SHT30 to 3.3v by adding a wire so it’s not connected to 5v. Now all my sensors: SHT30, SGP30, BME280 and the oled are connected on same bus with original 10k pullups which results in 2.9k total. When adding the ESP I can’t reliably measure the resistance because it keeps changings and the multimeter can’t keep up. There will become a scope quite handy.
After adding SHT30 the SGP30 stops working. I’ve tried 50, 100, 200, 400khz and added different resistor values to counteract. I calculated the required value. For all speeds all sensors worked except SGP30. The only thing that did work, was when the total resistance on the bus was above 4.1k(by removing a sensor) and SGP30 happily reports. I can’t make sense of that because a value of minimal 1k
total should work.
Edited because previous reply was incomplete.

And after another try. Removing BME280 to replace it only with 10k or 5.1k resistor the SGP30 still works at 100khz. Only when adding 2k SGP30 stops working again. So I’m starting to think the SGP30 has some other issue which I can’t measure without scope. Maybe noise or other interference? Could some of you look into this? This issue SGP30 - Unkown setup error · Issue #10 · nkitanov/iaq_board · GitHub looks the same to me.

Still trying out. I came on the idea of maybe the 3.3v power line isn’t stable enough for the LDO on the SGP30 to operate hence it doesn’t respond/error. I’ve added a 22uF cap between 3.3v and ground and all sensors are now working at 100khz. I’ll report after a few days too see if it’s stays working.

This is interesting. Yes, please report back with your results.

Well it didn’t last long. I’ve had 3 i2c bus hangs in 2 weeks. Only by powering off the bus it starts working again. But SGP30 is still flaky.
With or without capacitor for 3.3v or 5v or both didn’t make a noticeable change. I tried different size capacitors up to 500uF and/or adding decoupling capacitor 0.1uF. If someone has an oscilloscope to measure these things that would help understanding the problem. I can’t tell if there is too much pull-up or too much capacitance into play.
If I would need to make a guess, this SGP30 variant on this board isn’t up to specifications required to run with multiple devices on the same i2c bus.

I did try one other thing. Because the issue is with the SGP30 itself, the power/noise problem could be on the module board itself.
There is a LDO to bring down the voltage from 5v/3.3v down to 1.8v. Although I cannot measure it, I added an extra 10uF cap to the existing 10uF and 2x 0.1uF smd caps. It’s now working. Long term stability testing again.

Let us know how this goes as my temperature and humidity goes to zero sometimes and the tvoc value goes nuts

I’ve given up and bought a couple of Awair Element sensor units off eBay for about $60 each shipped. Some cryptocurrency based on air quality monitoring (what) went under so now a bunch of people are unloading them. Given all these problems with the current Pro I simply can’t recommend it to anyone, and would be extremely hesitant to purchase the outdoor Airgradient unit that’s in development.

Sorry to hear that. Once we recognized that some people have problems running the SGP30 reliably, we stopped selling it as part of the kit and over the last week have tested extensively with the SGP40.
I have the PRO kit running with the new SGP40 (AirGradient Version without pull-ups) since a few weeks and it works without problems. We also updated the PCB and the next version will have all i2c on 3.3v.

What is the solution for us early adopters? I also have completely unreliable TVOC readings and it also brings my co2 readings to crazy levels

1 Like

Please read my last message. Im still testing but all sensors are still working without any issues. Im hopeful.
I can make pictures next few days.

1 Like

Any update on the images and is it still working ? I had to remove the Voc chip module as I was getting constant bus errors even with the resistors removed on the other chip.

Would love it if the developer would chime in on some options as well as I have a unit that I paid for with no Voc monitor

Thanks

Please contact our support team for a replacement / refund.
https://www.airgradient.com/support/

Hi, will you also post updated gerber files?

I’m using SGP41 and the TVOC reading (index, rather than ppb) seems fine so far. Removed the pull-up resistors from the SHT module.

My CO2 goes crazy every couple of days though (goes to 5 digits, then -1, then back to 5 digit).

Pom, where did you plug the SGP41 in - 3V or 5V slot?

It’s plugged into the 3V3 slot.

is there a link for the Schematic for the sensor that is sold with the PRO kit? I just received mine and the sensor SHT3X is not working reliably (also have the TVOC sensor)