Making logic gates from transistors

Поделиться
HTML-код
  • Опубликовано: 22 май 2024
  • Support me on Patreon: / beneater

Комментарии • 1,9 тыс.

  • @roryhemmings7860
    @roryhemmings7860 6 лет назад +4692

    the best thing about this guys videos is that he dosent waste time at the begining of the video, he just gets right into it

    • @BillAnt
      @BillAnt 5 лет назад +120

      Gosh I hate those fancy intro graphics a lot of RUclipsrs are using nowadays... Ben just cuts to the chase, it's like a delicious ice cream cone without a stupid wrapper. :)

    • @muhammadosama3358
      @muhammadosama3358 5 лет назад +12

      Exactly.

    • @jetlinux
      @jetlinux 5 лет назад +36

      The best thing is his explanations that make it fun and easy, but yeah, love that he doesn't waste time.

    • @efai
      @efai 5 лет назад +10

      @@BillAnt ​ Gary Ford yeah, he really doesn't waste the time, except he did (7:38 - 8:17), that looks like wasting time to me and explaniation of "XOR" was kinda bad..

    • @BillAnt
      @BillAnt 5 лет назад +28

      @Efai < Well that minute was obviously an editing mistake (or maybe intentional to give us time to grab a snack;), should have deleted it from the final cut. But it's all good in the Ben Eater hood. ;D

  • @zemzemkoko
    @zemzemkoko 4 года назад +2272

    that unedited part at 7:38, pure chill.

    • @gongal6
      @gongal6 4 года назад +586

      Is like when the teaches ends his explanation, and waits for the students to copy what are in the board

    • @bertkutoob
      @bertkutoob 4 года назад +80

      @@gongal6
      Or for you to do a screen grab...

    • @firmman4505
      @firmman4505 4 года назад +3

      ?

    • @VerticalWit
      @VerticalWit 4 года назад

    • @purboyy
      @purboyy 4 года назад +8

      He was grabbing something

  • @aedanyates2612
    @aedanyates2612 4 года назад +648

    Your paper moving skills are off the chart

  • @mutalibgozalov7208
    @mutalibgozalov7208 4 года назад +1549

    0:00 - basic transistor
    2:25 - inverter
    4:14 - and gate
    6:08 - or gate
    7:38 - *NO* gate😀
    8:29 - xor gate
    11:50 - whole list

  • @higigls
    @higigls 4 года назад +1050

    Till date the best explanation of logic gates using transistors. I wish I had got this 18 years back

    • @HelloKittyFanMan.
      @HelloKittyFanMan. 3 года назад +13

      Yeah, not even ITT Tech taught me this! It would've been nice! My parents blew about $20K on that joint!

    • @MarkusBurrer
      @MarkusBurrer 3 года назад +4

      18? 30 years

    • @brudamonas8208
      @brudamonas8208 3 года назад

      There’s a video that explains it very well too, i think the channel is called “the organic chemistry tutor”

    • @knight-errantservices1121
      @knight-errantservices1121 3 года назад

      I did forty years ago from McGraw-Hill. Serendipity: I got into Ben's videos looking to recreate that logic-gates-from-transistors experience.

    • @justinjames3028
      @justinjames3028 3 года назад +10

      @@MarkusBurrer I was about 30 years ago too. Had a professor who was probably a great engineer but not a good teacher. He often said partial credit is why the space shuttle blew up and the Hubble telescope didn't work at first. He would also stare down any student who walked in late to the point where if you thought you were going to be a minute late you would just skip.
      Crazy the difference between a guy like that and someone who actually motivated the students to learn.

  • @g.b.5803
    @g.b.5803 4 месяца назад +22

    What sets your videos apart from others is that you really show all the small steps in between and really break it down excellently. Highly appreciated, excellent work.
    And, to be honest, this way it is much easier to understand than with any fancy digital presentations.

  • @bakshiism
    @bakshiism 17 дней назад +2

    I barely turned 13 years old and this really helped me clear things on how to make gates and what the hell a transistor is. Thank you so much. please continue this work

    • @bakshiism
      @bakshiism 17 дней назад +2

      I also am making a binary calculator with this, if you can, please look into how I can use this to make one.

    • @DefaultFlame
      @DefaultFlame 3 часа назад

      @@bakshiism Watch his homemade 8-bit breadboard computer series, specifically the parts on the ALU (arithmetic logic unit) and the registers.
      Actually, I'd suggest just watching all of it, because it's great, and then the rest of his videos. He's the perfect teacher when it comes to low-level computer engineering.

  • @cfopeter102
    @cfopeter102 3 года назад +99

    Discovering your channel is the best thing that has happened to me in a long time. As an EE student who just got started on learning basic digital logic and circuit design, this has my mind blown. Thank you for your videos!

  • @moiquiregardevideo
    @moiquiregardevideo 6 лет назад +840

    Resistors used on base: 1k
    Resistors used on collectors: 100 ohm
    Transistor model:2N2222
    Led: green at 1.2 volt
    You can use white led at 3 volt
    The modern silicium transistors have an incredible dynamic range. When OFF, the collector/emittor appear like a very high resistor of more than 50 Meg ohm.
    When ON, the same two pins act like a low value resistor of about 0.1 ohm.
    The expression 'semi conductor" is misleading. The material conduct as good as the best metal, copper, in the ON state and act as an excellent insulator when off.
    The first transistor made with germanium were not as good. In the off state, there was a current leaking from collector to emitter equivalent to about 10 k. When the transistor was warm, it leaked like if it was a 1 K resistor. The OFF state was not that strong neither, cold or hot.
    About the NOT gate:
    The explanation is as follow:
    When the transistor conduct, it is able to act like a very low shunt resistor of approximately 0.1 ohm. It can force the voltage to go as low as 0.2 volt, which is much lower than the usual voltage drop of a diode, 0.7 volt.
    If you take a voltmeter, you will measure:
    Emitter = 0 volt
    Base = 0.7 volt
    Collector = 0.2 volt
    The base/emitter pins of a transistor are simply a diode with the usual voltge drop of 0.7 volt.
    A green LED need about 1.0 volt to turn ON. If you apply 0.8 volt, you get no light at all, not even a feint glow. So, since the transistor can lower the voltage to 0.2 volt, the LED is off. However, if you replaced the LED by an incandescent light bulb, you would see a feint red glow when the logic state is "0".

    • @jacksonmandle4774
      @jacksonmandle4774 5 лет назад +21

      Thanks

    • @BillAnt
      @BillAnt 5 лет назад +21

      It should work just fine even with +/- 10% variations, the tolerances are not super critical.

    • @connorwatson7162
      @connorwatson7162 5 лет назад +10

      Is it safe to leave a transistor (im using a mosfet) active for a long period of time?

    • @Pedritox0953
      @Pedritox0953 5 лет назад +4

      Best explanation so far... is better wwy see semiconductors lke dynamic or active resistane than the usual way

    • @istvanszabo5745
      @istvanszabo5745 5 лет назад +31

      The 0 level in a logic circuit is actually not 0 Volts, just close to it.

  • @lucaguitarplayer
    @lucaguitarplayer 6 лет назад +91

    If you are still not a professor please... Became It! Best lesson of transistor i ever heard!

  • @LogikalMindset
    @LogikalMindset Год назад +8

    15 years experience as a control systems engineer ( specifically PLC's)and now I finally get it ...Ty!!!

  • @dakotahrivers6640
    @dakotahrivers6640 3 года назад +17

    dude your videos are perfect. You show the schematics, boolean truth tables, and physical breadboards to prove it all right there.

  • @susiesan
    @susiesan 5 лет назад +71

    I took a computer hardware architecture class in college and we briefly discussed and/or/not gates which I kinda got - your explanation totally cleared it up for me. I definitely had an A-HA! moment watching this video.

  • @mikeshane2048
    @mikeshane2048 7 лет назад +280

    I wonder why isn't this channel popular, This channel deserve more than this

    • @dg-hughes
      @dg-hughes 5 лет назад +4

      Rename it SuperZap or some fancy name so people can brag about watching the SuperZap channel.

    • @hexagonist23
      @hexagonist23 5 лет назад +6

      Anything in universe has what it deserves. Maybe he has to work a little bit harder? Stop making stupid comments like this. Everything has what it deserves. It's called Natural Equality.

    • @fadithedog
      @fadithedog 4 года назад +10

      FurkanSE are you dumb?

    • @rzul
      @rzul 4 года назад +1

      @@fadithedog are you dumb?

    • @littlerussianmax5831
      @littlerussianmax5831 4 года назад +5

      Fadithedog well it seems that FurkanSE got what he deserves right in the comment section, immediately. Pure demonstration of what he callls Natural Equalty.

  • @bertkutoob
    @bertkutoob 4 года назад +191

    And that, my friends, is how computers work!
    Now that I know this, my next challenge is how to get 1,5 billion transistors into a cellphone...
    Could be a bit tricky....
    Jokes aside, as a retired Civil Engineer dabbling for the first time in electronics as a new hobby, this video and style of teaching cannot be overpraised.
    Well done Sir!
    Much appreciated!

    • @kerem54545454
      @kerem54545454 4 года назад +2

      bertkutoob my challenge is how computer monitor is able to show us the output on the screen

    • @radeklew1
      @radeklew1 4 года назад +16

      @@kerem54545454 Good news! This channel has two videos in which he makes a graphics card!

    • @jeffreyogodogun285
      @jeffreyogodogun285 4 года назад +1

      Yes. Now it's time to figure out how billions of transistors in smartphones work!

    • @ms-dosguy6630
      @ms-dosguy6630 3 года назад +1

      @@jeffreyogodogun285 Its called integrated circuits

    • @bertkutoob
      @bertkutoob 3 года назад +2

      @@gormenfreeman499
      That, I understand is how it's done...
      Clever people, these computer scientists...

  • @wajideus4591
    @wajideus4591 3 года назад +8

    For those who are interested, his explanation of how a transistor works is based on conventional current; which is the reverse of the actual electron current. You can imagine the electrons building up on the emitter with nowhere to go because of the depletion zone between the emitter and collector. when the circuit between the base and the positive terminal of the power source is closed, the electrons move from the emitter through the base to the positive terminal and in the process are also able to cross the depletion zone to the collector.

  • @MamoonSyed
    @MamoonSyed 6 лет назад +18

    This is the simplest and most intuitive explanation of a transistor I have ever seen. Very good work.

  • @TheLeAlan
    @TheLeAlan 4 года назад +139

    Finally a video where I could clearly understand what transistors actually do and why are they so important. Thank you!

    • @lookupverazhou8599
      @lookupverazhou8599 Год назад +1

      I didn't know they were just switches until a few days ago. My mind blew clear open. Boolean logic in a miniature device simply would never have existed if it weren't for these things.

    • @herrbonk3635
      @herrbonk3635 Год назад +1

      @@lookupverazhou8599 They aren't switches really. Physically, bipolar transistors are continous (exponential) current amplifiers. Using them as binary non mechanical on/off switches is just a special case abstraction.
      Their primary usage were/are in various forms of (often audio) amplifiers, oscillators, comparators, etc. Such as for radio receivers, tape recorders, TVs, instrumentation, and so forth.

    • @lookupverazhou8599
      @lookupverazhou8599 Год назад

      @@herrbonk3635 Why do they amplify, but an additional junction doesn't?

    • @herrbonk3635
      @herrbonk3635 Год назад

      @@lookupverazhou8599 Additional junction? A transistor has two junctions, the base-emitter and base-collector. It is like two diodes with a common anode or cathode (pnp or npn). In these bipolar transistors the amplification is a result of a pretty complex interaction between minority versus majority charge carriers (holes and electrons) forming and drifting in (and due to) the electric fields applied. Hence the name, bipolar.
      It's easier to explain a field effect transistor though, because it works very much in analogy with an electron tube. By applying a voltage at the gate, the resulting electric field forms a thin region (more or less) depleted of carriers. This adjust the amount of current that can flow from source to drain at a certain source-drain voltage. So a field effect transistor is more like a voltage controlled resistance, while a bipolar transistor acts more like a current source or "generator", controlled by a much smaller base-current.

  • @stuffoflardohfortheloveof
    @stuffoflardohfortheloveof 2 года назад +11

    Just came across this vid by complete accident. Absolutely brilliant. I’m in my 50’s now and learnt logic gates almost 40yrs ago during computer studies BUT was never shown how to use them in practise with electronics so I never made the connection between 0 and 5v etc. Electronics ended up as a bit of a dead end subject for me and I went in a completely different occupational direction. I’m now retired and really enjoying getting back into electronics and have thought about trying to work these logic gates out for myself. You’ve not only beaten me to it but explained it really well. Thanks very much! 👍🙂🏴󠁧󠁢󠁷󠁬󠁳󠁿

  • @darrylbartlett2713
    @darrylbartlett2713 Месяц назад +1

    In the military I worked on 60's era launch control system. All of the logic was built like this on postage stamp sized boards.

  • @mohammedal-alaw6249
    @mohammedal-alaw6249 5 лет назад +94

    this is actually called RTL logic it was shortly replaced by TTL gates because of the high current consumption!

    • @moiquiregardevideo
      @moiquiregardevideo 3 года назад +22

      Actually, the main problem of RTL is low signal. Each time a binary value defined as binary 0 for 0 volt and binary 1 for 5 volt go thru a RTL chip, the designer need to recondition the output with external amplification.
      TTL simply add transistors on the chip, thus making the output as strong as the input.

    • @orppranator5230
      @orppranator5230 2 года назад +1

      Christian Gingras So, semantics?

    • @a-rod6336
      @a-rod6336 2 года назад +2

      @@orppranator5230 Yep, meaning matters. Shocking stuff.

    • @supernova5434
      @supernova5434 2 года назад +2

      And then being replaced by CMOS eventually

    • @ArneChristianRosenfeldt
      @ArneChristianRosenfeldt 8 месяцев назад

      Looks more like transistors, resistor logic to me because the inputs are not connected to a resistor. Also in an IC a resistor is much more expensive than a diode or even a transistor.

  • @TheDJRiffin
    @TheDJRiffin 3 года назад +5

    I loved the silence around 8 minutes.
    It felt as though he was giving us time for it to sink in.
    Brilliant!

  • @JacobPlays136
    @JacobPlays136 3 года назад +4

    I’ve been trying to understand transistors and logic gates for months. This video just did it in 13 minutes. Great video!

  • @Mayank-mf7xr
    @Mayank-mf7xr 4 года назад +1

    these premade neat models are the key to completely understanding this . even if i myself dont have such circuit made for me as i study , i see it working as it is intended and the circuit diagram confirms this .
    so great . your effort is phenomenal . thanking you from the bottom of my heart . thanks

  • @simong1666
    @simong1666 3 года назад +65

    I love these videos. Ben has a special talent for being able to speak very quick and clearly at the same time. It's like speed reading interesting content

    • @koolv6210
      @koolv6210 6 месяцев назад

      13min- see the diagram & circuit connection is same?
      Diagram & circuit connection same? Diagram looks like incomplete 😅

    • @masterkamen371
      @masterkamen371 4 месяца назад

      ​@@koolv6210I don't see how any of the shown diagrams are incomplete?

  • @matchileon6102
    @matchileon6102 5 лет назад +75

    This is more helpful than my stupid college lecture.

  • @xqqqme
    @xqqqme 4 года назад

    Almost 5 years after this video was uploaded I stumble upon it during the process of trying to learn about transistors, microprocessors and how computers work...and this video manages to get this basic gate info across to me even better than the fabled book "But How Do It Know?" which had me glassy-eyed by page 36! Well done, sir!

  • @johndeluca230
    @johndeluca230 4 года назад +2

    Flashback to building these in an undergrad Computer Logic course I attended back in 1985...
    Thanks for sharing! I enjoyed it!

  • @michaelthebeast6555
    @michaelthebeast6555 3 года назад +156

    He’s so good at explaining I’m only 11 and I understand

  • @absurd_derpeta1993
    @absurd_derpeta1993 3 года назад +8

    6 years late, but this video really helped me understand how transistors work in logic gates! Thank you so much :)

  • @amatoriorupertleiman4154
    @amatoriorupertleiman4154 Год назад +5

    I just learned what a basic transistor is in just 2 minutes, like veryyyyyy clear and concise, compared to when I was in out online class.

  • @Pozydrive
    @Pozydrive 4 года назад +34

    THANK GOD, I FINALLY GET IT! I've been trying to learn this for a few months already, you showing the schematics as well as demonstrating it made it click for me!

  • @scoopasoop6052
    @scoopasoop6052 3 года назад +17

    I love how consice he is, his understanding, and his presentation, is this guy a professional teacher or something?

    • @southernkatrina8161
      @southernkatrina8161 3 года назад +4

      He used to make videos and write math exercises for Khan academy. There's a vid of him being interviewed about it.

  • @davidrosset4457
    @davidrosset4457 3 года назад +1

    I was finally able to make the XOR gate through your video. Such an elegant design. Thank you.

  • @VirginiaGreco_Scrapbooking
    @VirginiaGreco_Scrapbooking 2 года назад +9

    I studied all this at the University (I am an electronic engineer), but I am still really enjoying watching these videos of yours because you explain very clearly. Better than many of my professors of the times. Congrats! :)

    • @taipo101
      @taipo101 4 месяца назад

      Totally agree. Got my electronics degree in 1975 Bolton UK. This guy is so chilled unbelievably makes everything super simple and excellent voice too

  • @sevfx
    @sevfx 7 лет назад +679

    You got a pretty long silent part from 7:40 - 8:17 I think you forgot to make a cut ;)

    • @pyromen321
      @pyromen321 6 лет назад +107

      Severin I was laughing through that whole goofy section

    • @mattshu
      @mattshu 6 лет назад +67

      I came to comment the same thing :P It really broke the fourth wall for half a minute

    • @draco5991rep
      @draco5991rep 5 лет назад +51

      It was kinda akward and unsettling :'D

    • @GoatOfTheWoods
      @GoatOfTheWoods 5 лет назад +140

      i actually liked it, it's like listening to a teacher who at some moment browses his files to look for what to talk about next

    • @nicolasnicolas5238
      @nicolasnicolas5238 5 лет назад +51

      I liked it too, I felt it was some kind of asmr

  • @JohnVance
    @JohnVance Год назад +20

    I don’t have the cash or time right now, but I’m going to buy and build all of your kits, this is addicting

    • @Enderbro3300
      @Enderbro3300 Год назад +1

      Not to take away from him but you can also just like, buy a pack of 100 transistors off Amazon for like 5 bucks. But then you also need the breadboard and wires etc which I'm sure his kit has. But if you wanna expand electronics is one of the cheapest hobbies I have XD

    • @adbrooks95
      @adbrooks95 Год назад

      Roughly $45 and you can get an Elegoo kit with a breadboard, arduino uno r3 and components and jumpers including a couple transistors. I just got one and it's great so far!

    • @lookupverazhou8599
      @lookupverazhou8599 Год назад

      ​@@Enderbro3300 I just spend over $400 on a bunch of electronics stuff, huhu.

  • @426F6F
    @426F6F Год назад

    This is such a fantastic, concise demonstration of the concept of logic gates using transistors! Thanks so much, Ben!

  • @muhammadamirkhan3779
    @muhammadamirkhan3779 7 месяцев назад +1

    Excellent presentation/demonstration to easily understand logic gates

  • @cesarrodriguez-tw9bp
    @cesarrodriguez-tw9bp 7 лет назад +13

    I've seen only two of your videos, and it feels like a complete ILLUMINATION !! Now I understand how logic gates are made with transistors, the way they look physically, and how they are inside the DIP IC's ... thank you SO much. I had lost the interest on the subject but it rose again now that I'm watching your videos because now I understand. Your videos are clean, brief, on point and very detailed. THANK God you are making these videos! YOU HAVE the talent of teaching, God BLESS YOU MAN!! for real!!

  • @DELLISTX
    @DELLISTX 4 года назад +7

    I don't think you know just how GOOD this video is, as I been thinking about all the circuits I could do, and I can just see it.It was just an excellent way to teach it. I have been thinking about this for hours. I am very good at electronics and you just did a super job. You could change some kids life, by just waking them up, making them think, opening a whole new world! WELL DONE!!

  • @robertwilsoniii2048
    @robertwilsoniii2048 Год назад

    What makes this so dope is you include both analogue and digital circuits at the same time for a complete picture of how everything works with no deception or gaslighting involved. Often digital logic is taught by saying 'you don't need to know the implementation' or 'it's not my job to explain analogue circuits.' And analogue circuits are taught by saying 'it's not my job to build logic gates, it's to show the science of transistors.' etc. So people end up with a huge hole in understanding that is exactly this video. You do it the right way, providing the analogue circuit as the primary foundation with its truth table as a tertiary feature.

  • @scott7695
    @scott7695 2 года назад

    I wish you taught me my first year of electrical engineering school 🙂 So much time spent working formulas calculating all kinds of stuff and zero time spent just telling you how the components work and what you could do with them....love the practical explanation!

  • @HaloWolf102
    @HaloWolf102 3 года назад +4

    Everything up till this video, we covered in my Digital Electronics class, but this is something that was NOT covered, and it a very important in understanding how all the gates work.
    PLTW has failed me as a student, or the teacher did not follow the course right. Either way, it's taken me 5 years to finally learn the truth on how these work. Thank you education system, you sure did me a great service.

    • @ms-dosguy6630
      @ms-dosguy6630 3 года назад

      That's is quite unheard of. Surprised they *didn't* go over this.

  • @basztarek
    @basztarek 8 лет назад +15

    So far this is the best video explaining logic gates. I appreciate the explanation, the schematics, as well as that you have the gates built on a breadboard, so the users can pause the video and try to rebuild it by themselves.
    Thank you!
    EDIT: I think you had something wrong with the OR gate, mine didn't work that smooth, didn't know why. I worked it over with another video and it works though. While these gates are good for demonstration purposes, the wiring could be optimized by linking the transistors without jumpers.

  • @guyconiglio8223
    @guyconiglio8223 6 месяцев назад +1

    I've been looking for someone to explain these gates forever - this is so helpful.

  • @danieljensen2626
    @danieljensen2626 4 года назад +1

    In my digital electronics class we learned how to build modules all the way up to a microcontroller starting just from logic gates (although we did it through coding an FPGA, not with individual gate chips on breadboards), but for some reason we skipped the initial step of building gates from transistors. Not sure why when it obviously only takes 15 minutes to explain. Thank you for filling that gap in my knowledge.

  • @jyotiraina7682
    @jyotiraina7682 8 лет назад +16

    Your video is just amazing. The explaination so crystal clear. Thanks as it helped me built my physics project on logic gates.

    • @Engineer9736
      @Engineer9736 5 лет назад

      I don’t think electronics is the same study as physics. Physics is about the behavior of physical matter. Electronics is a complete different area.

    • @prezadent1
      @prezadent1 5 лет назад +3

      @@Engineer9736 Shut yo' mouth foo'

    • @Jupiter__001_
      @Jupiter__001_ 4 года назад +1

      @@Engineer9736 Wrong. Electronics is a subset of physics, and originates from physics. We had to study electronics as a part of the electricity topics in physics all through secondary school.

  • @axeldaguerre8838
    @axeldaguerre8838 4 года назад +5

    What you do is exactly what i want to learn, i will definitely pay on patreon if i see you are consistent (it is my first video from you)

  • @EmptyGlass99
    @EmptyGlass99 4 года назад +2

    By far the best explanation of how transistors work I've ever seen. I wish I could 'like' it more than once. The XOR gate in particular was a eureka moment for me. Thank you.

    • @0MoTheG
      @0MoTheG 4 года назад

      He never did explain how a transistor works.

  • @Replied_ByMeatr1der5
    @Replied_ByMeatr1der5 2 года назад +1

    You sir are my saviour. Finally someone EXPLAINED how this thing really works instead of giving me false, useless and over"simplified" examples of how the gates work

  • @EriAirlangga
    @EriAirlangga 6 лет назад +23

    Finally, a minimal TTL diagram that really works! Thank you!

    • @0MoTheG
      @0MoTheG 4 года назад +1

      There was no TTL in the entire video.

    • @silviam.7195
      @silviam.7195 4 года назад +1

      This is RTL - Logic. :-)
      Because there no Multi-base Transistor in use...but the gates working nice using a normal light bulb and the npn Transistors 2N3055 to realize the switches, because more current in flowing through collector-emitter circuits.

    • @gman76utube
      @gman76utube Год назад +1

      WTF is everyone talking about, TTL and RTL were logic gates from the 1970’s and 80’s. Virtually all logic gates produced today are CMOS which is much simpler to explain than bipolar transistors.

    • @ArneChristianRosenfeldt
      @ArneChristianRosenfeldt 8 месяцев назад

      @@gman76utubethe symbols in the video are for bipolar transistor, not MOS

    • @ArneChristianRosenfeldt
      @ArneChristianRosenfeldt 8 месяцев назад +1

      @@silviam.7195doesn’t TTL use multi-emitter. Each input goes through a common base amplifier. Common only means that the lead of the transistor is connected to a common wire. The semiconductor does not need to connect them in a monolithic fashion ( like the base connects emitter and collector ).

  • @ThatGuyDownInThe
    @ThatGuyDownInThe 4 года назад +10

    my mind is truly blown on so many levels. Man I love this stuff so much.

  • @kworgz
    @kworgz 5 месяцев назад +1

    Just watched many intro to logic gate videos.....Logic concepts are as simple as they can be but their purpose didn't click until I saw a physical representation of them like you've done here. Thank you!

  • @jeanjean2152
    @jeanjean2152 3 года назад

    Simple, clean, well structured ... It's just awesome, thank you !

  • @dowskivisionmagicaloracle8593
    @dowskivisionmagicaloracle8593 5 лет назад +18

    Incredible! This is the knowledge gap I've had when it comes to ICT.

  • @Thereadingmusiclover
    @Thereadingmusiclover 4 года назад +4

    I'm pretty sure that I've learned more from you about electronics than both my electronics and microprocessor class in college combined! You're very good at explaining how it all works! Keep it up!

  • @vyorkin
    @vyorkin 4 года назад

    Your videos are really inspiring and motivating. Thanks for all your effort!

  • @TheDeepshock
    @TheDeepshock 3 года назад +1

    I have to leave a comment here. I have been looking for an intuitive explanation on how XOR gate works at circuit level for very long time as I have not electronics background. I finally get it today. The sense of understanding is great. Thank you Ben.

  • @swedensy
    @swedensy 4 года назад +8

    Second schematic uses voltage devider. There is still voltage across diode, just not enough to light shit up.

    • @derikbates961
      @derikbates961 2 года назад

      Thank you for explaining this. I was wondering why it "wasn't" getting voltage.

  • @mulindwajoseph5176
    @mulindwajoseph5176 4 года назад +3

    The best science videos I've found

  • @williampreston8351
    @williampreston8351 2 года назад

    Was having trouble on finding a video on the internals of logic gates and you nailed it. This made perfect sense. Thank you!

  • @farziverse4209
    @farziverse4209 2 месяца назад +1

    This was really brilliant and simple. I am thankful, guys like you are on the internet

  • @Mizar88
    @Mizar88 8 лет назад +4

    bravo! great explanation!

  • @srduke
    @srduke 5 лет назад +8

    It was at that moment that I actually learned how a computer really works!

  • @milliosmiles5160
    @milliosmiles5160 4 года назад +2

    A most beautiful and complete explanation - thank you.

  • @andrewshirley3260
    @andrewshirley3260 2 года назад

    I like your easy-to-get explanations of transistors as logic gates. Thank you.

  • @hercion
    @hercion 4 года назад +5

    A minimal transistor-count Toggle Flip Flop would be very interesting !

  • @jamesarmstrong3000
    @jamesarmstrong3000 4 года назад +38

    I had a difficult time with transistors, cuz I'm a beginner. After watching your video, I have at least vaguely understood them.

    • @aidanc4719
      @aidanc4719 4 года назад +2

      learn.sparkfun.com/tutorials/transistors/all
      I found this article really helpful :)

    • @ricj9594
      @ricj9594 3 года назад +1

      @@aidanc4719 thnak you! hugs from são paulo, brazil

    • @yaroslavpanych2067
      @yaroslavpanych2067 3 года назад +2

      Speaking the truth, he showed only half of functionality transistors provide - their saturated and cut-off states. Primarily transistors are current amplification devices, and cutoff and saturated are just edge-cases of that process. "Funny" part comes when we stop talking about DC and start talking about AC and here we meet several more dozens of characteristics diagrams for transistors.

  • @LeonDerczynski
    @LeonDerczynski 4 года назад

    one of my favorite editors. good fx

  • @normantyson5314
    @normantyson5314 8 месяцев назад +1

    It is fairly easy to design circuits w/ logic gates, but it is interesting to see simple designs that are necessary to build your own logic. All are straight forward until reaching the exclusive or gate. Left on my own, I would have a working design w/ 7 transistors, but your clever design does it in 5. Again, you are the master.

  • @SebastianOlczak
    @SebastianOlczak 4 года назад +3

    Thank you. Great lesson how the logic works behind the scenes.

  • @JimKinkade
    @JimKinkade 8 лет назад +365

    Thank you. I'm using this information to totally rewire my computer.

    • @Calvinatorzcraft
      @Calvinatorzcraft 8 лет назад +46

      That's nearly impossible

    • @FutureAIDev2015
      @FutureAIDev2015 7 лет назад +14

      😮 You have WAY more patience than me!

    • @abdelrahmangamalmahdy
      @abdelrahmangamalmahdy 7 лет назад +41

      Jimmy Kinkade
      LMAO You gotta have an electron microscope to get to see the inner wiring of your CPU

    • @KuraIthys
      @KuraIthys 7 лет назад +55

      You're working on the assumption that he's talking about an off the shelf computer that consists mostly of Integrated circuits.
      If he means a homemade computer created using discrete logic or any of a number of techniques to create custom circuitry (many of which are described on this channel) then it's a perfectly reasonable thing to do.
      You can make your own CPU using anything from transistors, to logic gate IC's to memory chips (memory can replicate any function it has enough pins for. Something with 8 data lines and 8 address lines can replicate any discrete logic function that has 8 inputs and 8 outputs. You can even theoretically build an entire processor using this alone.), and of course you could use an FPGA if you need very high performance and complexity and something that's practical for frequent use.
      Did you know the Amiga's custom chipset was made in prototype form using discrete logic and stuff like this? A bunch of massive circuit boards full of components, which in the final thing reduces to just 3 integrated circuits. Nevertheless the prototype was made of discrete components, and it worked the same as the final thing, though it was more failure prone.

    • @abdelrahmangamalmahdy
      @abdelrahmangamalmahdy 7 лет назад +9

      KuraIthys, with respect.. nobody makes a computer using discrete transistors, it would take thousands of transistors to make a simple 8 bit computer.. also, how can you expect this video is helpful for someone who has already made a homemade computer with discrete transistors !!

  • @georgemorgan8683
    @georgemorgan8683 2 года назад

    Best explanation of how to use transistors to make logic gates on RUclips.

  • @danielarmijo7099
    @danielarmijo7099 3 года назад

    Man, this was just so concise and exactly what I needed. Couldn't find anything else like it for this specific topic 👍

  • @herbertotto4725
    @herbertotto4725 3 года назад +4

    About 50 years ago - Vietnam War era. We had several books of circuit diagrams and others with logic diagrams built with basic gates like these. Hawk Missile guidance control systems. All "Top Secret" back then. It would all fit on a grain of sand now. But back then it was big stuff - actually useful when we could keep it running. Lots of breakdowns. That's where I came in. (smile).
    After service, I used to keep a small breadboard of logic circuits on my desk to remind me of those times. I'm 75 years old now - still breathing.

  • @risingmermo
    @risingmermo 3 года назад +3

    duuuuuudeeeee, i was stuck for sooooo long on the very first circuit. (literallly for like 2 hours).turns out i had the transistor the wrong way round

  • @mike.lisenko
    @mike.lisenko Год назад

    Certainly one of the more accessible explanations suited for younger learners Great job!

  • @100vg
    @100vg 8 месяцев назад

    Excellent on building Logic Gates with NPN BJTs. Very clear and precise. Thank you!

  • @eliastafese3790
    @eliastafese3790 8 лет назад +16

    YOU ARE THE BEST! Vefy nice EXPLANATION

  • @michelelandolfi8860
    @michelelandolfi8860 4 года назад +8

    I was laying in bed, thinking about precisely this, and i find it on my raccomandation 5 minutes after. Damn

  • @Kylefassbinderful
    @Kylefassbinderful Месяц назад +1

    What I've noticed in the XOR gate diagram that you made is that it's two gates that work together. An OR gate and an AND gate. The OR gate is the primary gate while the AND gate is more of a secondary. The AND gate just adds more functionality to the OR gate.

  • @tommyleeroth3056
    @tommyleeroth3056 Год назад

    Amazingly simple and conclusive reference video. Love the content!!

  • @Zahlenteufel1
    @Zahlenteufel1 7 лет назад +35

    his videos are so low-tech but so good

  • @FutureAIDev2015
    @FutureAIDev2015 7 лет назад +5

    I have an idea for the XOR gate. To save power, you should put a transistor in series with the two transistors that basically make a NAND gate. Then, connect the base of that transistor directly to both inputs. This ensures that if A or B is on, the circuit is on, but if neither A nor B is on, no current flows at all.

    • @FutureAIDev2015
      @FutureAIDev2015 7 лет назад

      Put the transistor mentioned before between the positive rail and the first transistor of the NAND gate.

    • @FutureAIDev2015
      @FutureAIDev2015 7 лет назад

      +Matthew Ferrie Before the resistor.

    • @andrewrobertson1473
      @andrewrobertson1473 5 лет назад +2

      My apologies for responding to a two-year-old comment, but for anyone reading this now:
      Tying both inputs to the base of a transistor would not work as you've now shorted the two inputs in question. If the inputs are driven by opposing logic levels (ie, one high and one low), you've short-circuited 5V, and the circuit could get very hot very fast. Or just cause your microcontroller to force shutdown to avoid cooking itself. In general, I wouldn't recommend it.

  • @AkshaySinghJamwal
    @AkshaySinghJamwal 2 года назад

    I love your channel, it's the best resource as an electronics refresher course.

  • @beno2782
    @beno2782 6 месяцев назад +1

    What i didn't get in school in several hours, I get it here in few minutes, thank you very much! 😊

  • @Daffydubs
    @Daffydubs Год назад +3

    I appreciate you so much thank you!

  • @mericet39
    @mericet39 3 года назад +3

    I wasn't much good at electronics at school. If I'd had Ben Eater as a teacher, things might have been very different.

  • @worldofelectronicsandprogr1128
    @worldofelectronicsandprogr1128 2 года назад +2

    Hello! I was really seeking for this kind of tutorial cause I wanted to make logic gates only from transistors and I found something on the net, but it wasn't very clear to me. So this tutorial was perfect for me since I understood the concepts of how the transistors function and how a logic gate actually work in practice. Only the XOR gate didn't work for me, because I didn't understand exactly the idea of two A and B inputs and how are they connected to the switches. Otherwise, A+ for the tutorial! 👏👏👏👏

  • @johneagle4384
    @johneagle4384 5 месяцев назад +1

    Thank you. For a newbie like me, these videos are gold.

  • @atenakitabi3769
    @atenakitabi3769 4 года назад +5

    Oh God wish I had found this video 2 years ago

  • @privatefactory1173
    @privatefactory1173 5 лет назад +7

    One of the best videos on the web. But I keep wondering why everybody in every video and tutorial keeps repeating that when transistor is on all the all current flows through it and because of that the potential difference between collector and emitter drops to 0, effectively meaning that both of LED's legs are connected to positive side. That's not correct, transistor is not a superconductor, it still has a resistance when it's on, current does still flow through LED, the reason why LED turns off is because current becomes way way too small which is not enough to light up the LED.

    • @southernkatrina8161
      @southernkatrina8161 3 года назад

      It needs 0.7v to light up.

    • @derikbates961
      @derikbates961 2 года назад

      Thank you for explaining this. I was wondering why it "wasn't" getting voltage.

  • @ykazykenov
    @ykazykenov 2 года назад

    I watched your videos regarding networks before. How happy I was to find your videos once again for another topics I'm interested in

  • @dahlavibez5726
    @dahlavibez5726 Год назад +1

    Master Ben, your a true guru in these videos man, I'm able to expand my projects after your straight forward teachings . Bless you sir

  • @thiccbonkus
    @thiccbonkus 7 лет назад +6

    +Ben Eater Great video!! Can you provide some specs on the transistors and resistors you've used in this video? My dad and I tried making your circuits and we couldn't figure out the parts you used from the video.

    • @sarahzengl1121
      @sarahzengl1121 7 лет назад +1

      i think he uses an 452 2N3904 transistor

    • @MichaelFJ1969
      @MichaelFJ1969 7 лет назад +2

      Any cheap NPN transistor will work. I'm using BC547.
      All resistors connected to base must be around 1 kOhm or larger.
      All resistors connected to collector can be around 200 Ohm (+/- 50 %). Too small, and the LED burns. Too large, and the LED does not light up.

  • @mannycalavera121
    @mannycalavera121 4 года назад +3

    I loved electronics as a child, I was always disassembling broken electronic for components, making things, but never had mentor or support and this was pre internet (too poor to buy a computer anyway) pre maker space days so outside local library I was out of luck.
    Now as an adult with young children of my own I'm picking back up these hobbies in the hopes that if my son's so choose, I can perhaps help them I whatever interests of endeavours they choose.
    Guess thats my long winded way of thanks for making these videos.

  • @muhammadrafiqulislamkhan6994
    @muhammadrafiqulislamkhan6994 4 года назад

    simply sweet and easy for not, and, or gate demonstration. Thank you.

  • @jcanelo86
    @jcanelo86 4 года назад +2

    I wish I had this explained like this when going through college. Thank you

  • @bfhaha
    @bfhaha 8 лет назад +4

    4:18 You had better draw a resistor in front of the transistor in the schematic of the AND gate.