Hi guys
I would like to use ubiquitous DS18B20 temp sensors (dallas 1-wire) connecting directly to the M5stack core or M5 stickC core I2C port
Sensor works perfectly with power supply ranging from 3 to 5.5v, on the grove I2C connector I can use 5V power but the SCL/SDA lines (will use one to read the sensor) connected to the ESP32 are 3.3v logic
Any ideas on how to manage such a situation in general? How to manage 3.3v external logic with 5V power supply from the expansion port ?
possible option I see..
-partition resistor
-clamp diode (TVS, Zener)
-level shifter
-3.3v LDO on the external circuit
any suggestion is appreciated
br
Davide