Introduction to Logic Gates

Поділитися
Вставка
  • Опубліковано 17 вер 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.

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

  • @globubb7031
    @globubb7031 Рік тому +4

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

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

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

  • @Webber404
    @Webber404 4 роки тому +11

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

  • @cynthiaalzora1990
    @cynthiaalzora1990 Рік тому

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

  • @yashvantkumar5972
    @yashvantkumar5972 4 роки тому +5

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

  • @TanginSultana-cs3iy
    @TanginSultana-cs3iy 12 днів тому +1

    Best teacher in the world ❤

    • @ComputerScienceLessons
      @ComputerScienceLessons  11 днів тому

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

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

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

  • @nipunnethmina7166
    @nipunnethmina7166 2 роки тому +2

    Best explanation ur explanation was most better than my teacher

  • @haridevanarsiah140
    @haridevanarsiah140 3 роки тому +3

    Love it. Very well presented and nice pace!

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

  • @akhilrathina3675
    @akhilrathina3675 3 роки тому +2

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

  • @konozbinrashid7774
    @konozbinrashid7774 5 років тому +4

    Very good explanation. Keep up the good work!!

  • @chii2000
    @chii2000 2 роки тому +1

    5 years later and this video is still saving souls

  • @verandi3882
    @verandi3882 Рік тому

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

  • @mohammadunos396
    @mohammadunos396 3 роки тому +2

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

  • @SrRunsis
    @SrRunsis 3 роки тому +1

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

  • @ahsvguy
    @ahsvguy 2 роки тому +1

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

  • @IbrahimAli-bo2uq
    @IbrahimAli-bo2uq 4 роки тому +1

    I respect the explanation...simple and precise

  • @megacollinsmc
    @megacollinsmc 2 роки тому +1

    Man you're too good at teaching 🤝

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

  • @jackspicer455
    @jackspicer455 3 роки тому

    BEST EXPLAINATION SO FAR

  • @MohamedHassan-sy1pl
    @MohamedHassan-sy1pl 2 роки тому +1

    best explanation ever and wonderful every think

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

  • @debin.station
    @debin.station 4 роки тому

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

  • @MaltbyMedia
    @MaltbyMedia 4 роки тому +3

    Thank you so much, you have explained it perfectly

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

  • @dat.1mf
    @dat.1mf Рік тому

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

  • @liransimanovsky5001
    @liransimanovsky5001 3 роки тому +1

    Perfect and simple. Thank you very much !

  • @kingzmash9124
    @kingzmash9124 3 роки тому +8

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

  • @itamar6821
    @itamar6821 4 роки тому +2

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

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

  • @heavenlysounds3853
    @heavenlysounds3853 3 роки тому +2

    Thank you for explaining this to me! :D

  • @hakami1426
    @hakami1426 3 роки тому +1

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

  • @sethinidisanga178
    @sethinidisanga178 4 роки тому +2

    Great video

  • @rizzwan-42069
    @rizzwan-42069 10 місяців тому

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

  • @r.patrick8284
    @r.patrick8284 5 років тому +1

    Fantastic explanation.

  • @sourberry4834
    @sourberry4834 3 роки тому +1

    great video, thank you for the effort.

  • @Dan_345
    @Dan_345 3 роки тому +1

    cheers mate!
    more helpful than my prof

  • @Automationacademytv
    @Automationacademytv 4 роки тому +1

    Very Informative

  • @skatee99
    @skatee99 3 роки тому

    Very well done effort sir! Thank you.

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

  • @zachary396
    @zachary396 2 роки тому

    Fantastic explanation! 5 stars

  • @whitehelcat
    @whitehelcat Рік тому

    Nice explanation Bro .... Thank You 👌👍

  • @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
      ua-cam.com/video/YfbT2bxlV8I/v-deo.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

  • @leowhite843
    @leowhite843 2 роки тому +2

    Nice one lad sound

  • @bingewatcher6306
    @bingewatcher6306 4 роки тому +1

    Thanks, this helps with my homework

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

  • @chanupajayasinghe
    @chanupajayasinghe 4 роки тому +1

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

  • @eddoesnotexist
    @eddoesnotexist 2 роки тому

    great thanks to this tutorial i built an i9 12900k

  • @robpovall-griffin5053
    @robpovall-griffin5053 6 років тому +3

    Thank you very much! Extremely useful!

  • @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: ua-cam.com/video/fw-N9P38mi4/v-deo.html :)KD

    • @StatusFIX
      @StatusFIX 3 роки тому

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

  • @frazepyrax4718
    @frazepyrax4718 Рік тому

    Now i can hopefully do my cs50 projects

  • @alie_l
    @alie_l Рік тому

    Thank you so much ! ❤

  • @GuardianApe
    @GuardianApe 4 роки тому +1

    Thank you.

  • @NeoUnfazed
    @NeoUnfazed 2 роки тому

    best explanation ,, a sub and a like

  • @edeimudaniel8191
    @edeimudaniel8191 4 роки тому +1

    Great Sir

  • @Addiie.x
    @Addiie.x 3 роки тому +1

    Thanks alot

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

  • @Its.me.368
    @Its.me.368 8 місяців тому

    Thank you ❤

  • @imho2278
    @imho2278 4 роки тому

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

  • @hanshiyamohun2353
    @hanshiyamohun2353 4 роки тому +7

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

  • @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
      ua-cam.com/play/PLTd6ceoshprfc_VVJYunO1BN9peCTMQgr.html
      :)KD

    • @whinocewous
      @whinocewous 2 роки тому

      @@ComputerScienceLessons thanks heaps :)

  • @methira
    @methira 2 роки тому

    Thanks man!

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

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

  • @slowpasha
    @slowpasha Рік тому +1

    Real teacher: 📌

  • @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: ua-cam.com/video/2iURr3NBprc/v-deo.html
      :)KD

    • @tescoasda3879
      @tescoasda3879 3 роки тому

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

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

  • @christinedoherty7000
    @christinedoherty7000 Рік тому

    Life saver😭

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

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

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

  • @jasmine-wt6lf
    @jasmine-wt6lf 2 роки тому

    queen !!!

  • @mohammedk.h.f3016
    @mohammedk.h.f3016 3 роки тому

    Thanx

  • @dwaipayandattaroy9801
    @dwaipayandattaroy9801 4 роки тому +1

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

  • @baggyclothes7604
    @baggyclothes7604 3 роки тому +3

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

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

  • @Quanta_i-guess
    @Quanta_i-guess 3 роки тому +1

    nice

  • @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: ua-cam.com/video/EPJf4owqwdA/v-deo.html
      :)KD

  • @RATANAGARWALITINFORMER
    @RATANAGARWALITINFORMER 3 роки тому

    nice info

  • @gabehcuodsuoitneterp203
    @gabehcuodsuoitneterp203 3 роки тому

    Moore powerful.

  • @kyotosinfinity5959
    @kyotosinfinity5959 2 роки тому

    Ffs that’s a good explanation

  • @iwanzeeuw1103
    @iwanzeeuw1103 6 років тому

    wow! great lesson thanks very much indeed!

  • @Ian-o9q
    @Ian-o9q 29 днів тому

    display how logic gates combine to form aIC

  • @Bwabel
    @Bwabel 4 роки тому +1

    Time to make a Turing machine in minecraft!

  • @theuberman7170
    @theuberman7170 4 роки тому +1

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

    • @ComputerScienceLessons
      @ComputerScienceLessons  4 роки тому +1

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

  • @americanskylines2789
    @americanskylines2789 4 роки тому

    My teacher assigned this to us.