I have this simple circuit
My concern is that it has of course a kind of memory as the relay is mechanical.
I would like OUT1 selected at power-on, whatever the state before the previous power off.
Will this do the job?
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI have this simple circuit
My concern is that it has of course a kind of memory as the relay is mechanical.
I would like OUT1 selected at power-on, whatever the state before the previous power off.
Will this do the job?
That circuit could damage the transistor since there is no series base resistor. If that doesn't kill it immediately, then the lack of a diode across the relay coil might also do the job.
If you add the base resistor (or use a MOSFET which doesn't need it) and the coil suppression diode then it will work if you always get a clean power-up after a long time off.
If you really, really need it to always reset, I strongly recommend using a supervisory chip that will give you a bulletproof 200ms (or so) output pulse which can drive a transistor.
That will kill the transistor. You need an additional resistor, either in series with the base, or in series with the capacitor. Then it will work. Or, you can replace the BJT with a P-channel MOSFET.