Arduino 5v components to esp32 3.3v

I developed a project in the past with Arduino, currently it has been migrated to esp32. Components like ZMPT101B* work with 5v, but the esp32 with 3.3v. How can I use it without risks together with esp? Can I connect the voltmeter* power to the VIN pin (being powered by a 5v source) and without any problems pass the data pin (which I imagine also returns a 5v voltage) to the esp without causing damage? If it causes damage, I need ideas on how to do this risk-free adaptation, as I aim to reuse components.

Try a Google search on;

arduino logic level converters

HCT logic works great for me and it is not expensive.

I suggest you

provide links to the parts you will be using

and a schematic

for 3.3v to 5v that should work, but the issue is obviously more for 5v to 3.3v

I use resistor(s) or a 74C914 or equivalent.

I use resistors, there is some speed limitation there,