Using Basic Logic Gates - With & Without Arduino

  Рет қаралды 550,620

DroneBot Workshop

DroneBot Workshop

Күн бұрын

Learn how to use basic logic gates, both with and without an Arduino. We’ll work with some basic gates and we’ll add one to an Arduino to build a simple intruder alarm.
Article with code: dronebotworkshop.com/basic-lo...
More articles and tutorials: dronebotworkshop.com
Join the conversation on the forum: forum.dronebotworkshop.com
Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
This video is an hour long! You can use the clickable Table of Contents below to skip to the part that interests you most.
……………………………………………………………………………………
Finally, back in the workshop, this time working with chips that have been around for over half a century, but which still have a place in modern designs.
Basic logic gates are the backbone of all electronic devices. And while most of our focus these days is upon microcontrollers and microcomputers we can still find a use for these elementary electronic components. They are cheap, readily available, and they don't require any programming.
We’ll start off by going through the seven types of elementary gates. We'll then look at the different logic “families' that have evolved since these devices were first introduced in the 1960s.
After working with some elementary gates on a breadboard we’ll bring an Arduino into the picture for a couple of experiments.
First, we’ll see how to emulate all of the basic gates in code by building an Arduino logic emulator. This is actually a practical teaching device for this learning digital electronics, and it also will familiarize you with using Boolean algebra in your Arduino sketches.
Then we will combine a logic chip and an Arduino to make a simple but functional intruder alarm with both Open-Loop and Closed-Loop sensor inputs. It’s a simple circuit that you can expand upon to create a practical device, and it serves to illustrate how combining logic chips with modern microcontrollers can be a powerful design technique.
It's a long video so you might want to jump to the section that interests you most.
Here is the Table of Contents for today's video:
00:00 - Introduction
04:08 - Basic Logic Gates
10:03 - Online Logic Gate Simulator
14:10 - Buffers & Schmitt Triggers
19:37 - Logic Gate Families
28:14 - Logic Gate Test Demo
34:46 - 3-State Logic Demo
38:57 - Arduino Logic Gate Emulator
47:17 - Intruder Alarm
After watching this I hope you'll see that these chips are still very useful, despite their age.
Hope you enjoy the video, and I promise that I won’t make you wait as long for the next one!
Bill

Пікірлер: 355
@Dronebotworkshop
@Dronebotworkshop 3 жыл бұрын
So sorry for the delay since the last video was released, finally I have one for you. This is a long video, even for me, so if you want to skip to a specific section you can use the Table of Contents in the description. I actually have this is ALL my videos, not sure if everyone realizes that as some viewers never read the descriptions! I promise that I won't make you wait as long for the next video. Hope everyone is well and staying safe!
@riemanndiy6693
@riemanndiy6693 3 жыл бұрын
I will watch this video asap. Which hardware (IC buttons etc.) do I need for replicate your circuits before I start the video? Thank You in advance
@D4N50M3
@D4N50M3 3 жыл бұрын
You should be a Khan Academy contributor! Great content.
@stevemacbr
@stevemacbr 3 жыл бұрын
TOO MANY EMBEDDED ADVERTS - THUMBS DOWN. .
@Decco6306
@Decco6306 3 жыл бұрын
You put way too much effort into this. I don't think I'm going to skip any of it.
@oqibidipo
@oqibidipo 3 жыл бұрын
Hint: if you put the time first in the table of contents, KZfaq will create chapters that are easy to navigate (at least in the web interface).
@cryzz0n
@cryzz0n 2 жыл бұрын
Bill, you're a great teacher, video editor, communicator and technical knowledge source and you keep getting better. You're an international treasure. Thank you.
@andrewhollenbach7330
@andrewhollenbach7330 3 жыл бұрын
Out of all the tutorial channels I sub to, you speak at the best pace to comprehend new terms / ideas. Thank you for your hard work!
@bertbrecht7540
@bertbrecht7540 3 жыл бұрын
I am never confused during or after your presentations. Amazing precision of language and explanation. Thank you!
@vishwanmachar6956
@vishwanmachar6956 2 жыл бұрын
Hi kzfaq.info/get/bejne/ir9dY7Be35jQcoU.html
@gfodale
@gfodale 3 жыл бұрын
I wish you were around in '79 when I was going thru my 'A' school for electronics. Far better explained than what the Navy gave us and expected us to learn. Thought this might be a fun refresher, but is much more. Thank you. Regarding your concern for the wait, it's well worth the wait. Well done.
@aviandragon1390
@aviandragon1390 2 жыл бұрын
Anyone unfamiliar with the subject may not understand just how wide your search would have to be to gather all this information individually. There's nothing necessarily revolutionary about the info itself, but packaging it all together here and pre-chewing it for viewers new to electronics definitely earns a thumbs-up.
@mikeearls126
@mikeearls126 3 жыл бұрын
This guy is just gold. So solid in his delivery of these really complex topics.
@neilcorbett5057
@neilcorbett5057 3 жыл бұрын
I recently discovered your videos and am eagerly working through them. Some of the best I've seen, well paced, thoroughly explained and comprehensive. I take my hat off to you. Keep up the good work. From a 74 year old, always enjoying learning.
@aidanyoussef
@aidanyoussef 3 жыл бұрын
Was just scrolling through some of the comments, and unsurprisingly many of them echo my own thoughts. You really are an amazing teacher presenter and maker. Your knowledge, skill and passion are as admirable as they are inspirational. Ive no doubt that youve got countless minds, of no doubt all ages progressing in their tinkering, projects and general knowledge. Cheers bloke, good luck to you. I hope u get as much from it as we all do.
@haroldfinz4863
@haroldfinz4863 3 жыл бұрын
Incredibly enjoyable to watch. Your intruder alarm was brilliantly well-thought-out and instructive. Glad you're back.
@uvtube2008
@uvtube2008 3 жыл бұрын
A great class that let me re-tour and refresh all my 41 years of living with digital electronics and computers, right from the original vacuum tubes till the latest Arduino age! Thanks. I will use this video post as a quick way to show kids and newbies around me and get them acquainted with the rather old-fashioned deep down fundamentals of plug and play digital gadgets.
@Decco6306
@Decco6306 3 жыл бұрын
holy wow you went all out on this video. its an hour of content. You cant think how much i appreciate someone doing stuff like this. Honestly i always thought your work was underappreciated. Thanks a million for contributing content like this in the way you do.
@macdaddyns
@macdaddyns 3 жыл бұрын
Incredibly thorough tutorial! Thank you for taking the time to share your knowledge and interesting trivia with us!
@vishwanmachar6956
@vishwanmachar6956 2 жыл бұрын
Hi kzfaq.info/get/bejne/ir9dY7Be35jQcoU.html
@MrMorgan316
@MrMorgan316 3 жыл бұрын
Wow! Right when I looked for this it was uploaded a week before. I'm tire of people showing stuff with an Arduino, I was trying to do it without an Arduino so thank you!
@mbrad2669
@mbrad2669 3 жыл бұрын
I can now complete a project that I've had on the back burner because now I have a better understanding of logic chips! Thanks for clearing things up! Your explanations are always so thorough and understandable. Very enjoyable content
@trego9584
@trego9584 3 жыл бұрын
Hello Bill great to see your back hope all is well with you, This takes me back 35 years
@sbsarkar5659
@sbsarkar5659 3 жыл бұрын
This is an absolutely well thoughtout demo video for making the seemingly incomprehensible logic circuits easily understandable. Like all videos made by Bill, I am saving this one too for reference when needed. Thank you Bill for your hard work and making such educational videos freely available on youtube..
@vishwanmachar6956
@vishwanmachar6956 2 жыл бұрын
Hi kzfaq.info/get/bejne/ir9dY7Be35jQcoU.html
@sebastiank686
@sebastiank686 3 жыл бұрын
man this is so precise and understandable i love this
@change_your_oil_regularly4287
@change_your_oil_regularly4287 3 жыл бұрын
Where have you been all my life?! Speak clearly and at the right speed to let the information sink in. Great clip! Subscribed with full notifications. Thank you keep them coming.
@banban8481
@banban8481 3 жыл бұрын
This channel is more than a diy arduino channel which is a common thing. This channel actually teach me something and not just following an instruction.
@ainnovation6967
@ainnovation6967 3 жыл бұрын
For the channel about tech, your channel is the most informative. The way you arrange your lectures, animations, your clear narration, and your english as well is superb. Thanks for your time to teach us. I really appreciate it.
@realayer
@realayer Жыл бұрын
Just read this article and have now been watching your video, as with all of your videos- easy to understand and well put together. Always impressed by them,
@warrenscorner
@warrenscorner 3 жыл бұрын
Great to have you back Bill! Wow! That’s a lot of gates to comprehend. Looking forward to seeing more of DB1. Stay well.
@bramble444
@bramble444 3 жыл бұрын
This Video basically summed up most of the things my class and I learned over the last month, added some interesting information about the Chip Standards and compressed it in to an hour. It was easy to understand and also kept me watching far longer than I usually would. Thanks a lot and keep up the good work.
@cosmos2382
@cosmos2382 2 жыл бұрын
What are u learning?
@j.walterdiebold4999
@j.walterdiebold4999 3 жыл бұрын
This takes me back to 1962 and my first Navy school where I learned Basic Transistor Theory. We have come a long way in 58 years! Has it really been that long? Wow!
@cavicster
@cavicster 3 жыл бұрын
Awesome video Bill. Well worth the wait. Thanks for all the hard work and effort that you put into this channel.
@chazbarclay
@chazbarclay 3 жыл бұрын
If there is one YT channel I will support and I will, it's this one. Thank you for what you do.
@robhoward5222
@robhoward5222 3 жыл бұрын
You have made electronics accessible to me in ways I never thought possible. Addicted to your videos. THANK YOU!
@glennstasse5698
@glennstasse5698 3 жыл бұрын
Man! That’s one fine video. Info packed and usable. This really satisfied many curiosities of mine. Thanks for putting it together! Fantastic!
@ministeriomundialliberando8403
@ministeriomundialliberando8403 2 жыл бұрын
Before ending watching this video, I wanted to thank you for it. It is a school class but in a better and simple way. My deep appreciation.
@markc9871
@markc9871 3 жыл бұрын
Another gem. So informative. It took me back to a Digital Logic class in 1971.
@davelewis3963
@davelewis3963 2 жыл бұрын
Learned all of this back in the late 70's, and then promptly spent a career not using any of it. Just recently acquired a Uno and then your channel. Great material, and you are a great instructor. Thanks for putting the time and effort into these videos.
@electrucs219
@electrucs219 3 жыл бұрын
Great video, Bill. I think knowing about all these logical gates is a 'must' for everyone dealing with electronics since they are the core of all our favourite microcontrolers. Thank you for this Educational video!
@jamesreddy2188
@jamesreddy2188 Жыл бұрын
Fantastic video Bill, I am 72 years old and learning electronics to keep the brain cells moving. Your video’s are really helping.😊
@joestyles4639
@joestyles4639 3 жыл бұрын
Brilliant video! Your basic circuit helped me test my 4 year-old chips which I thought I'd manage to break years ago. Thank you and very helpful.
@valentinkovshik
@valentinkovshik 2 жыл бұрын
This is the best channel to learn electronics on KZfaq! Thank you for your work!
@stevenfinken5835
@stevenfinken5835 2 жыл бұрын
the entire lesson was both great review for me as well as new ideas. The most gratifying part was the transistor trivia and numbers at the closing. I love real nerd stuff, and the mechanics of the lesson was great, but the real nerd stuff at the end was priceless. Thank you, and well demonstrated.
@johnhoyle6390
@johnhoyle6390 3 жыл бұрын
Great explanation of Logics gates ( and, nor etc) with great graphics. Thank You.
@raycarlson1342
@raycarlson1342 3 жыл бұрын
You are not only an excellent teacher but a master class in making perfect videos. Thank you so much.
@gerardstrik2555
@gerardstrik2555 3 жыл бұрын
This was a nice brief and even practical introduction for a electronics newbee like myself. Thank you.
@eebaker699
@eebaker699 3 жыл бұрын
This is a great video for beginners like myself to understand. Thank you.
@marufhasan9365
@marufhasan9365 3 жыл бұрын
Great video! love the long-formate videos you produce. Different from any other content found on youtube.
@zerotogive56
@zerotogive56 3 жыл бұрын
I went to Devry didn’t learn much. Watched three or five of your videos and now im almost an engineer!! Very comprehensible material, thank you!!
@chrisconner1269
@chrisconner1269 2 жыл бұрын
Your videos, ESPECIALLY the logic video(s) are OUTSTANDING!!! Thank you!
@bobjacobs8643
@bobjacobs8643 3 жыл бұрын
This video was well worth the wait!!
@W1RMD
@W1RMD 2 жыл бұрын
I've subscribed to your channel a long time ago and I'm just now watching your videos. I didn't know that they would be this AWESOME! Your content and presentations are vivid and easy to follow. Thank you!
@UliTechMobile
@UliTechMobile 2 жыл бұрын
Nice. . . kzfaq.info/love/opohSuuZ44TLjn4E-c2sJw
@carlgradolph9676
@carlgradolph9676 3 жыл бұрын
Excellent presentation of both the 'why' and the 'how' of digital electronics basics for non-engineering types (like me). Clears up a lot of my confusion after reading (and re-reading) educational material aimed at the mathematically able... Answers the question of why CMOS and TTL chips are still in wide industry use in the age of microcomputing, and ties them into a nifty Arduino-based logic trainer! Another well-crafted tutorial from a truly gifted educator.
@frazier283
@frazier283 3 жыл бұрын
Great tutorial. I have always been inspired by the work you put into your tutorials. The graphics and visual aids are fantastic and as previously mentioned you're easy to follow because you don't rush the information however I was greatly disappointed in being interrupted by commercials.
@msinaki61
@msinaki61 3 жыл бұрын
Simply ,Thank you. Nicely explaining and articulated.
@MrArif009
@MrArif009 3 жыл бұрын
It's awesome.👌 I'm not going skip anything because it's interesting and educational too.
@imardreckmeyr882
@imardreckmeyr882 3 жыл бұрын
Brilliant video! Looking forward to watching more of your videos
@OsoPolarClone
@OsoPolarClone 3 жыл бұрын
I am only 20 minutes into your video and am enjoying it a lot and learning a lot. Thank you.
@alfonsmr
@alfonsmr 3 жыл бұрын
Sir, your videos are so well explained and so professional that I would like to say thanks, thank you very much for your work
@tapestapes0
@tapestapes0 10 ай бұрын
You Sir are Awesome! Thank you for putting into words what was to me uncomprehensible a couple of years ago. This information is priceless.
@daveb7999
@daveb7999 2 жыл бұрын
Excellent video Bill! Prior to this week, I knew next to nothing about logic gates. After watching this and a couple of your other videos, I feel as though I am close to understanding how logic gates can be used in a circuit to perform various tasks. My only complaint is that after watching this, I ordered over a hundred bucks of assorted sets of IC's, logic chips, N channel power mosfets, L7805's and more ...! Thanks for making learning fun!!
@zueistpriest
@zueistpriest 3 жыл бұрын
I learned/taught myself most of this using Minecraft a few years ago because I was trying to figure out a way to build a portcullis that would raise and lower in either direction with the push of a button. I wish I had your video back then as it would have saved me a ridiculous amount of frustration trying to map it all out in my head. The few things that I didn’t see were a delaying capability or a toggle between states but I’m sure those are already listed in a different video. If anyone is interested in testing out a “physical” representation in a digital format, play Minecraft and use red stone to build your circuits. Thanks for putting out content that people can learn from, it’s amazing what an imagination and learning can accomplish.
@SprocketN
@SprocketN 3 жыл бұрын
Brilliant! Thank you for creating this video.
@hojen321
@hojen321 3 жыл бұрын
Well done. thank you very much. Having never done any of this before, that was PERFECTLY clear.
@Lord-Black__
@Lord-Black__ 2 жыл бұрын
3 weeks of class umderstood in one night thank you very much sir!!!
@Timbofr3
@Timbofr3 3 жыл бұрын
A great learning as always. Thank you for this clear explanation.
@dafpnp
@dafpnp 3 жыл бұрын
A big thank you. Wonderfully put together
@Emperor_Atlantis
@Emperor_Atlantis 3 жыл бұрын
Been waiting for this video for a long time!
@gerryabbott
@gerryabbott 3 жыл бұрын
Really Detailed refresher on on of the most fundamental aspects of electronics. Many thanks
@MrBobWareham
@MrBobWareham 3 жыл бұрын
That was a logical approach to gates very good refresher we all forget about logic now with so many SBC's that are available thanks Bill for another very good video. Please stay safe Bob
@cwebs1000
@cwebs1000 2 жыл бұрын
GREAT INFO! Thanks, Carl
@TheDigitalAura
@TheDigitalAura 3 жыл бұрын
Fantastic. Great explanation at a perfect pace.
@beerkekjoer8642
@beerkekjoer8642 3 жыл бұрын
Dear Sir, thank you! Very helpfull and sooooooo well explained. I wished my kids had tutors like you.
@thimssj
@thimssj 3 жыл бұрын
WOW - Thank you.So many answers to so many of my questions. Thank you
@CdrSpock
@CdrSpock 2 жыл бұрын
Great videos, very high quality content. Thank you!
@Sjongleringsmannen
@Sjongleringsmannen 3 жыл бұрын
Thank you for sharing your competance! I love it! Respect!
@kagunaratna5141
@kagunaratna5141 2 жыл бұрын
A great lesson. I was not able to understand some facts until I watched this video. It make so easy to understand. Thank you.
@electronic7979
@electronic7979 3 жыл бұрын
Very helpful video. I liked it
@AlexFalkenberg
@AlexFalkenberg 3 жыл бұрын
Extremely well done, thank you
@shafiqalom8408
@shafiqalom8408 3 жыл бұрын
Very informative tutorial...I love Dronebot Workshop♥️
@ccv3237
@ccv3237 3 жыл бұрын
This is a fantastic video! Thank you very, very much. You have done an outstanding instructional video.
@philippeversailles2170
@philippeversailles2170 3 жыл бұрын
This is a fantastic video. Thanks a lot Bill
@amuesli5358
@amuesli5358 3 жыл бұрын
Excellent topic. Just what I wanted. :)
@MasterTv_777
@MasterTv_777 3 жыл бұрын
Where are you from?
@CodingScientist
@CodingScientist 3 жыл бұрын
This is fantastic, keep up the grate work Bill
@robertgitta6404
@robertgitta6404 2 жыл бұрын
I have enjoyed the entire presentation thanks a lot. Am a Laboratory tutor at college of engineering makerere university.this has very much enriched my skills in digital laboratory experiments using an arduino
@bopauhmaumau1
@bopauhmaumau1 3 жыл бұрын
another fantastic lesson.. Thanks for what you do.
@user-if1ze5hj6w
@user-if1ze5hj6w 3 жыл бұрын
Thank you for a fun lecture on the components of the interior ic
@michaelmounts1269
@michaelmounts1269 Жыл бұрын
Really great video! Thank
@bonekuhobonekuho2658
@bonekuhobonekuho2658 Жыл бұрын
Thanks for this very helpful video. I appreciate your videos.
@jelvinqueddeng2833
@jelvinqueddeng2833 3 жыл бұрын
Thank you for the unselfish teaching👍🏼👍🏼👍🏼👍🏼
@diegohmiranda100
@diegohmiranda100 2 жыл бұрын
Finaly here, with the master. Thank you.
@fahmywaleed
@fahmywaleed 3 жыл бұрын
Appreciate the amount of effort you put in your videos. I like your style and pace of explanation. Hope you can make video on Flip Flops and other more complicated logic circuits. Thanks
@indikaudayasaranga988
@indikaudayasaranga988 2 жыл бұрын
Great explanation. Thank you Sir
@PezhvakIMV
@PezhvakIMV 3 жыл бұрын
perfectly explained, thank you
@emil8367
@emil8367 2 жыл бұрын
Very interesting material, thank you !
@terencewright2223
@terencewright2223 3 жыл бұрын
A most excellent video. Thank you very much.
@terencewright2223
@terencewright2223 2 жыл бұрын
Excellent video, thank you very much.
@josephsworkshop75
@josephsworkshop75 3 жыл бұрын
Great video. You have helped me with a current project greatly! Thanks for your great content. :-)
@jj74qformerlyjailbreak3
@jj74qformerlyjailbreak3 2 жыл бұрын
Thanks for adding a Truth Table in the Description. Adding Logic to your output description was a nice touch. You rarely see that nowadays. Like someone will reverse engineer it Xor something. Not having it IS equivalent to sanding the part numbers on Cheap Chinese Products. Only thing they accomplish is buying time. God Bless.
@splyit
@splyit 3 жыл бұрын
I'm happy to see new video from you. Hope the best for you
@packempty2523
@packempty2523 Жыл бұрын
Thank you for great video.
@JLCPCB
@JLCPCB 2 жыл бұрын
Great explanation to the topic! 🙂
@jonathanchan2067
@jonathanchan2067 3 жыл бұрын
Very good video, good explanation
@cloviscareca
@cloviscareca 3 жыл бұрын
Excellent. You're the best. Watching this video
@michaelzajac5284
@michaelzajac5284 3 жыл бұрын
Dear Dronebot, I taught the hard way, used my XOD with Digital Gates. It was worked!
@michaelrydahl8669
@michaelrydahl8669 2 жыл бұрын
Thank you very much very informative, I have learned a whole lot, clear and easy to understand information
Op-Amps  - Using Operational Amplifiers
44:21
DroneBot Workshop
Рет қаралды 267 М.
IR Remotes & Microcontrollers - Arduino & ESP32
1:31:50
DroneBot Workshop
Рет қаралды 152 М.
Каха инструкция по шашлыку
01:00
К-Media
Рет қаралды 4,2 МЛН
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 7 МЛН
Countries Treat the Heart of Palestine #countryballs
00:13
CountryZ
Рет қаралды 10 МЛН
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 18 МЛН
How Do Computers Remember?
19:32
Sebastian Lague
Рет қаралды 6 МЛН
Using the 555 Timer
42:18
DroneBot Workshop
Рет қаралды 971 М.
Is a Completely Mechanical CPU possible?
12:32
Wesley Kagan
Рет қаралды 610 М.
Making logic gates from transistors
13:02
Ben Eater
Рет қаралды 2,6 МЛН
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Arduino MASTERCLASS | Full Programming Workshop in 90 Minutes!
1:25:31
Programming Electronics Academy
Рет қаралды 2,3 МЛН
Power For Your Electronics Projects - Voltage Regulators and Converters
37:26
DroneBot Workshop
Рет қаралды 1,2 МЛН
Visualizing Data with 7-Segment Displays
34:26
Sebastian Lague
Рет қаралды 1,2 МЛН
Arduino Uno to ATmega328 - Shrinking your Arduino Projects
37:17
DroneBot Workshop
Рет қаралды 776 М.
#1099 How I learned electronics
19:55
IMSAI Guy
Рет қаралды 1,2 МЛН
#goodthing #respect
1:01
wen ling
Рет қаралды 20 МЛН
Тайна голубого озера😱
0:35
FilmBytes
Рет қаралды 1,5 МЛН
Left or right little granny #shorts by Secret Vlog
0:29
Secret Vlog
Рет қаралды 8 МЛН
big Baby 😭🍼 @andreyreactions
0:13
Andrey Grechka
Рет қаралды 11 МЛН
ToRung short film: babies help the elderly🙏
0:35
ToRung
Рет қаралды 34 МЛН
Can you do it?! #kidsfun #kidslearning
0:17
J House jr.
Рет қаралды 39 МЛН