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.
This is the clearest and shortest explanation I could possibly find. Thank you!
You're welcome :)KD
Best explanation ever, and the pacing is just right.
Thank you :)KD
Ur comment is efficient and accurate.
wholeheartedly agree
@@decrodedart2688 🗿
I swear my teacher couldn't get this across. I'm glad I found this channel.
How good are you with this stuff 3yrs later? I'm just getting started haha
@@FJ.Y the same here
I have learnt this for three years and I am able to create a calculator myself with logic gates.
@@kingking1223 how does that work?
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]
Pacing is excellent and the articulation and choice of words is spot on. Great video!
You are very kind. TY :)KD
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.
Aye that's why I'm here too lol
Ayyye got my General Written tomorrow lol
Dear God. My uni professor could not explain this for two straight weeks. You explained it in seven minutes. Thank you.
This is really cool. I managed to get a 93% on my test because of you. Thanks so much!
You're welcome. You did the work yourself - well done :)KD
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.
I can safely say this is the best introduction to logic gates. Everything flowed in a logical manner.
Thank you :)KD
Fr
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.
There's some good content on Crash Course but you need to be handy with the pause button. Glad to help :)KD
i have online school now and this was very helpful for my robotics, thank you for this very educational video :3
You are welcome. :)KD
Thanks for the video. Needed this to understand my uni books
THANK YOU sooo much for posting this!! This is the CLEAREST video ever!! It’s broken down where anyone can comprehend it!!
This is just the thing I was looking for. It's a perfect explaination
You are very welcome :)KD
Best teacher in the world ❤
I'm not sure about that but I really appreciate the sentiment. Thank you :)KD
Wonderful explanation.. after watching multiple videos finally found this one which has cleared many confusions of my mind.. thank you so much!
Thank you. You are most welcome :)KD
Thank you! This is the clearest and best explanation I have been able to find. I finally get the gate differences.
You are most welcome :)KD
Best explanation ur explanation was most better than my teacher
Delighted to help :)KD
Love it. Very well presented and nice pace!
Thank you :)KD
when watching you tube is more worth than going to school!`
Thanks for the positive comment. School still has a place (speaking as a teacher). :)KD
@@ComputerScienceLessons ❤love u bro
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 😉
Thanks using this I was able to build my own logic gates
delighted to help :)KD
Very good explanation. Keep up the good work!!
5 years later and this video is still saving souls
Thank you :)KD
thank you noble anglo saxon computer chief for salvaging me through this class
Fantastic british style teaching method.I did not have any idea about logic gate.i undrestood everything.
Delighted to help. :) Kevin
This video should be in a museum of computers, it's just perfectly explained
That's very flattering. Thank you :)KD
You've got such a beautiful british accent. And your explanation is very clear!
You're very kind. Thank you :)KD
I respect the explanation...simple and precise
Much appreciated. :)KD
Man you're too good at teaching 🤝
Thank you. You are very kind :)KD
Instant sub!
So easy to understand when explained like this
Thank you
Excellent video 🏆
Thank you very much. Welcome :)KD
short, simple and useful.
Thank you :)KD
BEST EXPLAINATION SO FAR
best explanation ever and wonderful every think
Thank you :)KD
Love this video what a great explanation ❤️
Thank you :)KD
This is good this will help me understand logic gates for the game ScrapMechanics because there are logic gates there
I've just had a look at ScrapMechanics. I might use it in the classroom. Thanks. :)KD
@@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
So much useful. And the presentation is awesome. Thanks alot!
Thank you so much, you have explained it perfectly
Thank you :)KD
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
Brain doesn’t trigger labor, the hormones do, brain doesn’t do sensory stuff like that.
@@Chief592 chemical and electrical logic gates
I think neurons work like transistors but different
Thanks dude! I passed my ict class with that one :D
Perfect and simple. Thank you very much !
You are most welcome :)KD
3:00 How are transistors made at such a small size?
science
@@chesterz4k108 geography*
this is a great video, clear explaination and pacing, kudos!
Thank you. :)KD
The way this guy talks makes me think that Jason Statham is teaching me computer science!
Thank you for this video!
I've been told that before. I wish I looked like him! :)KD
@@ComputerScienceLessons Me too!
Thank you for explaining this to me! :D
You're most welcome :)KD
Thank god I took intro to Logic before my this class.
I hope I helped :)KD
Great video
Thanks. :)KD
@@ComputerScienceLessons thanks to you..😃
i really like the xor gate bc of the complex logical sentence it has
Fantastic explanation.
great video, thank you for the effort.
You're most welcome :)KD
cheers mate!
more helpful than my prof
Glad to help :)KD
Very Informative
Very well done effort sir! Thank you.
Transistor are current-controlled, current devices. Valves are voltage-controlled, current devices. They are closer to a cmos power function then a bjt
Fantastic explanation! 5 stars
Thank you :)KD
Nice explanation Bro .... Thank You 👌👍
im just here, to recreate this in minecraft
I presume you are going to use Redstone? Check this out :)KD
ua-cam.com/video/YfbT2bxlV8I/v-deo.html
@@ComputerScienceLessons hey buddy its XD not KD lol
@@vissdog4k haha its jst similar lol
@@daz_6839 nah dog it kinda ruins the whole effect lol
Nice one lad sound
Thanks, this helps with my homework
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 :(
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
Just learn English
thanks for the vid dude this helped me a lot.god bless u
Happy to help. :)KD
great thanks to this tutorial i built an i9 12900k
Thank you very much! Extremely useful!
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!
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
@@ComputerScienceLessons so it's not like a resistor that can be bought off the shelf.?
Now i can hopefully do my cs50 projects
Thank you so much ! ❤
You are very welcome :)KD
Thank you.
You're welcome :)KD
best explanation ,, a sub and a like
Great Sir
Tnx :)KD
Thanks alot
You're welcome :)KD
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.
Thank you ❤
You are most welcome :)KD
So it's the position of the output that determines the behavior? In the not gate the signal bypasses the transistor??
i'm here just bcuz i have a test tomorrow...lol
Good luck :)KD
@@ComputerScienceLessons thks :)
ayo same :/
What's the name of the follow up tutorial for this subject or the link? Thank you. Sorry I can't find it.
This is the playlist, I hope it helps
ua-cam.com/play/PLTd6ceoshprfc_VVJYunO1BN9peCTMQgr.html
:)KD
@@ComputerScienceLessons thanks heaps :)
Thanks man!
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.
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
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
Real teacher: 📌
Comment most appreciated :)KD
Are different parts of computers just certain different combinations of logic gates?
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
@@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.
Take a look at this: ua-cam.com/video/2iURr3NBprc/v-deo.html
:)KD
@@ComputerScienceLessons thanks for link, couldn't find good sources,, appreciate it.
Once you understand the concept of the ohm law, how transistors work and logic gates, you wont get stuck in social media anymore.
:)KD
Life saver😭
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.*
Wich is the logic function of yes gate??? :(
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
Why is it the same as logical operators of C
Behind the scenes, low level program code is engaging these types of circuits (C is considered a low level language these days) :)KD
queen !!!
Great band :)KD
Thanx
+5v is always functional even if circuit is switched off
Asking
We all know why you're here but anyways good luck
Thanks :)KD
What kind of wire present in valves? Copper and epoxy ,
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
nice
Thanks :)KD
Your voice is beautiful
Why thank you :)KD
AND = *
OR = +
In Boolean algebras I guess
Yes indeed. When you are ready for it, you might find this interesting: ua-cam.com/video/EPJf4owqwdA/v-deo.html
:)KD
nice info
Thank you :)KD
@@ComputerScienceLessons ua-cam.com/video/ijXBJJiiau8/v-deo.html pl run and support
Moore powerful.
Ffs that’s a good explanation
wow! great lesson thanks very much indeed!
display how logic gates combine to form aIC
Time to make a Turing machine in minecraft!
Go for it. Redstone is fantastic :)KD
XD not KD
XD is funny laughing face
KD is is kill death ratio
Why the hell did my professor teach this without mentioning what a transistor is?
I think the underlying electronic components definitely need to be mentioned. You might find my series on DRAM interesting. :)KD
My teacher assigned this to us.