I am doing a project using the output of a Raspberry Pi GPIO pin (3.3V) to power a 12V remote control.
If the two are on different circuits, can I use a transistor to switch on the 12V circuit or do I need to use an optocoupler?
I'm presuming the 3.3V would go into the base and the 12V would be across the optocoupler.
I'm totally new to electronics and have been trying to understand various guides and tutorials and can't work this out.