Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Remember that with the optoisolator, the forward current needs to be limited to 50mA, by a series resistor. The typical forward voltage of the optoisolator input is 1.2V.
If your 5V and 12V sources share a common ground, then the optoisolator is not necessary. Use a regular NPN transistor instead (don't forget the base resistor).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.