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.
your describing an optoisolator. There are many differnt types but one type is transister based. The basic Theroy is more light (more current flow), more satuated the transister will be. The light is driving the base of the transister