Plenty of success connecting a couple of DS18B20’s, BMP280, and SHT31 sensors with an OLED display (so my YAML is fine), but the moment I connect the SHT31-DIS and power up the D1 mini it hangs on boot.
This module supports Vcc in the range 2.4 to 5.5VDC, so I’ve tried both 3.3V and 5V without success. I’ve disconnected all other sensors in case it’s a current draw issue, but that didn’t help. I’d expect electrically it would be close to the SHT31 which works fine off 5VDC.
Maybe the wiring diagrams (same on all sites I’ve checked) are incorrect? Have tried tracing wiring but that’s a challenge!
Point taken on sensor powering. I power the D1 mini via USB, then power sensors using it’s 5V or 3.3V pins. Both work for the other I2C devices connected.
The SHT31-DIS is connected to 3.3V, GND, and I2C on GPIO4 & GPIO5. I have a regular SHT31 I can swap with - it works, uses the same 0x44 I2C address as the -DIS version. I have connected an SSD1306 OLED display, a BMP280, and SHT31 on I2C plus DS18B20 on D6. Just testing at present - don’t need that many temperature/humidity sensors!
Swapping the working SHT31 and SHT31-DIS devices and checking again today, I noticed the -DIS sensor gets immediately warm on powering up, even with only Vcc and GND connected. Strongly suspecting the pinouts are marked incorrectly, will get the jeweller’s loupe out and trace the tracks later today.
I think all module pinouts published on AliExpress (every module supplier I could find has the same pinouts shown) are wrong. Using the same image from above as module pin references, I got it working with:
Not required
SDA
SCL / SCK
Not required
GND
Vcc (3.3VDC)
So both data AND both power connections are swapped when compared to website references! Or perhaps it’s a Southern hemisphere inversion thing…