I'm currently designing a PCB in order to drive relays (5V) with an optocoupler and a Raspberry pi (a CNY74-4 here is the datasheet). So I made this schematic:
My questions are the followings:
- Is my scheme right?
The 5V come from an DC/DC supply which deliver 2.1A and 5V, it's not a problem for the optocoupler and the transistor?
Which CMS transistor can I use in this case?
- Is the optocoupler good for this use?
THanks for your answer!