I need to trigger a camera using a 3.3V signal, the camera is at the end of a 3 meter cable. This camera has two trigger inputs, a 3.3V GPIO input and an optocoupler input with max input of 30V. I guess that the 3.3V signal will not work with a 3 meter cable so I should use a higher voltage. I happen to have a 24V power supply available. So I guess it will be better to trig the camera using a 24V signal. If I'm right, how can I easily convert the 3.3V signal into 24V? The trig frequency is just a couple per second so I don't think I need a especially fast circuit.
EDIT: maybe it would be better to lower the 24V to something lower like 12V or 6V, right?