Introduction to Logic Gates

Sdílet
Vložit
  • čas přidán 15. 07. 2016
  • This is a beginner's introduction to logic gates. It starts with an historical mention of the development of two state devices including valves and transistors, and how these led to the silicon chip. It then goes on to describe the nature and behaviour of the three main logic gates NOT, AND and OR in terms of electrical voltages, binary digits (bits) and truth tables.

Komentáře • 247

  • @slickyda-vinci1631
    @slickyda-vinci1631 Před 3 lety +66

    This is the clearest and shortest explanation I could possibly find. Thank you!

  • @barbobrien9318
    @barbobrien9318 Před 4 lety +180

    Best explanation ever, and the pacing is just right.

  • @jrlwhite1396
    @jrlwhite1396 Před 6 lety +223

    I swear my teacher couldn't get this across. I'm glad I found this channel.

    • @FJ.Y
      @FJ.Y Před 3 lety +4

      How good are you with this stuff 3yrs later? I'm just getting started haha

    • @elhayyany4554
      @elhayyany4554 Před 3 lety +1

      @@FJ.Y the same here

    • @kingking1223
      @kingking1223 Před 3 lety +2

      I have learnt this for three years and I am able to create a calculator myself with logic gates.

    • @ObeySilence
      @ObeySilence Před 2 lety

      @@kingking1223 how does that work?

    • @kingking1223
      @kingking1223 Před 2 lety

      Because there’s actually a pattern between the input and the output in logic gates, and so does calculations. For example, I want to create a 2-bit adder, then first I’ll list the input and output.
      0+0=0
      0+1=1
      1+0=1
      1+1=10
      The last digit is same to the XOR gate, so the last digit will be a XOR b.
      The first digit is only 1 when both inputs are one, so it is an AND gate.
      So if a and b are both single digit, I know that a+b=[a AND b, a XOR b]

  • @jamesm7414
    @jamesm7414 Před 3 lety +26

    Pacing is excellent and the articulation and choice of words is spot on. Great video!

  • @augmentedjustin835
    @augmentedjustin835 Před 3 lety +23

    I went to aviation maintenance school and had to attend hours of class to have this explained to me and still didn’t understand. Thank you.

  • @LeGrandeux
    @LeGrandeux Před 5 lety +10

    Dear God. My uni professor could not explain this for two straight weeks. You explained it in seven minutes. Thank you.

  • @cristianb2748
    @cristianb2748 Před 4 lety +21

    The implementation of the gates presented in this video is called TTL Logic, as it uses bipolar junction transistors. Computers use nowadays CMOS gates, that use MOSFET transistors.

  • @globubb7031
    @globubb7031 Před rokem +4

    This is really cool. I managed to get a 93% on my test because of you. Thanks so much!

  • @cynthiaalzora5940
    @cynthiaalzora5940 Před 10 měsíci

    THANK YOU sooo much for posting this!! This is the CLEAREST video ever!! It’s broken down where anyone can comprehend it!!

  • @GeoMathLab
    @GeoMathLab Před 2 lety +6

    I can safely say this is the best introduction to logic gates. Everything flowed in a logical manner.

  • @konozbinrashid7774
    @konozbinrashid7774 Před 5 lety +4

    Very good explanation. Keep up the good work!!

  • @layzlifts9856
    @layzlifts9856 Před 4 lety +5

    Came from crash course to here, this made more sense to me, thank you very much. As I am learning, the more I fear we built life on a seriously limited system.

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 4 lety +1

      There's some good content on Crash Course but you need to be handy with the pause button. Glad to help :)KD

  • @yashvantkumar5972
    @yashvantkumar5972 Před 3 lety +5

    This is just the thing I was looking for. It's a perfect explaination

  • @Webber404
    @Webber404 Před 4 lety +11

    Thanks for the video. Needed this to understand my uni books

  • @daniyalhaider8707
    @daniyalhaider8707 Před 3 lety +3

    Wonderful explanation.. after watching multiple videos finally found this one which has cleared many confusions of my mind.. thank you so much!

  • @debin.station
    @debin.station Před 3 lety

    So much useful. And the presentation is awesome. Thanks alot!

  • @charatheangeldreemurr
    @charatheangeldreemurr Před 4 lety +20

    i have online school now and this was very helpful for my robotics, thank you for this very educational video :3

  • @LynTuckwell
    @LynTuckwell Před 3 lety +3

    Thank you! This is the clearest and best explanation I have been able to find. I finally get the gate differences.

  • @skatee99
    @skatee99 Před 3 lety

    Very well done effort sir! Thank you.

  • @verandi3882
    @verandi3882 Před rokem

    thank you noble anglo saxon computer chief for salvaging me through this class

  • @haridevanarsiah140
    @haridevanarsiah140 Před 3 lety +3

    Love it. Very well presented and nice pace!

  • @chii2000
    @chii2000 Před 2 lety +1

    5 years later and this video is still saving souls

  • @alphasus8217
    @alphasus8217 Před 4 lety +67

    when watching you tube is more worth than going to school!`

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 4 lety +12

      Thanks for the positive comment. School still has a place (speaking as a teacher). :)KD

    • @alphasus8217
      @alphasus8217 Před 4 lety +4

      @@ComputerScienceLessons ❤love u bro

    • @Aerox90
      @Aerox90 Před 3 lety +5

      True! 😅 I never had enough motivation for learning things at school, and often skipped classes to just hang out with friends instead - BUT! As soon as I got home, I suddenly tranformed into a manically obsessed info-geek, consuming EVERY single piece of information I could find about whatever topic appeared on my screen! 😂
      ...Now I'm 30 years old - and I just recently arrived at the "engineering" chapter 😉

  • @TheeSlickShady_Dave_K
    @TheeSlickShady_Dave_K Před rokem +1

    Instant sub!
    So easy to understand when explained like this
    Thank you
    Excellent video 🏆

  • @SrRunsis
    @SrRunsis Před 2 lety +1

    This video should be in a museum of computers, it's just perfectly explained

  • @whitehelcat
    @whitehelcat Před rokem

    Nice explanation Bro .... Thank You 👌👍

  • @absolink5820
    @absolink5820 Před 3 lety

    Hi, can someone explain to me, why on the diagram for the "OR" schematic (6:10) the output is connected in that way. I don't understand why the resistor is next to the ground and the output is next to them. Thanks in advance.

  • @r.patrick8284
    @r.patrick8284 Před 5 lety +1

    Fantastic explanation.

  • @IbrahimAli-bo2uq
    @IbrahimAli-bo2uq Před 4 lety +1

    I respect the explanation...simple and precise

  • @liransimanovsky5001
    @liransimanovsky5001 Před 3 lety +1

    Perfect and simple. Thank you very much !

  • @imho2278
    @imho2278 Před 3 lety

    So it's the position of the output that determines the behavior? In the not gate the signal bypasses the transistor??

  • @jackspicer455
    @jackspicer455 Před 3 lety

    BEST EXPLAINATION SO FAR

  • @arditkuci9140
    @arditkuci9140 Před rokem

    can you explain how SR port works? I had an exercise doing AND, OR, XOR, and SR ports, the first three are easy but the when doing the SR part and checking it, its always wrong, cant seem to get it right, the exercise has input 1 S=0 and input 2 R=1 as output=0, and then the other ones are fill ins, thanks in advance.

  • @akhilrathina3675
    @akhilrathina3675 Před 3 lety +2

    Thanks using this I was able to build my own logic gates

  • @nipunnethmina7166
    @nipunnethmina7166 Před 2 lety +2

    Best explanation ur explanation was most better than my teacher

  • @ahsvguy
    @ahsvguy Před 2 lety +1

    You've got such a beautiful british accent. And your explanation is very clear!

  • @mohammadunos396
    @mohammadunos396 Před 3 lety +2

    Fantastic british style teaching method.I did not have any idea about logic gate.i undrestood everything.

  • @kurasmoody1135
    @kurasmoody1135 Před 2 lety +2

    Love this video what a great explanation ❤️

  • @GiIczek
    @GiIczek Před 11 měsíci

    Thanks dude! I passed my ict class with that one :D

  • @MaltbyMedia
    @MaltbyMedia Před 4 lety +3

    Thank you so much, you have explained it perfectly

  • @sourberry4834
    @sourberry4834 Před 2 lety +1

    great video, thank you for the effort.

  • @heavenlysounds3853
    @heavenlysounds3853 Před 3 lety +2

    Thank you for explaining this to me! :D

  • @bingewatcher6306
    @bingewatcher6306 Před 4 lety +1

    Thanks, this helps with my homework

  • @ryed6157
    @ryed6157 Před 2 lety +1

    short, simple and useful.

  • @kingzmash9124
    @kingzmash9124 Před 3 lety +8

    3:00 How are transistors made at such a small size?

  • @robpovall-griffin5053
    @robpovall-griffin5053 Před 6 lety +3

    Thank you very much! Extremely useful!

  • @chanupajayasinghe
    @chanupajayasinghe Před 4 lety +1

    thanks for the vid dude this helped me a lot.god bless u

  • @itamar6821
    @itamar6821 Před 4 lety +2

    this is a great video, clear explaination and pacing, kudos!

  • @MohamedHassan-sy1pl
    @MohamedHassan-sy1pl Před 2 lety +1

    best explanation ever and wonderful every think

  • @zachary396
    @zachary396 Před rokem

    Fantastic explanation! 5 stars

  • @Pawn2King_1
    @Pawn2King_1 Před 2 lety

    best explanation ,, a sub and a like

  • @Automationacademytv
    @Automationacademytv Před 4 lety +1

    Very Informative

  • @whinocewous
    @whinocewous Před 2 lety +1

    What's the name of the follow up tutorial for this subject or the link? Thank you. Sorry I can't find it.

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 2 lety +1

      This is the playlist, I hope it helps
      czcams.com/play/PLTd6ceoshprfc_VVJYunO1BN9peCTMQgr.html
      :)KD

    • @whinocewous
      @whinocewous Před 2 lety

      @@ComputerScienceLessons thanks heaps :)

  • @dwaipayandattaroy9801
    @dwaipayandattaroy9801 Před 4 lety

    What kind of wire present in valves? Copper and epoxy ,

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 4 lety

      Thermionic values use oxide coated tungsten filaments. They also include other metals such as nickel or molybdenum, and carbonates of barium or strontium. I have some inside my old Marshal amplifier. :)KD

  • @greenmelonx228
    @greenmelonx228 Před 4 lety +1

    This is good this will help me understand logic gates for the game ScrapMechanics because there are logic gates there

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 4 lety

      I've just had a look at ScrapMechanics. I might use it in the classroom. Thanks. :)KD

    • @greenmelonx228
      @greenmelonx228 Před 4 lety

      @@ComputerScienceLessons Ooooh thats a nice way to learn to others logic gates by doing it in Scrap Mechanic, teens i think will be interested since its a video game

  • @Dan_345
    @Dan_345 Před 3 lety +1

    cheers mate!
    more helpful than my prof

  • @arkhalos4882
    @arkhalos4882 Před 4 lety +33

    im just here, to recreate this in minecraft

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 4 lety +13

      I presume you are going to use Redstone? Check this out :)KD
      czcams.com/video/YfbT2bxlV8I/video.html

    • @vissdog4k
      @vissdog4k Před 3 lety +5

      @@ComputerScienceLessons hey buddy its XD not KD lol

    • @daz_6839
      @daz_6839 Před 3 lety

      @@vissdog4k haha its jst similar lol

    • @vissdog4k
      @vissdog4k Před 3 lety

      @@daz_6839 nah dog it kinda ruins the whole effect lol

  • @alie_l
    @alie_l Před rokem

    Thank you so much ! ❤

  • @rizzwan-42069
    @rizzwan-42069 Před 8 měsíci

    i really like the xor gate bc of the complex logical sentence it has

  • @alessandralopez2282
    @alessandralopez2282 Před rokem +2

    Hello it is possible if you can add the description please? since English is not my first language is hard for me write on notes the key words just from listening :(

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před rokem

      Click on the Settings icon at the bottom of the video window and select Subtitles/CC. This will display an automatically generated transcript for you. It's not perfect but it's OK.
      There are also some notes on my website. www.computersciencebytes.com/boolean-logic/logic-gates/
      I hope this helps. :)KD

    • @globubb7031
      @globubb7031 Před rokem

      Just learn English

  • @hakami1426
    @hakami1426 Před 3 lety +1

    Thank god I took intro to Logic before my this class.

  • @megacollinsmc
    @megacollinsmc Před 2 lety +1

    Man you're too good at teaching 🤝

  • @charleseliyahpelosof8468
    @charleseliyahpelosof8468 Před 4 lety +4

    I have a theory that our brains uses a system like logical gates with NOT, AND and OR including NAND, NOR. When people take medicine having some side effects coming with them, some of those gates are affected by those medicines and the body doesn't work the way it should because of those side effects made by those medicines. For example when a woman is about to deliver, all those gates are giving the green light (according to the program implemented in the brain) that it is time to go into labor. The labor finished naturally, the breasts are starting to give milk very as soon after the baby puts his mouth on them. When a c-section is done, the gates are confused because the baby is out and all the gates did not give the green light that the baby came out through the birth Canal. Confusion inside the brain, milk sometimes not coming, and other side effects for the program to not have been fully followed.... light.Consequently

    • @Chief592
      @Chief592 Před 4 lety

      Brain doesn’t trigger labor, the hormones do, brain doesn’t do sensory stuff like that.

    • @GamStr-xq3vc
      @GamStr-xq3vc Před 4 lety

      @@Chief592 chemical and electrical logic gates

    • @extrem2497
      @extrem2497 Před 2 lety

      I think neurons work like transistors but different

  • @methira
    @methira Před 2 lety

    Thanks man!

  • @tobiasgertz7800
    @tobiasgertz7800 Před 2 lety

    Transistor are current-controlled, current devices. Valves are voltage-controlled, current devices. They are closer to a cmos power function then a bjt

  • @frazepyrax4718
    @frazepyrax4718 Před 10 měsíci

    Now i can hopefully do my cs50 projects

  • @leowhite843
    @leowhite843 Před 2 lety +2

    Nice one lad sound

  • @StatusFIX
    @StatusFIX Před 3 lety +2

    hmm i'm still struggling to understand how these gates can have all voltage on 2-3 lines without a ground. and the not gate that's another set of magic , changing a 0-1 with only 2 pins what kind of magic is that!

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 3 lety

      I've had a number of students who struggled with the concept of a NOT gate. "How can it change 0 to 1? how can it make something from nothing?" It's important to realise that a logic gate symbol is an abstract diagram of something more complex. See: czcams.com/video/fw-N9P38mi4/video.html :)KD

    • @StatusFIX
      @StatusFIX Před 3 lety

      @@ComputerScienceLessons so it's not like a resistor that can be bought off the shelf.?

  • @alejandraparra8613
    @alejandraparra8613 Před 2 lety +1

    Wich is the logic function of yes gate??? :(

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 2 lety

      The output of a YES gate is the same as the input. It's purpose is to boost the input signal because electrical signals 'degrade' in complex circuits with lots of resistance. Another name for a YES gate is a buffer. :)KD

  • @iwanzeeuw1103
    @iwanzeeuw1103 Před 6 lety

    wow! great lesson thanks very much indeed!

  • @DreamBlissYT
    @DreamBlissYT Před 2 lety +1

    The way this guy talks makes me think that Jason Statham is teaching me computer science!
    Thank you for this video!

  • @tescoasda3879
    @tescoasda3879 Před 3 lety +1

    Are different parts of computers just certain different combinations of logic gates?

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 3 lety

      Not all, but a great many of them are. The CPU is full of logic gates. Memory (CPU cache and RAM) also makes use of them, and they can be be found in the expansion cards like your NIC and the Graphics card. They are all over the place :)KD

    • @tescoasda3879
      @tescoasda3879 Před 3 lety +1

      @@ComputerScienceLessonsok thanks. Also do logic gates control pixels, for example, my understanding of pixel system in led is the following: each pixel has its liquid crystals which can block light from getting to it or allow light to get to it depending on their orientation, such orientation depends on whether electrical current runs through them or not, which depends on whether the logic gate it's hooked up to is on or off, and this of course depends on how this logic gate is programed based off inputs from other logic gates. So a particular circuit or combo of logic gates program the logic gates that are connected to the liquid crystals corresponding to a particular pixel, so that whether said pixel is on or off is based off your arrangement of logic gates/your programming.

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 3 lety

      Take a look at this: czcams.com/video/2iURr3NBprc/video.html
      :)KD

    • @tescoasda3879
      @tescoasda3879 Před 3 lety

      @@ComputerScienceLessons thanks for link, couldn't find good sources,, appreciate it.

  • @sethinidisanga178
    @sethinidisanga178 Před 4 lety +2

    Great video

  • @Its.me.368
    @Its.me.368 Před 7 měsíci

    Thank you ❤

  • @edeimudaniel8191
    @edeimudaniel8191 Před 3 lety +1

    Great Sir

  • @eddoesnotexist
    @eddoesnotexist Před 2 lety

    great thanks to this tutorial i built an i9 12900k

  • @GuardianApe
    @GuardianApe Před 3 lety +1

    Thank you.

  • @hanshiyamohun2353
    @hanshiyamohun2353 Před 4 lety +7

    i'm here just bcuz i have a test tomorrow...lol

  • @guilhermecaiado5384
    @guilhermecaiado5384 Před 3 lety +1

    Once you understand the concept of the ohm law, how transistors work and logic gates, you wont get stuck in social media anymore.

  • @sumitbhoi4070
    @sumitbhoi4070 Před rokem +1

    Why is it the same as logical operators of C

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před rokem

      Behind the scenes, low level program code is engaging these types of circuits (C is considered a low level language these days) :)KD

  • @olivegodwin9845
    @olivegodwin9845 Před 3 lety +1

    Thanks alot

  • @iLoveEnnaAlouette
    @iLoveEnnaAlouette Před 2 lety +1

    Can you give me a real life application of NOT gate? I can't think of any, btw this explained more than how my teacher did... hope she doesn't find this

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 2 lety +1

      Glad to help. If you take the output of one NOT gate and feed it into a second NOT gate, then feed the output of the second NOT gate back into the first NOT gate, you have created a circuit that can store a 1 or a 0. This idea is the basis of a Static RAM cell (SRAM is used by CPU registers and the CPU cache memory). There's a diagram here www.researchgate.net/figure/SRAM-memory-cell-circuit-diagrams-for-a-standard-6T-SRAM_fig9_224106933
      Also, if you want to delay an electrical signal (which is quite a common requirement in some circuits), you can pass it through several NOT gates (an even number of then) connected together in a line. :)KD

  • @mohammedk.h.f3016
    @mohammedk.h.f3016 Před 2 lety

    Thanx

  • @christinedoherty7000
    @christinedoherty7000 Před 11 měsíci

    Life saver😭

  • @dwaipayandattaroy9801
    @dwaipayandattaroy9801 Před 4 lety +1

    +5v is always functional even if circuit is switched off

  • @jasmine-wt6lf
    @jasmine-wt6lf Před 2 lety

    queen !!!

  • @americanskylines2789
    @americanskylines2789 Před 3 lety

    My teacher assigned this to us.

  • @RATANAGARWALITINFORMER

    nice info

  • @Quanta_i-guess
    @Quanta_i-guess Před 3 lety +1

    nice

  • @gabehcuodsuoitneterp203

    Moore powerful.

  • @slowpasha
    @slowpasha Před rokem +1

    Real teacher: 📌

  • @baggyclothes7604
    @baggyclothes7604 Před 2 lety +3

    We all know why you're here but anyways good luck

  • @Hero_soldier007
    @Hero_soldier007 Před 2 lety +1

    AND = *
    OR = +
    In Boolean algebras I guess

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 2 lety

      Yes indeed. When you are ready for it, you might find this interesting: czcams.com/video/EPJf4owqwdA/video.html
      :)KD

  • @AmirjbTv
    @AmirjbTv Před 6 lety

    yes sir thanks

  • @theuberman7170
    @theuberman7170 Před 3 lety +1

    Why the hell did my professor teach this without mentioning what a transistor is?

    • @ComputerScienceLessons
      @ComputerScienceLessons  Před 3 lety +1

      I think the underlying electronic components definitely need to be mentioned. You might find my series on DRAM interesting. :)KD

  • @kyotosinfinity5959
    @kyotosinfinity5959 Před 2 lety

    Ffs that’s a good explanation

  • @nelsondaily
    @nelsondaily Před 3 lety +1

    Your voice is beautiful

  • @charleyfox7902
    @charleyfox7902 Před 5 lety +1

    Thanks dude much appreciated

  • @ahtepacholiztli
    @ahtepacholiztli Před 2 lety

    Based

  • @JonDeth
    @JonDeth Před 10 měsíci +1

    Very well done but it is still incorrect when instructors and texts define transistors as switches. They have a mode to act as switches, but are not switches, they are the transfer resistor hence the name. *In your opening explanation, biasing just the emitter and collector can in fact enable current to flow, it just takes an excessive amount of voltage due to emitter-collector resistance whereas an actual switch would in practical explanation, never close. A transistor's resistance from emitter to collector is incredibly high whereas a switch's continuity is always 0 regarding the NO switch opened.*
    In the first configuration developed for the transistor, was class-A configuration which as you and others surely know is the quiescent state.
    *For all intents and purposes of logic gates, they are indeed used as switches.*
    Without the necessary previous education leading up to logic gates, which is rampant, the population of people that simply understand them as a switch in first and foremost definition *is patently wrong and I find self study "gurus" never know and understand what they in fact are.*