I understand Pi's GPIO voltage is 3.3V. Now I would like it to control a digital signal input of 30V. How do I achieve this?
(Edit) To be specifically, the target device pins of interest are pin1(30V), pin2(Ground), pin3(control signal). I need to control pin3's logic level. I don't need fast switching capablity like in PWM.