I have a device which requires a 5 V logic input. That input ordinarily needs to be high and the device is activated when the input goes low. I need to drive this from a 3.3 V output (Raspberry Pi GPIO) which is low when the Raspberry Pi is booting.
In summary: when the RasPi's 3.3 V pin is low, the 5 V input needs to be high and vice versa.
What is the best way to achieve this? I'm thinking of using a PNP transistor but I'm struggling to understand how to drive this, as the 3.3 V input isn't enough to stop the transistor passing current.
I've seen a few example circuits that pair the PNP with an NPN but these all require the input to the NPN to be high before the PNP passes current.
Is a Logic Level Converter a more sensible way to achieve this?