Making logic gates from transistors

Support me on Patreon: / beneater

Пікірлер: 1 900

  • @roryhemmings7860
    @roryhemmings78606 жыл бұрын

    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 жыл бұрын

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

  • @muhammadosama3358

    @muhammadosama3358

    5 жыл бұрын

    Exactly.

  • @jetlinux

    @jetlinux

    5 жыл бұрын

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

  • @efai

    @efai

    5 жыл бұрын

    @@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 жыл бұрын

    @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

  • @mutalibgozalov7208
    @mutalibgozalov72084 жыл бұрын

    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

  • @rituchandra6325

    @rituchandra6325

    4 жыл бұрын

    7:38 NO gate lol XD

  • @mathewtallen3190

    @mathewtallen3190

    4 жыл бұрын

    Yes 7.38 no answer

  • @HelloKittyFanMan.

    @HelloKittyFanMan.

    3 жыл бұрын

    What about Watergate, Inflategate, and Bendgate?

  • @suryanshdaspatnaik3474

    @suryanshdaspatnaik3474

    3 жыл бұрын

    @@HelloKittyFanMan. XD

  • @ash7324

    @ash7324

    3 жыл бұрын

    NO!!!!!!! >:@

  • @aedanyates2612
    @aedanyates26124 жыл бұрын

    Your paper moving skills are off the chart

  • @glitch349

    @glitch349

    4 жыл бұрын

    69 likes... nice

  • @dramforever

    @dramforever

    3 жыл бұрын

    Probably just moved the chart

  • @HelloKittyFanMan.

    @HelloKittyFanMan.

    3 жыл бұрын

    @@glitch349: No more, heh....

  • @johnwick5901

    @johnwick5901

    3 жыл бұрын

    It's actually on the Chart.

  • @HelloKittyFanMan.

    @HelloKittyFanMan.

    3 жыл бұрын

    HA, @@johnwick5901!

  • @higigls
    @higigls4 жыл бұрын

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

  • @HelloKittyFanMan.

    @HelloKittyFanMan.

    3 жыл бұрын

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

  • @MarkusBurrer

    @MarkusBurrer

    3 жыл бұрын

    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 жыл бұрын

    @@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.

  • @can_uysal
    @can_uysal4 жыл бұрын

    that unedited part at 7:38, pure chill.

  • @gongal6

    @gongal6

    4 жыл бұрын

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

  • @bertkutoob

    @bertkutoob

    4 жыл бұрын

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

  • @firmman4505

    @firmman4505

    4 жыл бұрын

    ?

  • @VerticalWit

    @VerticalWit

    4 жыл бұрын

  • @purboyy

    @purboyy

    4 жыл бұрын

    He was grabbing something

  • @moiquiregardevideo
    @moiquiregardevideo6 жыл бұрын

    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 жыл бұрын

    Thanks

  • @BillAnt

    @BillAnt

    5 жыл бұрын

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

  • @connorwatson7162

    @connorwatson7162

    5 жыл бұрын

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

  • @Pedritox0953

    @Pedritox0953

    5 жыл бұрын

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

  • @istvanszabo5745

    @istvanszabo5745

    5 жыл бұрын

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

  • @g.b.5803
    @g.b.58034 ай бұрын

    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.

  • @cfopeter102
    @cfopeter1023 жыл бұрын

    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!

  • @lucaguitarplayer
    @lucaguitarplayer6 жыл бұрын

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

  • @mikeshane2048
    @mikeshane20487 жыл бұрын

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

  • @dg-hughes

    @dg-hughes

    5 жыл бұрын

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

  • @hexagonist23

    @hexagonist23

    5 жыл бұрын

    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 жыл бұрын

    FurkanSE are you dumb?

  • @rzul

    @rzul

    4 жыл бұрын

    @@fadithedog are you dumb?

  • @littlerussianmax5831

    @littlerussianmax5831

    4 жыл бұрын

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

  • @bakshiism
    @bakshiism26 күн бұрын

    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

    26 күн бұрын

    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

    9 күн бұрын

    @@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.

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

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

  • @TheLeAlan
    @TheLeAlan4 жыл бұрын

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

  • @lookupverazhou8599

    @lookupverazhou8599

    Жыл бұрын

    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

    Жыл бұрын

    @@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.

  • @susiesan
    @susiesan5 жыл бұрын

    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.

  • @bertkutoob
    @bertkutoob4 жыл бұрын

    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 жыл бұрын

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

  • @radeklew1

    @radeklew1

    4 жыл бұрын

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

  • @jeffreyogodogun285

    @jeffreyogodogun285

    4 жыл бұрын

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

  • @ms-dosguy6630

    @ms-dosguy6630

    3 жыл бұрын

    @@jeffreyogodogun285 Its called integrated circuits

  • @bertkutoob

    @bertkutoob

    3 жыл бұрын

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

  • @dakotahrivers6640
    @dakotahrivers66403 жыл бұрын

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

  • @mohammedal-alaw6249
    @mohammedal-alaw62495 жыл бұрын

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

  • @moiquiregardevideo

    @moiquiregardevideo

    3 жыл бұрын

    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 жыл бұрын

    Christian Gingras So, semantics?

  • @a-rod6336

    @a-rod6336

    2 жыл бұрын

    @@orppranator5230 Yep, meaning matters. Shocking stuff.

  • @supernova5434

    @supernova5434

    2 жыл бұрын

    And then being replaced by CMOS eventually

  • @ArneChristianRosenfeldt

    @ArneChristianRosenfeldt

    9 ай бұрын

    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.

  • @MamoonSyed
    @MamoonSyed6 жыл бұрын

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

  • @michaelthebeast6555
    @michaelthebeast65553 жыл бұрын

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

  • @randomgamer3964

    @randomgamer3964

    3 жыл бұрын

    Yh

  • @dictator7586

    @dictator7586

    3 жыл бұрын

    Nice

  • @willyeckerslike9437

    @willyeckerslike9437

    2 жыл бұрын

    Great

  • @nonagone9570

    @nonagone9570

    2 жыл бұрын

    Amazing

  • @minecraftherobrine1234

    @minecraftherobrine1234

    2 жыл бұрын

    @@nonagone9570 I'm 8 and I understand Redstone

  • @darrylbartlett2713
    @darrylbartlett27132 ай бұрын

    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.

  • @sevfx
    @sevfx7 жыл бұрын

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

  • @pyromen321

    @pyromen321

    6 жыл бұрын

    Severin I was laughing through that whole goofy section

  • @mattshu

    @mattshu

    6 жыл бұрын

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

  • @draco5991rep

    @draco5991rep

    5 жыл бұрын

    It was kinda akward and unsettling :'D

  • @GoatOfTheWoods

    @GoatOfTheWoods

    5 жыл бұрын

    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 жыл бұрын

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

  • @wajideus4591
    @wajideus45913 жыл бұрын

    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.

  • @TheDJRiffin
    @TheDJRiffin3 жыл бұрын

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

  • @simong1666
    @simong16663 жыл бұрын

    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?

  • @stuffoflardohfortheloveof
    @stuffoflardohfortheloveof2 жыл бұрын

    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! 👍🙂🏴󠁧󠁢󠁷󠁬󠁳󠁿

  • @scoopasoop6052
    @scoopasoop60523 жыл бұрын

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

  • @southernkatrina8161

    @southernkatrina8161

    3 жыл бұрын

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

  • @Mayank-mf7xr
    @Mayank-mf7xr4 жыл бұрын

    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

  • @JacobPlays136
    @JacobPlays1363 жыл бұрын

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

  • @matchileon6102
    @matchileon61025 жыл бұрын

    This is more helpful than my stupid college lecture.

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

    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

    Жыл бұрын

    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.

  • @xqqqme
    @xqqqme4 жыл бұрын

    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!

  • @VirginiaGreco_Scrapbooking
    @VirginiaGreco_Scrapbooking2 жыл бұрын

    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

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

    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.

  • @johndeluca230
    @johndeluca2304 жыл бұрын

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

  • @absurd_derpeta1993
    @absurd_derpeta19933 жыл бұрын

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

  • @Pozydrive
    @Pozydrive4 жыл бұрын

    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!

  • @cesarrodriguez-tw9bp
    @cesarrodriguez-tw9bp7 жыл бұрын

    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!!

  • @426F6F
    @426F6F Жыл бұрын

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

  • @davidrosset4457
    @davidrosset44573 жыл бұрын

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

  • @DELLISTX
    @DELLISTX4 жыл бұрын

    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!!

  • @risingmermo
    @risingmermo3 жыл бұрын

    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

  • @guyconiglio8223
    @guyconiglio82237 ай бұрын

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

  • @scott7695
    @scott76952 жыл бұрын

    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
    @HaloWolf1023 жыл бұрын

    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
    @basztarek8 жыл бұрын

    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.

  • @danieljensen2626
    @danieljensen26264 жыл бұрын

    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.

  • @muhammadamirkhan3779
    @muhammadamirkhan37798 ай бұрын

    Excellent presentation/demonstration to easily understand logic gates

  • @jyotiraina7682
    @jyotiraina76828 жыл бұрын

    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 жыл бұрын

    @@Engineer9736 Shut yo' mouth foo'

  • @Jupiter__001_

    @Jupiter__001_

    4 жыл бұрын

    @@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
    @axeldaguerre88384 жыл бұрын

    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)

  • @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.

  • @jeanjean2152
    @jeanjean21523 жыл бұрын

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

  • @EriAirlangga
    @EriAirlangga6 жыл бұрын

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

  • @0MoTheG

    @0MoTheG

    4 жыл бұрын

    There was no TTL in the entire video.

  • @silviam.7195

    @silviam.7195

    4 жыл бұрын

    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

    Жыл бұрын

    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

    9 ай бұрын

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

  • @ArneChristianRosenfeldt

    @ArneChristianRosenfeldt

    9 ай бұрын

    @@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
    @ThatGuyDownInThe4 жыл бұрын

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

  • @EmptyGlass99
    @EmptyGlass994 жыл бұрын

    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.

  • @williampreston8351
    @williampreston83512 жыл бұрын

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

  • @Thereadingmusiclover
    @Thereadingmusiclover4 жыл бұрын

    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!

  • @jamesarmstrong3000
    @jamesarmstrong30004 жыл бұрын

    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 жыл бұрын

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

  • @ricj9594

    @ricj9594

    4 жыл бұрын

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

  • @yaroslavpanych2067

    @yaroslavpanych2067

    3 жыл бұрын

    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.

  • @vyorkin
    @vyorkin4 жыл бұрын

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

  • @Replied_ByMeatr1der5
    @Replied_ByMeatr1der52 жыл бұрын

    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

  • @swedensy
    @swedensy4 жыл бұрын

    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.

  • @boyuan588

    @boyuan588

    6 күн бұрын

    This is a good point. I think the video made a misleading post by that the circuit is not complete when both A/B is on but this is actually not the case

  • @srduke
    @srduke5 жыл бұрын

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

  • @farziverse4209
    @farziverse42092 ай бұрын

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

  • @TheDeepshock
    @TheDeepshock3 жыл бұрын

    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.

  • @mulindwajoseph5176
    @mulindwajoseph51764 жыл бұрын

    The best science videos I've found

  • @hercion
    @hercion4 жыл бұрын

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

  • @kworgz
    @kworgz5 ай бұрын

    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!

  • @LeonDerczynski
    @LeonDerczynski4 жыл бұрын

    one of my favorite editors. good fx

  • @Mizar88
    @Mizar888 жыл бұрын

    bravo! great explanation!

  • @SebastianOlczak
    @SebastianOlczak4 жыл бұрын

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

  • @Electronicworldcrazyram

    @Electronicworldcrazyram

    4 жыл бұрын

    kzread.info/dash/bejne/dXlpt8OMj7CzgpM.html

  • @AkshaySinghJamwal
    @AkshaySinghJamwal2 жыл бұрын

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

  • @100vg
    @100vg8 ай бұрын

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

  • @JimKinkade
    @JimKinkade8 жыл бұрын

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

  • @Calvinatorzcraft

    @Calvinatorzcraft

    8 жыл бұрын

    That's nearly impossible

  • @FutureAIDev2015

    @FutureAIDev2015

    7 жыл бұрын

    😮 You have WAY more patience than me!

  • @abdelrahmangamalmahdy

    @abdelrahmangamalmahdy

    7 жыл бұрын

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

  • @KuraIthys

    @KuraIthys

    7 жыл бұрын

    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 жыл бұрын

    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 !!

  • @dowskivisionmagicaloracle8593
    @dowskivisionmagicaloracle85935 жыл бұрын

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

  • @milliosmiles5160
    @milliosmiles51604 жыл бұрын

    A most beautiful and complete explanation - thank you.

  • @mike.lisenko
    @mike.lisenko Жыл бұрын

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

  • @michelelandolfi8860
    @michelelandolfi88604 жыл бұрын

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

  • @herbertotto4725
    @herbertotto47253 жыл бұрын

    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.

  • @danielarmijo7099
    @danielarmijo70993 жыл бұрын

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

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

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

  • @FutureAIDev2015
    @FutureAIDev20157 жыл бұрын

    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 жыл бұрын

    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.

  • @eliastafese3790
    @eliastafese37908 жыл бұрын

    YOU ARE THE BEST! Vefy nice EXPLANATION

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

    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

  • @andrewshirley3260
    @andrewshirley32602 жыл бұрын

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

  • @privatefactory1173
    @privatefactory11735 жыл бұрын

    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.

  • @Zahlenteufel1
    @Zahlenteufel17 жыл бұрын

    his videos are so low-tech but so good

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

    Well said and well illustrated.

  • @ykazykenov
    @ykazykenov2 жыл бұрын

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

  • @atenakitabi3769
    @atenakitabi37694 жыл бұрын

    Oh God wish I had found this video 2 years ago

  • @mericet39
    @mericet393 жыл бұрын

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

  • @normantyson5314
    @normantyson53148 ай бұрын

    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.

  • @worldofelectronicsandprogr1128
    @worldofelectronicsandprogr11282 жыл бұрын

    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! 👏👏👏👏

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

    I appreciate you so much thank you!

  • @thiccbonkus
    @thiccbonkus7 жыл бұрын

    +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 жыл бұрын

    i think he uses an 452 2N3904 transistor

  • @MichaelFJ1969

    @MichaelFJ1969

    7 жыл бұрын

    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.

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

    I love this video. I understand digital logic and have made a small cpu in a class using logicworks gates.. but never understood how a gate works at a transistor based level. This is so easy thank you so much for the video.

  • @rokos74
    @rokos743 жыл бұрын

    I just used a simple transistor, but it was so amazing to see that led light up

  • @mannycalavera121
    @mannycalavera1214 жыл бұрын

    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.

  • @LoneRegister
    @LoneRegister7 жыл бұрын

    Ben Eater - in the inverter circuit where the LED turns off when the button is pushed (around 3:30). I can't help but thinking of all these circuits that are open/flowing current - eating up energy. Typically, when I think of a switch, I think of current flowing or not flowing. yet in this design, current is always flowing?

  • @10bokaj

    @10bokaj

    6 жыл бұрын

    The led does not have a resistance, but a voltage drop, now the LED does not turn on because a parallel connection always has the same voltage drop, but the transistor does not (as far as I know) have a voltage drop so the voltage drop will be 0, and an LED needs about 2 volts to turn on so therefore it will not turn on

  • @johncochran8497

    @johncochran8497

    6 жыл бұрын

    Yes, in the above circuits, there is always current flowing. And the circuits he's using is very similar to TTL which was noted as being high speed, but power hungry. But there are other methods of creating the desired logic. Take a look at MOSFETs for instance. With those components, you don't have a constant current flow from the base through the emitter, what you instead is charge and discharge the gate as if it were a small capacitor. So you get power consumption whenever a logic element changes state, but otherwise, there's no current flow. And from that, you have what's called CMOS.

  • @3DPDK

    @3DPDK

    6 жыл бұрын

    You are absolutely correct and John Cochran's reply is 100% the best answer to your comment. Having worked in the design area of an electronics company in the late 80's "idle current flow" was a big concern for a company wanting to reduce the power consumption (and heat degradation) in their product. TTL logic circuits were designed (in the company where I worked) so that if their output was high or conducting over 65% of the time, that output would be inverted, if possible. This actually made the overall circuit bloated with "decoding" logic to re-invert the signal, or PNP instead of NPN transistors were used as drivers, but it did reduce the "idle current flow" ... in some cases. TTL (transistor/transistor logic) ICs are fairly rare in today's digital circuits - discreet transistor logic gates such as these are even more rare and only used to buffer logic IC outputs to high current loads. Even that has mostly been replaced with Field Effect Transistors who's current reducing attributes are explained by Mr. Cochran.

  • @Redh0und

    @Redh0und

    6 жыл бұрын

    in this case its reffered to as high or low. in this kinda desing you can't have literally nothing as "low", that would equal a shut off computer

  • @SvetlinTotev

    @SvetlinTotev

    6 жыл бұрын

    well in real computers the output of almost every transistor is the input of another one which doesn't drain current except for when the state is changed. Also There are other types of transistors as well which deal with that inverting problem.

  • @abdul0mar
    @abdul0mar3 жыл бұрын

    i ran out of OR gate ics and you really helped me, i needed it, thank you ❤️

  • @muhammadrafiqulislamkhan6994
    @muhammadrafiqulislamkhan69944 жыл бұрын

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

  • @LuisReyes-zg7mq
    @LuisReyes-zg7mq7 жыл бұрын

    Nice vid. What kind of cable do you use to make your circuits?

  • @DRSDavidSoft

    @DRSDavidSoft

    7 жыл бұрын

    It's the wire used in telephone lines, a single copper wire.