Introduction to Logic Gates

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • 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.

Комментарии • 250

  • @slickyda-vinci1631
    @slickyda-vinci1631 3 года назад +66

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

  • @barbobrien9318
    @barbobrien9318 4 года назад +180

    Best explanation ever, and the pacing is just right.

  • @jrlwhite1396
    @jrlwhite1396 6 лет назад +223

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

    • @FJ.Y
      @FJ.Y 3 года назад +4

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

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

      @@FJ.Y the same here

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

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

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

      @@kingking1223 how does that work?

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

      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 3 года назад +26

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

  • @augmentedjustin835
    @augmentedjustin835 3 года назад +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.

  • @globubb7031
    @globubb7031 Год назад +4

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

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

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

  • @cristianb2748
    @cristianb2748 5 лет назад +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.

  • @GeoMathLab
    @GeoMathLab 2 года назад +6

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

  • @layzlifts9856
    @layzlifts9856 4 года назад +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  4 года назад +1

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

  • @Webber404
    @Webber404 4 года назад +11

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

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

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

  • @charatheangeldreemurr
    @charatheangeldreemurr 4 года назад +20

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

  • @TanginSultana-cs3iy
    @TanginSultana-cs3iy 2 дня назад +1

    Best teacher in the world ❤

    • @ComputerScienceLessons
      @ComputerScienceLessons  День назад

      I'm not sure about that but I really appreciate the sentiment. Thank you :)KD

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

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

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

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

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

    Best explanation ur explanation was most better than my teacher

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

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

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

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

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

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

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

    5 years later and this video is still saving souls

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

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

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

    Very good explanation. Keep up the good work!!

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

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

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

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

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

    Love it. Very well presented and nice pace!

  • @IbrahimAli-bo2uq
    @IbrahimAli-bo2uq 4 года назад +1

    I respect the explanation...simple and precise

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

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

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

    short, simple and useful.

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

    Perfect and simple. Thank you very much !

  • @alphasus8217
    @alphasus8217 4 года назад +67

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

    • @ComputerScienceLessons
      @ComputerScienceLessons  4 года назад +12

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

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

      @@ComputerScienceLessons ❤love u bro

    • @Aerox90
      @Aerox90 4 года назад +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 😉

  • @MohamedHassan-sy1pl
    @MohamedHassan-sy1pl 2 года назад +1

    best explanation ever and wonderful every think

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

    Thank you so much, you have explained it perfectly

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

    Love this video what a great explanation ❤️

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

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

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

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

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

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

  • @dat.1mf
    @dat.1mf Год назад

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

  • @debin.station
    @debin.station 3 года назад

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

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

    BEST EXPLAINATION SO FAR

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

    Man you're too good at teaching 🤝

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

    Nice explanation Bro .... Thank You 👌👍

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

    Thank you for explaining this to me! :D

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

    great video, thank you for the effort.

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

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

  • @r.patrick8284
    @r.patrick8284 5 лет назад +1

    Fantastic explanation.

  • @charleseliyahpelosof8468
    @charleseliyahpelosof8468 4 года назад +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 4 года назад

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

    • @GamStr-xq3vc
      @GamStr-xq3vc 4 года назад

      @@Chief592 chemical and electrical logic gates

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

      I think neurons work like transistors but different

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

    Very well done effort sir! Thank you.

  • @rizzwan-42069
    @rizzwan-42069 10 месяцев назад

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

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

    Very Informative

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

    Great video

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

    Fantastic explanation! 5 stars

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

    Nice one lad sound

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

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

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

    cheers mate!
    more helpful than my prof

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

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

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

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

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

    Thanks, this helps with my homework

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

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

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

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

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

    Thank you so much ! ❤

  • @robpovall-griffin5053
    @robpovall-griffin5053 6 лет назад +3

    Thank you very much! Extremely useful!

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

    great thanks to this tutorial i built an i9 12900k

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

    best explanation ,, a sub and a like

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

    Now i can hopefully do my cs50 projects

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

    Great Sir

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

    Thanks man!

  • @Its.me.368
    @Its.me.368 8 месяцев назад

    Thank you ❤

  • @Addiie.x
    @Addiie.x 3 года назад +1

    Thanks alot

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

    Thank you.

  • @alessandralopez2282
    @alessandralopez2282 2 года назад +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  2 года назад

      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 Год назад

      Just learn English

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

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

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

    Life saver😭

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

    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.

  • @StatusFIX
    @StatusFIX 3 года назад +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  3 года назад

      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: ruclips.net/video/fw-N9P38mi4/видео.html :)KD

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

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

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

    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.

  • @arkhalos4882
    @arkhalos4882 4 года назад +33

    im just here, to recreate this in minecraft

    • @ComputerScienceLessons
      @ComputerScienceLessons  4 года назад +13

      I presume you are going to use Redstone? Check this out :)KD
      ruclips.net/video/YfbT2bxlV8I/видео.html

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

      @@ComputerScienceLessons hey buddy its XD not KD lol

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

      @@vissdog4k haha its jst similar lol

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

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

  • @iLoveEnnaAlouette
    @iLoveEnnaAlouette 3 года назад +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  3 года назад +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 2 года назад

    Thanx

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

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

  • @whinocewous
    @whinocewous 2 года назад +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  2 года назад +1

      This is the playlist, I hope it helps
      ruclips.net/p/PLTd6ceoshprfc_VVJYunO1BN9peCTMQgr
      :)KD

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

      @@ComputerScienceLessons thanks heaps :)

  • @jasmine-wt6lf
    @jasmine-wt6lf 2 года назад

    queen !!!

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

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

  • @iwanzeeuw1103
    @iwanzeeuw1103 6 лет назад

    wow! great lesson thanks very much indeed!

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

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

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

      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 3 года назад +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  3 года назад

      Take a look at this: ruclips.net/video/2iURr3NBprc/видео.html
      :)KD

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

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

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

    Why is it the same as logical operators of C

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

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

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

    Real teacher: 📌

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

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

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

      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

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

    Moore powerful.

  • @Quanta_i-guess
    @Quanta_i-guess 3 года назад +1

    nice

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

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

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

    Your voice is beautiful

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

    AND = *
    OR = +
    In Boolean algebras I guess

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

      Yes indeed. When you are ready for it, you might find this interesting: ruclips.net/video/EPJf4owqwdA/видео.html
      :)KD

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

    nice info

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

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

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

      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

  • @charleyfox7902
    @charleyfox7902 5 лет назад +1

    Thanks dude much appreciated

  • @Ian-o9q
    @Ian-o9q 20 дней назад

    display how logic gates combine to form aIC

  • @JonDeth
    @JonDeth Год назад +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.*

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

    Ffs that’s a good explanation

  • @AmirjbTv
    @AmirjbTv 6 лет назад

    yes sir thanks

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

    Based

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

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