All time up circuit

i'm new in this domain, but I like a lot. So, I have a question: I have a circuit with 20 LED (series + parallel 50mV, 3V), and I want to stay HIGH all time, except when I get a signal from another circuit. I want to do this without use a microprocessor, but I didnt know how. I try with MOSFET N-Channel, P-Channel, but didn't get solution for my problem.

Thank you and sorry for my bad English. I work also on this ;)

• Can you just use a normally closed push button? Mar 3, 2021 at 20:05
• I wanna do it with a signal, not a button. Mar 3, 2021 at 20:12
• But your question states "when I press a button". Mar 3, 2021 at 20:53
• Oh, sorry, my bad. I wanna use a signal from another circuit Mar 3, 2021 at 20:55
• @SkePsis By "stay HIGH" do you mean "stay ON?" High isn't clear in English, but On would be when talking about LEDs. Also, when you say "get a signal," what exactly does this signal look like? Can you describe it, in detail? Is it single-ended or differential? What source impedance does it have? Is it voltage or current? What's the shape? Etc...
– jonk
Mar 3, 2021 at 22:12

I do not know what 50mV means (isnt 50mA or 50mW?), but for inverting logic just use one transistor more. Zener diode can be avoided if you are sure the Vcc does not exceed 20V (but rather count with 16V).

• Thanks you, can you please explain me why use zenner diode? What exactly do ? Let me explain if i get your circuit: when Q1 is 0( no signal) the current flow in R4 and R5 and turn on M1, and leds get up. When i have voltage on q1, al of voltage " goes to ground" ? And yes, i wanna write 50mA and 3V like led atribute Mar 4, 2021 at 5:39
• Zener diode clamps the voltage to safe level, so if the Vcc is 24V the gate-source voltage of M1 is still 12V.
– user208862
Mar 4, 2021 at 6:18
• Basically you are right, when Sig=0V Q1 is off, at Q1 collector is enough voltage to turn the M1 on. If Sig=5V Q1 is on and at collector Q1 is about 0V what M1 makes fully close. In Mosfets is better to follow voltages beacause they are voltage controlled, the gates take/release currents during voltage transitions (at gates) only.
– user208862
Mar 4, 2021 at 6:40
• Btw, this circuit will works for Sig up to few kHz, for higher switching frequencies the driving of M1 must be rebuild.
– user208862
Mar 4, 2021 at 6:54
• It`s ok for me, i search more information about MOSFETS, is a new subject for me. Also, what program you use for simulate circuit, see voltaje, current and things like this ? Thank you for your time and explication! Have a good day sir! Mar 4, 2021 at 9:14