Solution for the 5V vs 3.3V problem

Think I've got ok start for it: