Using Basic Logic Gates - With & Without Arduino

553,253
0
Published 2020-09-07
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-logic/
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

All Comments (21)
  • 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!
  • @cryzz0n
    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.
  • 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
    I am never confused during or after your presentations. Amazing precision of language and explanation. Thank you!
  • @aviandragon1390
    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.
  • @banban8481
    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.
  • @trego9584
    Hello Bill great to see your back hope all is well with you, This takes me back 35 years
  • 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!
  • @gfodale
    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.
  • Fantastic video Bill, I am 72 years old and learning electronics to keep the brain cells moving. Your video’s are really helping.😊
  • @mikeearls126
    This guy is just gold. So solid in his delivery of these really complex topics.
  • @MrMorgan316
    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!
  • @neilcorbett5057
    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.
  • @uvtube2008
    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
    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.
  • @mbrad2669
    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
  • @chazbarclay
    If there is one YT channel I will support and I will, it's this one. Thank you for what you do.
  • @sebastiank686
    man this is so precise and understandable i love this
  • @aidanyoussef
    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.
  • @warrenscorner
    Great to have you back Bill! Wow! That’s a lot of gates to comprehend. Looking forward to seeing more of DB1. Stay well.