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.
Here is how I would do it. For the simulation, I didn't have a separate model for an emitter and detector, so I just varied the resistance on the input LED on the opto-coupler to simulate modulating the light coupled across the gap in your opto-interupter. The opto-coupler is a reasonable proxy for the opto-interupter.
In your application, just use the 270Ω, or increase it if you can get by with less sensitivity. I set it up so the relay is pulled-in when the beam is broken. Currents and voltages are plotted as a function of the resistance of R2.
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.