I need to feed 12V to a step-motor that is controlled by Arduino (at 5V). I guess the best way to do it is by using a optocoupler to isolate both power supplies.
The problem is: I only have 1 single optocoupler, so, is there any way I can control the 4 Arduino outputs with a single optocoupler, or do I forcebly need a optocoupler for each?
The problem is: I only have 1 single optocoupler, so, is there any way I can control the 4 Arduino outputs with a single optocoupler, or do I forcebly need a optocoupler for each?