I made a small circuit (with a breadboard) which turns a small 12V LED ribbon (a few mA) when the Pir sensor detects a motion.
The circuit is made of:
It works like a charm expects the relay makes a "click" sound (I know it normal :) when it's switched on and it needs a 5V power supply (while the LED ribbon and the PIR needs 12V).
Now, I want to optimize the circuit. I searched on the Internet and I found two components that I could use: MOSFET and optocoupler.
The first one, the MOSFET, I know a lot about it now. I read a lot of documentations. I need a logical N MOSFET in my case.
Then I just found today a new component: an optocoupler but I don't know a lot about it.
I need something that can be
opened turned on at 3.3v and can provide cope with at least 12V (I know it needs to be higher) and more than 4 Amps.
What would be the "best" between a MOSFET and an optocoupler (in my case)?