Hi all,
I've got a relatively simple device - a Wemos D1 Mini running a SD card module plus the following I2C devices: 1306 driven OLED, SHT85 humidity and temperature sensor plus a MS5837 pressure sensor. All of those are powered off of a 3.3v bus.
I've got pullup resistors (started with none, then 10k then 2k with no difference in results) on the I2C lines (SDA and SCK) and and a 47 uf electrolytic cap on the 3.3v rail.
I'm using it to sample process air in an industrial (i.e. fairly electrically noisy) environment.
When I run it off of a USB battery, everything works fine, indefinitely.
When I run it off of any of multiple USB adapters into the 5V in or via a mains to 3.3v adapter, the data recorded (and screen) become increasingly corrupted. I'm also writing a time string to the SD card, and that's recording without error, so I think the issue is entirely on the I2C bus. Worth noting that it works fine on mains power (USB or other adapter) in an office environment.
Before I sit down and actually learn how to use my scope in anger, has anyone here run into a similar circumstance?
Thanks in advance,
Chris