I need a circuit that switches OFF

Thread Starter

Ghina Bayyat

Joined Mar 11, 2018
139
Please help me with this
I have two loads let's say two leds
Every led is connected with a tact switch
What i need is when i turn sw1 on and the led1 lights the other led will not be able to emit even if sw2 is on
So sw1 will turn led1 on and prevent led2 from being on and same for sw2 it will turn led2 on and prevent led1 from being on
I tried this idea with two relays and it worked very well with high amp batteries but for this case it is a small device with low budget ( compared to the relays price ) and it works at 4 aa baterries
So the relays is a bad solution
Could you please help me with another simple and cheap way that would work ?

View attachment 301157View attachment 301157View attachment 301157View attachment 301157
 

Ya’akov

Joined Jan 27, 2019
8,521
Attempts to help will be a lot more fruitful if you’d explain the problem this circuit is intended to solve. Your simplified, abstract solution just doesn’t contain enough information to do more than make stabs at answer, and the chances of asking the right question(s) to work out the real situation are slim.

Describe the application and you are much more likely to get useful help.
 

dl324

Joined Mar 30, 2015
16,146
What i need is when i turn sw1 on and the led1 lights the other led will not be able to emit even if sw2 is on
So sw1 will turn led1 on and prevent led2 from being on and same for sw2 it will turn led2 on and prevent led1 from being on
These requirements are in conflict.
 

sghioto

Joined Dec 31, 2017
5,099
These requirements are in conflict.
I don't see a conflict. Meaning if LED1 is ON you can't turn LED2 ON until LED1 is OFF and vice versa.
And now for some reason the link to the attachment in post#1 is not viewable.
Using transistors with SPST switches:
1692911431679.png
 
Last edited:

dl324

Joined Mar 30, 2015
16,146
I don't see a conflict. Meaning if LED1 is ON you can't turn LED2 ON until LED1 is OFF and vice versa.
That isn't what the OP stated.
What i need is when i turn sw1 on and the led1 lights the other led will not be able to emit even if sw2 is on
So sw1 will turn led1 on and prevent led2 from being on and same for sw2 it will turn led2 on and prevent led1 from being on
There is no mention of SW1 having to be turned off before SW2 should be able to prevent LED1 from being on.
 

Thread Starter

Ghina Bayyat

Joined Mar 11, 2018
139
I don't see a conflict. Meaning if LED1 is ON you can't turn LED2 ON until LED1 is OFF and vice versa.
And now for some reason the link to the attachment in post#1 is not viewable.
Using transistors with SPST switches:
View attachment 301171
I don't know why the photos didn't show up
Is there areason why the shottky diode is used here not a normal signal diode ?
I will try this circuit immediately
Thank you so much
 

Thread Starter

Ghina Bayyat

Joined Mar 11, 2018
139
That isn't what the OP stated.

There is no mention of SW1 having to be turned off before SW2 should be able to prevent LED1 from being on.
Sorry if it wasn't clear to you but what i want is written at the end of my thread
So sw1 will turn led1 on and prevent led2 from being on and same for sw2 it will turn led2 on and prevent led1 from being on
I said sw1 WILL PREVENT led2 from being on and sw2 WILL PREVENT led1 from being on
 

sghioto

Joined Dec 31, 2017
5,099
Is there areason why the shottky diode is used here not a normal signal diode ?
I will try this circuit immediately
Thank you so much
The schottky diodes have a lower forward voltage drop which will insure
that transistor Q2 will not conduct when Q1 is ON and vice versa.
 

dl324

Joined Mar 30, 2015
16,146
I said sw1 WILL PREVENT led2 from being on and sw2 WILL PREVENT led1 from being on
And, as I said, your requirements are in conflict.

What is supposed to happen if both switches are on at the same time?

It would have also been helpful if you mentioned that the switches were momentary. Are the LEDs supposed to stay on with a momentary press?
 

radiohead

Joined May 28, 2009
514
Please help me with this
I have two loads let's say two leds
Every led is connected with a tact switch
What i need is when i turn sw1 on and the led1 lights the other led will not be able to emit even if sw2 is on
So sw1 will turn led1 on and prevent led2 from being on and same for sw2 it will turn led2 on and prevent led1 from being on
I tried this idea with two relays and it worked very well with high amp batteries but for this case it is a small device with low budget ( compared to the relays price ) and it works at 4 aa baterries
So the relays is a bad solution
Could you please help me with another simple and cheap way that would work ?

View attachment 301157View attachment 301157View attachment 301157View attachment 301157
Your lack of punctuation makes your question very difficult to understand exactly what you are asking. Without knowing what your intended end state is (assuming it is for an UPS?), you can use a CD4093 quad NAND or configure a 555 to act as a NAND.
 

ThePanMan

Joined Mar 13, 2020
707
The starting scenario:
A) nothing is on.
B) SW1 (momentary) turns LED 1 (unless LED2 is on), and prevents LED 2 from coming on no matter what.
C) SW2 (momentary) turns LED 2 (unless LED 1 is on), and prevents LED 1 from coming on no matter what.
D) missing scenario.
In "D" how do you turn them off?
 

panic mode

Joined Oct 10, 2011
2,524
maybe, but the way i read the original post, exactly that is the requirement. two switches (Sw1 and SW2) activating own loads (LED1 and LED2) - but only as long as other switch is off.

and as mentioned the description of the requirement does have some ambiguity and it can be interpreted differently. this is why i suggested posting that relay circuit. unfortunately link in the first post does not work. and since there is no mention of latching this should be simplest to solve with just switches. something like this

1693066770794.png
 
Top