2022-01-14, 06:17 PM
(2022-01-13, 09:25 PM)baltika_no_9 Wrote: “…never the 5V…”. Not necessarily.
The particular sensor the OP is referring to can be powered just fine from a power supply in the range 3.3 to 5.5V It has an onboard regulator to deliver the 3.3V.
This is certainly true but please take a look at the schematic. https://www.waveshare.com/w/upload/8/86/...ematic.pdf
If the 5v supply (vcc) is used the SDA and SDA pins will have pull-ups to the 5v supply which will make them out of spec. for the pi’s gpio pins.
Use the 3.3 volt supply!
Paul