I've got a project that involves a 5V Arduino and a Raspberry Pi Zero (3.3V) that need to communicate through a serial interface. The easy solution here would be to connect them through USB, but I'll be using an Arduino pro mini type board, which does not have a USB to serial adapter and thus does not have USB. So I'll be connecting them directly, but I've heard the Raspberry Pi does not like getting 5V through its serial pins, which means I've got to have a level shifter (at least on the Arduino tx to Pi rx line).
I have a few hex non-inverting buffers (the CD4050BCN), and from what I understand, if I have VDD set to the Pi's logic voltage (3.3V), it will only output a maximum of 3.3V. Then I can connect the Arduino's tx pin to VIN of the non-inverting buffers to ensure the output will be 3.3V at most.
Am I not understanding part of this? I just want to make sure--I don't have much knowledge of electronics past basic microcontroller wiring.