I want to use the Pi to turn on some strip LEDs at sunset and off at sunrise. I have the code to work the GPIO (pin 12) and the code works on a small 3v LED.
Ultimately I want to use the code to switch a 240v solid state relay, but the 3.3v GPIO doesn't carry enough grunt to make the relay switch. I assume the 5v pin would and therefore would like to create a simple circuit that allows me to use the 5v pin on the Pi to power the relay, and use the programmable 3.3v GPIO pin to control the flow of the 5v through to the relay.
The isolation of an optocoupler appeals to me. Is there one that would do the job without additional transistors and resisters? I've not touched electronics in over 2 decades, so please aim any answers at the dummy/novice level please.
Thanks
