The Two Transistor Latch

Ғылым және технология

The Two Transistor Latch is a classic circuit you should know. A signal at the base of Q1(NPN) causes it to conduct, and since it is connected to Q2(PNP) through it's base, it begins to conduct as well and the circuit is in the on state. A feedback loop from the collector of Q2 to the base of Q1 keeps the current flowing even when the switch is open.
www.pcbway.com/ Get 5 boards in about a week for $22!
Please help support this channel at NO COST TO YOU. If you shop on Amazon, please use this link: amzn.to/3706t6c
I will get a small commission and it costs you nothing.
Learnelectronics Merchandise:
Yes!! I now have merch: teespring.com/stores/learnele... Electronics themed T-Shirts!
----------------------------------------------------------------------------------------------------------------
HEY YOU ABOUT TO POST SOMETHING STUPID:
Yes, I know my hands are large/fat. It's because of a heart condition I suffer from called Congestive Heart Failure. Here's a link to some information about CHF: cle.clinic/2TdS2Ux
One of the symptoms is that it causes fluid retention, mostly in the hands, feet/ankles, and face..
--------------------------------------------------------------------------------------------------------------------
Amazon Store:
If you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ amazon.com/shop/learnelectronics
Please check out www.patreon.com/learnelectronics and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. Your help is appreciated.
---------------------------------------------------------------------------------------------------------------------
Donation:
Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics
---------------------------------------------------------------------------------------------------------------------
Gear I use:
DMM: Owon B33+ - amzn.to/3qQgH20
Power Supply: Matrix 3206 - amzn.to/37C0fL9
Portable O'scope: YEAPOOK ADS1013D - amzn.to/2ZG4G3x
Bench O'Scope:Hantek DSO2D15
- amzn.to/3ir307N
Soldering Station - KSGER T12 - amzn.to/2NuNdby
Multimeter leads: Probemaster - amzn.to/2ZJ0BLK

Пікірлер: 110

  • @techy1661
    @techy16612 жыл бұрын

    This reminds me the old days, when there was no or little coding in electronics. Everything was pure practical. The transistor based servo circuits, logic circuits, only a few ics were used. Today those forgotten circuits seem to be an alien tech for our new engineers, who have never gone through these.

  • @cucumber1389

    @cucumber1389

    2 жыл бұрын

    I'm pretty bad at electronics but this is exactly the reason I refuse to get into coding. It's just so much more fun to actually build the circuit

  • @sgrimm7346

    @sgrimm7346

    2 жыл бұрын

    @@cucumber1389 " My preferred method of programming is a soldering iron"....Steve Ciarcia (Byte magazine). As is mine. I can code, 'basically', and I've held off getting into the arduino gold rush of things, but for practical purposes, have had to dive into it. However, nothing beats putting together a nice component level circuit and watching it come alive. This channel should be a pre-requisite for anyone wanting to learn real electronics.

  • @keithking1985

    @keithking1985

    2 жыл бұрын

    @@cucumber1389 Agreed 1000%

  • @cucumber1389

    @cucumber1389

    2 жыл бұрын

    @@sgrimm7346 its of course fine to learn and use coding in projects if that suits the person, but to my preference I learn more doing physical electronics

  • @iMiilk182

    @iMiilk182

    2 жыл бұрын

    @@cucumber1389 where is the fpga gang at? Coding the physical component

  • @ianbertenshaw4350
    @ianbertenshaw43502 жыл бұрын

    Cool video ! All you need now is a NC switch on the feedback line and you have a push on push off switch . These are great to drive a relay that controls mains power and an added bonus is they are also a no voltage reset switch like what you want on a lathe or milling machine , if the power goes out while you are operating it you don’t want it to start up automatically when the power comes back on .

  • @learnelectronics

    @learnelectronics

    2 жыл бұрын

    Great idea!

  • @tinkering.online2007

    @tinkering.online2007

    2 жыл бұрын

    The NC switch in the feedback line is a wonderful idea, too 👌🏼

  • @bblod4896
    @bblod48962 жыл бұрын

    Cool. Keep the classic circuits coming. Thanks. ☮✌

  • @learnelectronics

    @learnelectronics

    2 жыл бұрын

    More to come!

  • @leilanirocks
    @leilanirocks2 жыл бұрын

    I have forgotten SO MUCH electronics theory over the years. It’s fun to breadboard along with you and get some of it back.

  • @TheUnofficialMaker

    @TheUnofficialMaker

    7 ай бұрын

    Use it or lose it!

  • @seloameEAlorvi
    @seloameEAlorvi Жыл бұрын

    This is precisely what I needed. Thank you for taking time out of your day to make this.

  • @oldwrench4213
    @oldwrench42132 жыл бұрын

    Wonderful explanation.Yes, people need to know these circuits!

  • @Sh4dowHunter42
    @Sh4dowHunter422 жыл бұрын

    These are my favorite short circuit videos.

  • @incxxxx

    @incxxxx

    8 ай бұрын

    First try to build and check if it is works. In my opinion it doesnt work as promised.

  • @Sh4dowHunter42

    @Sh4dowHunter42

    8 ай бұрын

    Oh? I'll try it then.

  • @HansKliever

    @HansKliever

    19 күн бұрын

    nice one: "short circuit" videos... 😅

  • @keithking1985
    @keithking19852 жыл бұрын

    these latch circuits are Very handy to know and have in your arsenal to pull out when needed. THANK YOU PAUL. P.S. add a couple of cap's and another transistor and you can make it come on & off with the push of that button. which is another handy circuit, i hope Paul will show us that one too.

  • @incxxxx

    @incxxxx

    8 ай бұрын

    It does not work!

  • @TRONMAGNUM2099
    @TRONMAGNUM20992 жыл бұрын

    Pretty cool. Latches get confusing for me once you start getting into flip flops. I wish there was an easy way to remember the truth tables for every gate.

  • @patriciocohen8081
    @patriciocohen80812 жыл бұрын

    Excelent classic circuit, great video.

  • @geoffwade8144
    @geoffwade81442 жыл бұрын

    Nice lesson Paul, thanks.

  • @garydirkse9900
    @garydirkse99002 жыл бұрын

    😀nice, now the two transistor latch with set and reset inputs, Q and bar Q outputs plus a buffer, if it pleases you

  • @michaelpadovani9566
    @michaelpadovani95662 жыл бұрын

    Neato! Always impressed by simplistic ingenuity.

  • @keithking1985
    @keithking19855 ай бұрын

    I just love these lessons. "Circuits you should know"😊

  • @didiersee
    @didiersee2 жыл бұрын

    Very well explained and thanks for sharing from Belgium.

  • @zezeA380
    @zezeA3802 жыл бұрын

    I juz realised, u don't need two 4.7K ohms resistor, u can juz share the resistor. Loved the classic circuits, Paul. Keep it coming!

  • @Enigma758

    @Enigma758

    2 жыл бұрын

    Exactly!

  • @shaggigaming
    @shaggigaming2 ай бұрын

    Man you are life saver I search the whole internet for something like this but allI see is rubbish thanks alot 🎉

  • @kfirlavi7674
    @kfirlavi76742 жыл бұрын

    This is the best videos. I really like them. Thanks

  • @jj74qformerlyjailbreak3
    @jj74qformerlyjailbreak32 жыл бұрын

    Notified 3days late. Get it together 25Tube. Great choice on thee most basic circuit anyone should know series. God Bless

  • @cndbrn7975
    @cndbrn79752 жыл бұрын

    Awesome just what I was looking for ..

  • @interbudelblag
    @interbudelblag2 жыл бұрын

    More classic circuits!

  • @richardpope9985
    @richardpope99852 жыл бұрын

    Awesome ! ! That's just what I needed.

  • @gman9275
    @gman92756 ай бұрын

    Perfect Video mate! You're a gentleman and a scholar.

  • @TomZelickman
    @TomZelickman2 жыл бұрын

    Thanks for sharing this! I've been learning quite a bit from your channel. One thing that helps me is when you lead with an example of why a design is used or is important before going through the design. It sort of sets the stage for me as you go through it. Just my personal preference though. Best wishe! - Tom Z

  • @mufeedco
    @mufeedco2 жыл бұрын

    Thank you. Nice simple circuit.

  • @incxxxx

    @incxxxx

    8 ай бұрын

    Nice simple but it does not work.

  • @jameskidd7906
    @jameskidd79062 жыл бұрын

    nice circuit good explaination nothing to say but thank u

  • @incxxxx

    @incxxxx

    8 ай бұрын

    First try to build and check if it is works. In my opinion it doesnt work as promised.

  • @Acein3055
    @Acein30559 ай бұрын

    Good video. A useful circuit when a scr is not around.

  • @Electronzap
    @Electronzap11 ай бұрын

    Cool circuit.

  • @mod_el
    @mod_el2 жыл бұрын

    Very interesting circuit to be applied to model railroading electronics. Thank you! Maybe can you reset the circuit by connecting a push button between the base of NPN and gnd?

  • @oldwrench4213

    @oldwrench4213

    2 жыл бұрын

    Yep. Just use another switch.

  • @Enigma758

    @Enigma758

    2 жыл бұрын

    Yes, and the advantage is that you can use a common normally open switch (as opposed to a normally closed switch on the feedback connection).

  • @gmanshackshack6822
    @gmanshackshack68222 жыл бұрын

    add a nc button to the base of q2 for a reset

  • @TheUnofficialMaker
    @TheUnofficialMaker7 ай бұрын

    Good way to tell if mains circuit went off while you were gone. Lets see some SCR circuits.

  • @lookupverazhou8599
    @lookupverazhou8599 Жыл бұрын

    Clear af. Thanks.

  • @incxxxx

    @incxxxx

    8 ай бұрын

    First try to build and check if it is works. In my opinion it doesnt work as promised.

  • @electronic7979
    @electronic79792 жыл бұрын

    it was a helpful video.

  • @peterdavidson3242

    @peterdavidson3242

    2 жыл бұрын

    Wrong place

  • @kingshahzad78
    @kingshahzad782 ай бұрын

    Thanks Dear❤

  • @matthewwilson5128
    @matthewwilson51287 ай бұрын

    I don't know if anyone ill care to answer this but I'm an educator who needed the circuit for a project and I do not understand the reason for many of the resistors. I get the 1k completely as the current will follow the preferential path once Q1 is open. I breadboarded this on a 3v system. But the reason for the 10k and 4.7k elude me. I know the circuit does not work without them but I do not understand why. I am guessing that the current to the bases needs to almost be miniscule compared to the current flowing through the transistor or adverse effects will happen. Thanks to anyone who takes any time to provide a run down.

  • @leonidvalentinovich5215
    @leonidvalentinovich52152 жыл бұрын

    Изобрёл тиристор, только зачем-то еще 4 лишних резистора добавил.

  • @markclark787
    @markclark7872 жыл бұрын

    I knew that in the 70's good to see again thanks, you need a bigger LED :). How about adding a time delay to let it go off

  • @PoboyMusic
    @PoboyMusic2 жыл бұрын

    The PNP transistor gets turned on when it has a path to ground through the NPN transistor. Is that a correct statement? Kinda new here

  • @tinkering.online2007
    @tinkering.online20072 жыл бұрын

    Thank you for this practical circuit idea ⚡︎ 🔋 🧰

  • @incxxxx

    @incxxxx

    8 ай бұрын

    First try to build and check if it is works. In my opinion it doesnt work as promised.

  • @TheUnofficialMaker
    @TheUnofficialMaker7 ай бұрын

    I ike it, fascinates me how PNP transistors turn on. Tip on how to remember the arrow: NPN: Not Pointing iN

  • @TGDPD
    @TGDPD2 күн бұрын

    How do I stop? Thank you very much

  • @arkufahl
    @arkufahl Жыл бұрын

    I really enjoy your videos. I learn so much from them. Some feedback from a beginner... I see a lot of videos where resistors are put into the circuit, but very little explanation is given as to why, or why the value chosen was chosen. I know in this video, you mentioned using the first 4.7k resistor so you weren't "jamming the transistor open too hard"... but I don't really know what your definition of jamming is in this case. Everyone seems to ALWAYS remind us EVERYTIME why they put a resistor with an LED, but very few discuss it on non-LED components, and it's frustrating. For example, if I want to recreate this circuit, but don't have a 5 volt source, how would I know how 9 volts (for example) affects the 4.7k resistor if it's purpose and value isn't explained? Thanks again for the videos... I could have JUST used this technique in a circuit I made. Very helpful.

  • @commenter4799

    @commenter4799

    9 ай бұрын

    It's worth delving into deeper with a dedicated resource to learn the details because it's a deep topic. A transistor is a current amplifier, so for an NPN knowing there will be about a 0.7 V drop from the collector to the emitter and a 0.2 V drop from the base to the collector assuming saturation mode, you can determine the current going into the base. Then, you can look up the datasheet and see the rated gain which is usually at least 300. So, without the resistors, a small current to the base could result in a large current (300 times larger) from collector to emitter, and could easily destroy the equipment. A transistor is similar to two diodes back to back, so just like an LED can burn out from too much current, so can a transistor. Not that I would ever burn up a bunch of transistors trying to make an H-bridge. The resistors help save power also, as often a large current isn't needed for digital logic. To determine the correct values if you were using a 9V battery, you can use mesh analysis which is it's own topic and far harder with transistors, at least for me.

  • @melplishka5978
    @melplishka59782 жыл бұрын

    Made by mr class himself. Mr Paul. Ty buddy. Always a pleasure. Ty for the Ukraine fund raiser, I have tons of relatives their. One of my uncles had a farm near the Belarusian boarder and was hit in the first day. Their all ok. Most have retreated to the western boarder allies. The ones who stayed to fight are good and optimistic about winning. The soldiers that they fought so far are young and misinformed.

  • @learnelectronics

    @learnelectronics

    2 жыл бұрын

    Im praying for everyone involved.

  • @melplishka5978

    @melplishka5978

    2 жыл бұрын

    @@learnelectronics ty bud

  • @amyneko
    @amyneko Жыл бұрын

    Hey! I have been strugglimg to build this for almost a month now, i calculate the necessary resistances for my transistors, the transistors work separately but i can never quite make it work. what do you think could be the problem? the NPN transistor always conducts for some reason. do you think the collector emitter current exceeds a limit?

  • @incxxxx

    @incxxxx

    8 ай бұрын

    Yes indeed, it doesnt work.

  • @nirupankarki9284
    @nirupankarki9284 Жыл бұрын

    Hello, amazing video, can anyone explain to me if it's possible to make a similar circuit using 2 npn transistors? If not, why?

  • @incxxxx

    @incxxxx

    8 ай бұрын

    First try to build and check if it is works. In my opinion it doesnt work as promised.

  • @arcadebuilder533
    @arcadebuilder5332 ай бұрын

    Honest question, why not just use both transisters as an scr instead of all the resisters and everything? Learned alot from you though, thank you for l what you do!!! ❤

  • @learnelectronics

    @learnelectronics

    2 ай бұрын

    It's just one way to do something. This is a common circuit that you will see in use.

  • @arcadebuilder533

    @arcadebuilder533

    2 ай бұрын

    @@learnelectronics gotcha, thank you 🙂

  • @ScienceGuy60223
    @ScienceGuy60223 Жыл бұрын

    Hey Paul, I built this circuit and when I connect to power the latch is energized before I press the button. If I ground the emitter on the Q2 then it de-energizes and the button energizes the latch as intended. Any idea how I can make it stay de-energized when I connect the circuit to power?

  • @eliasmiranda3503

    @eliasmiranda3503

    Жыл бұрын

    I have the same trouble, think that is for the leakage current param

  • @davidh1187
    @davidh1187 Жыл бұрын

    I used different NPN and PNP transistors (just general purpose ones I had on hand) plus 10k resistors instead of the 4.7k ones (since thats what I had to hand) and found that just touching any of the wires/circuit latched the circuit (LED came on). I assume this is noise and parasitic's. The NPN transistor I used turned on at 560mv and it wasn't hard to create that level of noise just tapping the wires (or pressing on the underside of the breadboard!). In any case I put a 0.1uf cap from the NPN Base and ground and this seemed to solved the issue. Just starting to learn this stuff so not sure if this was inspired or just coincidence....

  • @jeffmeds

    @jeffmeds

    Жыл бұрын

    yes i had the same problem thanks for the fix.

  • @weerobot
    @weerobot2 жыл бұрын

    Cool..

  • @andrewwilson6240
    @andrewwilson62402 жыл бұрын

    With the inverter, the very building blocks of digital electronics

  • @cyberstar251
    @cyberstar251 Жыл бұрын

    can this handle 12 volts?

  • @sinjhguddu4974
    @sinjhguddu49742 жыл бұрын

    Beautiful tutorial. Dog is more interested in classic "Tom and Jerry" bone, perhaps!

  • @incxxxx

    @incxxxx

    8 ай бұрын

    First try to build and check if it is works. In my opinion it doesnt work as promised.

  • @mykedoes4099
    @mykedoes409910 ай бұрын

    👍

  • @peterdavidson3242
    @peterdavidson32422 жыл бұрын

    Would a push button between vcc and the base of q2 shut it off?

  • @learnelectronics

    @learnelectronics

    2 жыл бұрын

    A NC across VCC would do it. Press the switch, interrupt the current and it will go off.

  • @310765
    @31076510 ай бұрын

    Why not use two NPN transistors? (Just learning) 😁👍🏼

  • @michael.a.covington
    @michael.a.covington2 жыл бұрын

    By "N-channel" and "P-channel" I think you mean NPN and PNP. These are not FETs.

  • @aarondixon2244
    @aarondixon22442 жыл бұрын

    I tried to replicate your circuit but can’t get it to work correctly. When I turn on power, the LED comes on and stays on without triggering the button. However, if I unplug the 5v lead from the emitter of the PNP, and then reconnect back in place, the light stays off until I press the button, at which point the circuit works correctly and latches as it should. I used all the same components and values as you and even swapped out the transistors thinking they may have been faulty, but no luck in getting it to work correctly. Any ideas on what could be going wrong?

  • @incxxxx

    @incxxxx

    8 ай бұрын

    Your right.

  • @Brownsy67
    @Brownsy672 жыл бұрын

    What's the reverse of this? How do you turn off the led with the same switch?

  • @learnelectronics

    @learnelectronics

    2 жыл бұрын

    You don't. That would be a toggle circuit. This is a latch.

  • @vijitkothari6502
    @vijitkothari6502 Жыл бұрын

    Can we not make this circuit with only one transistor?

  • @standbyme6395
    @standbyme63952 жыл бұрын

    NPN..Needs Positive Nput...PNP...Put Negative Please...

  • @chrisingram7277

    @chrisingram7277

    2 жыл бұрын

    I like it, now to burn it to my permanent memory :)

  • @hash261k
    @hash261k11 ай бұрын

    Am lost 😢can u direct me to learn the basics

  • @Noconstitutionfordemocrats1
    @Noconstitutionfordemocrats15 ай бұрын

    Still don't know why emitters are called emitters and collectors are called collectors when they interchange between pnp's and npn's.

  • @LitesLAB
    @LitesLAB2 жыл бұрын

    First! Lol Great topic Paul!

  • @incxxxx

    @incxxxx

    8 ай бұрын

    First try to build and check if it is works. In my opinion it doesnt work as promised.

  • @bruceclothier8238
    @bruceclothier82388 ай бұрын

    The problem with this one is that there is no reset.

  • @worvtube
    @worvtube2 жыл бұрын

    Similar behavior as thyristor isn't it?

  • @learnelectronics

    @learnelectronics

    2 жыл бұрын

    Closer to an SCR but yes

  • @worvtube

    @worvtube

    2 жыл бұрын

    I thought they are the same device just called different in some countries. ..or am I wrong?

  • @negatron5888
    @negatron5888 Жыл бұрын

    why not 557,547

  • @strobelightaudio
    @strobelightaudio2 жыл бұрын

    ... and no de-bounce logic required

  • @incxxxx
    @incxxxx8 ай бұрын

    It does not work according to your sketch. Too simple to work correctly. Values of resistors are not correct.

  • @iliapopovich
    @iliapopovich Жыл бұрын

    This is how the RAM stores data, part of the flip-flop. The sad thing is that nowadays in a digital electronics course usually they don't explain to you how the latch is made with relays or transistors, just the truth table. And I was wondering for a long about it. In the past in courses like this everything was explained from the very beginning.

Келесі