This article describes methods for interfacing 5V and 3.3V devices in a world where microcontrollers and various sensors often operate and communicate at different voltages.
(https://savagecircuits.com/wp-content/uploads/2011/04/Figure_Z.png)
CLICK HERE TO GO TO THIS TUTORIAL ON THE SAVAGE///CIRCUITS WEBSITE (https://savagecircuits.com/mixed-voltage-systems/)