Making Intelligence with Basic Switch

Ғылым және технология

Intelligence and Consciousness is made of simple switches, let’s make logic with relays!
AND Get your first month of KiwiCo FREE at kiwico.com/ElectroBOOM
Seems you guys were interested in my bread board power supply, here a link to their website: www.eimtechnology.com/
Thanks for your support @ / electroboom
Checkout my merch: teespring.com/stores/electroboom
Post your submissions to: / electroboom
My Facebook: / electroboom
My Twitter: / electroboomguy
My other articles: www.electroboom.com/
Thanks to CircuitSpecialists.com and keysight.com for proving my essential lab tools and giveaways.
Checkout my Amazon picks (my affiliate link): www.amazon.com/shop/Electroboom
Below are my Super Patrons with support to the extreme!
Nicholas Moller at www.usbmemorydirect.com
Sam Lutfi
EIM Technology: www.eimtechnology.com/
Peter Membrey
Enter your school for tools: goo.gl/forms/VAgRre8rLVvA1cEi2
My sponsors and top patrons: www.electroboom.com/?page_id=727
By: Mehdi Sadaghdar
0:00 Humble Switch Makes Intelligence
0:49 Introduction to Basic Logic and Gates
5:26 Making Logic Gates with Relays
13:04 How every computer is just made of switches

Пікірлер: 4 300

  • @ElectroBOOM
    @ElectroBOOM2 жыл бұрын

    HEY! Hope you had your dose of switch this morning to keep your intelligence high!! at 2:22 on my OR truth table I forgot to change the text from AND to OR! But it is an OR and not an AND!

  • @modernmemes5755

    @modernmemes5755

    2 жыл бұрын

    Love from india

  • @modernmemes5755

    @modernmemes5755

    2 жыл бұрын

    If you are reading please like sir.

  • @shariakkid2

    @shariakkid2

    2 жыл бұрын

    Make a video of yourself getting electrocuted

  • @DipFF_Youtube

    @DipFF_Youtube

    2 жыл бұрын

    😀

  • @JPGpack

    @JPGpack

    2 жыл бұрын

    Hello

  • @marsgizmo
    @marsgizmo2 жыл бұрын

    this is a great intro, for digital electronics 😌

  • @novisor9704

    @novisor9704

    2 жыл бұрын

    Hey

  • @Hitycooking

    @Hitycooking

    2 жыл бұрын

    kzread.info/dash/bejne/mGp61q2TfJi7fLDJ.htmljrj5

  • @yuxuanhuang3523

    @yuxuanhuang3523

    2 жыл бұрын

    had a headache trying to help my friend out with digital circuits. now it is much clearer. p.s. it is not what I need to learn this year, just trying to be helpful

  • @deeareus9886

    @deeareus9886

    2 жыл бұрын

    You are here too? Happy to share chanels😊

  • @Henrix1998

    @Henrix1998

    2 жыл бұрын

    And for digital design

  • @Verlisify
    @Verlisify2 жыл бұрын

    Good minecraft redstone tutorial

  • @Lol-ud8cs

    @Lol-ud8cs

    2 жыл бұрын

    Respect the switch

  • @Trauma284

    @Trauma284

    2 жыл бұрын

    im so glad im nto the only one that went to redstone

  • @hankhill6899

    @hankhill6899

    2 жыл бұрын

    This was the exact same thing I told my professor after he was done lecturing logic gates. I miss the University days.

  • @thisaccountisntreal107

    @thisaccountisntreal107

    2 жыл бұрын

    @epic sans the Minecraft switch is extra powerful It generates power using only a wooden stick and a some stone

  • @The_Native_wolfAK

    @The_Native_wolfAK

    2 жыл бұрын

    @epic sans but why is there bigger switch in real life

  • @MaxWattage
    @MaxWattage2 жыл бұрын

    As a small child in the 1970s, I remember my Father demonstrating logic to me by building a 4-bit adder, using indicator-lamps, toggle-switches, and relays, all mounted on an aluminium frame. Lots of neatly soldered wires all laced together into bundles with waxed string, telecoms style. He used to work for the UK's Post Office Telecommunications, back when they ran the national phone system (before BT was formed), then he taught electronics.

  • @mahmoody4200

    @mahmoody4200

    Жыл бұрын

    This was the exact same experience i had with my father back then in the 90s, he also worked in Morocco Post office telecommunications, and thought himself electronics by correspondence he used to do DIY electronic board projects. To this day i look back at those memories with great amazement.

  • @mikehorn2924
    @mikehorn29242 жыл бұрын

    Hey Mehdi. I don’t know if you ever look back through comments, but if you do I want to say a massive thankyou. I’m 34 and have spent my life as an electrical installation engineer, now following an injury I’ve retrained as a design engineer and continue to search for a career in something I feel so passionate about. This video, just like all your videos has inspired me to learn different aspects of electrical and electronic circuitry that I never considered before, and continue to expand my knowledge. I now want to get a deeper understanding of Logic! Anyways, keep up the great work mate. 100% best channel on KZread 👍🏻 Once again, many thanks.

  • @ananintesarbinfaiz863
    @ananintesarbinfaiz8632 жыл бұрын

    Me when I’m watching electroboom alone: 4:48 Electroboom when my parents walk in: 5:16

  • @krazyunnameduser8892

    @krazyunnameduser8892

    2 жыл бұрын

    Lmao

  • @longlivethephoenix

    @longlivethephoenix

    2 жыл бұрын

    don't forget 9:30

  • @Wtfinc

    @Wtfinc

    2 жыл бұрын

    I don’t get it

  • @UTKETCHUP

    @UTKETCHUP

    2 жыл бұрын

    lol

  • @UTKETCHUP

    @UTKETCHUP

    2 жыл бұрын

    @@longlivethephoenix 9:35 but yes

  • @ThirtyVirus
    @ThirtyVirus2 жыл бұрын

    programmers: "Hey, I've seen this one before!"

  • @yeppiidev

    @yeppiidev

    2 жыл бұрын

    as a programmer I can confirm (and damn first time seeing ya here! didn't know you watched electroboom!)

  • @ajf130

    @ajf130

    2 жыл бұрын

    yo whats up thirty

  • @charlesirwingarado3114

    @charlesirwingarado3114

    2 жыл бұрын

    :DD

  • @nekkowe

    @nekkowe

    2 жыл бұрын

    Three basic components, AND, OR and NOT... or just use NAND gates for everything, that's fine too :P

  • @808scripty

    @808scripty

    2 жыл бұрын

    *flash back

  • @joshmdmd
    @joshmdmd2 жыл бұрын

    This man officially wins youtube. The first 5 minutes are enough to understand digital logic. The rest of the video covers the entire course in digital logic. I am but a humble mechanical with a specialization in mechatronics.

  • @2012TheAndromeda
    @2012TheAndromeda2 жыл бұрын

    This was quite an informative refresher! Thanks!! Also, that was such a smooth transition at 11:14

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New technology for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html is still on testing prototype

  • @justinmiller129

    @justinmiller129

    2 жыл бұрын

    Oqmima, it reminds me of *_these mice_* kzread.info/dash/bejne/iHlqsdmEn6m5cpM.html

  • @thejackal007
    @thejackal0072 жыл бұрын

    I'm getting the impression that I learn best through violence and partially angry teachers. Thanks, Electroboom!

  • @user-ky9sq8sy8k

    @user-ky9sq8sy8k

    2 жыл бұрын

    > I learn best through violence and partially angry teachers It's not violence and angry - it' expressiveness and emotions that that makes the best teachers

  • @eyeveedeath

    @eyeveedeath

    2 жыл бұрын

    You'll do well in industrial maintenance.

  • @shaikhahmed7929

    @shaikhahmed7929

    2 жыл бұрын

    Most asian students would agree 😁

  • @user-ky9sq8sy8k

    @user-ky9sq8sy8k

    2 жыл бұрын

    @@eyeveedeath > industrial maintenance Oh, what a "calm and peaceful" job...

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @PlasmaChannel
    @PlasmaChannel2 жыл бұрын

    You may have demystified the most pixie-dust topic out there. Thank you my friend.

  • @thedoeverything418

    @thedoeverything418

    2 жыл бұрын

    indeed he did

  • @gokaytaspnar1355

    @gokaytaspnar1355

    2 жыл бұрын

    Indeed he did

  • @saimohnishmuralidharan5440

    @saimohnishmuralidharan5440

    2 жыл бұрын

    Indeed he did.

  • @georgejuckes5934

    @georgejuckes5934

    2 жыл бұрын

    Indeed he did

  • @practixal

    @practixal

    2 жыл бұрын

    Indeed he did.

  • @Simmons101
    @Simmons1012 жыл бұрын

    Thank you for another elegant and fantastic crash course video! This perfectly summed up the basic fundamentals of my Digital Logic and Design course at University. One thing thats really interesting is using transistors to make switches and gates. When we use PNP or NPN transistors to make gates our professor highlighted that it's impossible to make native AND and OR gates due to how the transistors work with logic. We can make NAND and NOR gates really easily however, so we just use an inverter on the output of inverted logic gates go make them normal gates. Though we can use boolean algebra to determine if it's a good idea to do so, or if we save transistors by using NAND, NOR, and XNOR gates instead.

  • @connoredling8864
    @connoredling88642 жыл бұрын

    I got my BS in computer engineering in 2019 so this is the exact stuff i learned and had to apply when we got to microcontrollers and especially FPGAs. Its really genuinely amazing to see you covering a topic i learned in school and its still familiar!

  • @timesthree5757

    @timesthree5757

    2 жыл бұрын

    Ok, I know what Bullshit is. But what is foreplay gaming animai?

  • @Kragatar
    @Kragatar2 жыл бұрын

    9:34 The delayed reaction censor blur makes it twice as funny. xD

  • @UnitedTrap

    @UnitedTrap

    2 жыл бұрын

    😂😂

  • @DerMarkus1982

    @DerMarkus1982

    2 жыл бұрын

    What about 5:16? 😀

  • @PWN_Nation

    @PWN_Nation

    2 жыл бұрын

    Especially because he has "notted" all over the statements...

  • @yogendrabhilala5497

    @yogendrabhilala5497

    2 жыл бұрын

    Lets go a bit behind (almost 3-4 second back) He said: let's make it more complicated😂😂😂😂

  • @Kragatar

    @Kragatar

    2 жыл бұрын

    @@DerMarkus1982 lol Yeah, how did he keep a straight face drawing that? xD

  • @TheREALHelly
    @TheREALHelly2 жыл бұрын

    Coming from a computer engineer, the amount (and quality) of information covered in this video is simply astonishing. Thank you for your videos and your brow

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @dillondoggett3190

    @dillondoggett3190

    Жыл бұрын

    I thought the same thing haha. I watched this years ago before realizing I wanted to go into software development. Rewatching it now like 😮

  • @yordanyankov6912
    @yordanyankov69122 жыл бұрын

    I absolutely enjoy revisiting old topics through your videos and filling in some gaps. Thank you!

  • @Edsabre
    @Edsabre Жыл бұрын

    I'm taking Digital Circuit Design this semester and I swear you've explained the first month of classes in this 15 minute video. Bless you, sir.

  • @youradvertisehere
    @youradvertisehere2 жыл бұрын

    Being a developer for 20 years now i cannot stop watching him explaining what a statement is. Great video

  • @MostlyPennyCat

    @MostlyPennyCat

    2 жыл бұрын

    Bloody KZread deleting my comments again and again. 2nd time, go have a go with FPGAs, they're a lot of fun

  • @ryanisacuc8381

    @ryanisacuc8381

    2 жыл бұрын

    I like how KZread can explain an entire university course in about 15 minutes instead of a 10 week quarter. Only question is will someone retain the information with only watching it once vs someone who learned the same info over ten weeks?

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @extrastuff9463

    @extrastuff9463

    2 жыл бұрын

    @@ryanisacuc8381 Detailed retention probably won't be great, but if they ever randomly encounter it or get formal teaching about it hopefully remembering a rough big picture of things can be helpful. Either to put the lecture in its right place or when stumbling into it randomly by knowing what things to read up on.

  • @rowdybliss
    @rowdybliss2 жыл бұрын

    Mehdi - I really appreciate your attention to detail… at 9:40, you clearly said “NAND” originally, but you went back and dubbed it over with the correct terminology, which tells me that you really paid attention when you went back over this material. You’re a great teacher (even if I don’t 100% understand everything all the time and usually need to re-watch a few times), and I just wanted to let you know that I appreciate your meticulousness… as well as your sense of humor. :)

  • @b0rd3n
    @b0rd3n2 жыл бұрын

    "Only true if i find you and i kill you!" - This is a masterpiece of Canadian dialog! That made me laugh so much! Thanks!

  • @dany08011
    @dany080112 жыл бұрын

    You've done it again, you resumed an entire semester long subject at my university in just one video, truly thank you for your amazing work!

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @ziul123

    @ziul123

    2 жыл бұрын

    @@MikeJohnMentzer yup, if at the end of the semester they only got to a D-latch in complexity there is something seriously wrong.

  • @mostlyokay

    @mostlyokay

    2 жыл бұрын

    Hey! Hope I'm not being too annoying, but I think you meant "summarized" instead of "resumed". (I speak a latin language too)

  • @dany08011

    @dany08011

    2 жыл бұрын

    @@mostlyokay oh yeah my bad hehe thanks. I'm mexican btw, where are you from?

  • @mostlyokay

    @mostlyokay

    2 жыл бұрын

    @@dany08011 Gald I could help! Learning new things is always good. I'm from Brazil! What do you study at uni?

  • @bitsofgeek
    @bitsofgeek2 жыл бұрын

    Glad to see ElectroCUTE still joining in the fun :D

  • @dr_jaymz

    @dr_jaymz

    2 жыл бұрын

    They grow up so fast.

  • @Shaun.Stephens

    @Shaun.Stephens

    2 жыл бұрын

    @@dr_jaymz IKR? See had lipstick on!

  • @dosenwali361

    @dosenwali361

    2 жыл бұрын

    @@dr_jaymz true :")

  • @Mzyofficial

    @Mzyofficial

    2 жыл бұрын

    Yes

  • @dr_jaymz

    @dr_jaymz

    2 жыл бұрын

    Its nice if the take any interest at all in what you do but often they don't. By now though she can probably edit video and deal with the cameras. I guess it's training for a future content producer, a job that didn't exist a decade ago.

  • @AERIEDM
    @AERIEDM Жыл бұрын

    I love all of your videos. This video in particular explains the basics of logic which is great. You could follow this up with explaining bits, bytes and data strings. This is basically the introduction into modern computing. Amazing.

  • @darreal376
    @darreal3762 жыл бұрын

    This literally helped me refresh my mind for logic circuits and design!.

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New technology for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html is still on testing prototype

  • @Lampe2020
    @Lampe20202 жыл бұрын

    5:14 The moment you realized as what your drawing can also be interpreted 😆

  • @Istadamus

    @Istadamus

    2 жыл бұрын

    just minutes earlier he was NOTing all over a statement

  • @stephenhanna9677

    @stephenhanna9677

    2 жыл бұрын

    "Willy, what's that?" "Well, it looks like a giant..." "Johnson!" "Yes, sir."

  • @SteffDev
    @SteffDev2 жыл бұрын

    This logic stuff sounds so simple but it can get real complicated really quick !

  • @zogworth

    @zogworth

    2 жыл бұрын

    Yeah to me it's fully Joey speaking French meme.

  • @NxVernxual

    @NxVernxual

    2 жыл бұрын

    It's logic , not philosophy also what you expected?

  • @VivekYadav-ds8oz

    @VivekYadav-ds8oz

    2 жыл бұрын

    That's why we programmers use the most mightiest of power ... ABSTRACTION! Forget about the lower-level details like the relay and focus on gluing together higher-level constructs like logic gates!

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @noobulon4334

    @noobulon4334

    2 жыл бұрын

    The complicated part is using it to solve real problems!

  • @bah3698
    @bah36982 жыл бұрын

    0:01 look! A mini Mehdi at the printer!

  • @Darksunbird
    @Darksunbird2 жыл бұрын

    this is great! you're teaching so much with this simple lesson. as a programmer i salute you and thank you for teaching future generations of learners .

  • @Lilium213
    @Lilium2132 жыл бұрын

    Start of the video: "This looks interesting" End of the video: *having PTSD flashbacks from uni and that GODDAMN boolean algebra*

  • @clean_casual2473

    @clean_casual2473

    2 жыл бұрын

    Same.....

  • @MadScientist267

    @MadScientist267

    2 жыл бұрын

    Couldn't handle it eh? 🤣

  • @clean_casual2473

    @clean_casual2473

    2 жыл бұрын

    @@MadScientist267 What I couldn't handle was my professor. and he wasn't the professor that taught me logic.

  • @MadScientist267

    @MadScientist267

    2 жыл бұрын

    @@clean_casual2473 heh yeah that'll do it

  • @satakrionkryptomortis

    @satakrionkryptomortis

    2 жыл бұрын

    you knew what you were into as soon as you saw the switch.

  • @klfjoat
    @klfjoat2 жыл бұрын

    You have compressed a 5-day, 8-hour-per-day logic class I took at age 13 into 15 minutes. I LOVE IT!!!

  • @UhOhUmm

    @UhOhUmm

    2 жыл бұрын

    Yeah, but if you showed this video to someone that has not dealt with any of this stuff it would be hard to understand, multiple rewatches and multiple pauses would be needed.

  • @Henrix1998

    @Henrix1998

    2 жыл бұрын

    This is about 1.5 lectures in university

  • @nicolaywilhelmsen405

    @nicolaywilhelmsen405

    2 жыл бұрын

    @@UhOhUmm not really i understand it somehow

  • @sanjikaneki6226

    @sanjikaneki6226

    2 жыл бұрын

    @@Henrix1998 or more and we didnt need to fight the breadboard to see the result

  • @NanoMine

    @NanoMine

    2 жыл бұрын

    @@nicolaywilhelmsen405 Lets see how well you hold that information in future by just having this brief intro.

  • @enorazza
    @enorazza2 жыл бұрын

    I will watch it again! So helpful and well done. Great work Mehdi!

  • @amazingstink
    @amazingstink2 жыл бұрын

    I don’t get to work with base electronics and hardware often as I do software but I always love your videos and this one was particularly interesting as it showed me how you can do logic baked into a circuit instead of using software with if statements

  • @leandrobarrientos8868
    @leandrobarrientos88682 жыл бұрын

    5:10 Wasn't ready for this 😂

  • @kronusaerospace8872
    @kronusaerospace88722 жыл бұрын

    Listening to Mehdi talk about "Notting" is not something my brain was prepared for

  • @ElbowDeepInAHorse

    @ElbowDeepInAHorse

    2 жыл бұрын

    Oh my god.

  • @thatkindcoder7510

    @thatkindcoder7510

    2 жыл бұрын

    "Notting (Nutting) always comes (>:D) first, unless you not (nut) all over a large statement."

  • @thatkindcoder7510

    @thatkindcoder7510

    2 жыл бұрын

    And also 5:14

  • @w1ndblade810

    @w1ndblade810

    2 жыл бұрын

    Your repliers are clearly not perverted enough if they didn't think of knotting 😂

  • @thatkindcoder7510

    @thatkindcoder7510

    2 жыл бұрын

    @@w1ndblade810 That's more concerning to hear about than* perverted, if they hear knots

  • @TheMuzykant
    @TheMuzykant2 жыл бұрын

    2:46 My goodness, that cracked me up so much!

  • @Cannotoad1201

    @Cannotoad1201

    Жыл бұрын

    2:32

  • @EdwardMillen
    @EdwardMillen2 жыл бұрын

    Wow! Up until now I didn't really fully understand how logic gates worked... or at least I thought I didn't. I stopped doing electronics in school (or rather, the electronics teacher left and they never replaced him) before they got as far as anything like this, and I didn't really get any further into electronics myself after that, but I was properly getting into programming at around the same time. After just the first few minutes of this video, I've realised that logic gates work exactly the same way as if statements (which I'm very familiar with), just with specific names for different types, and you've explained what each name translates to so now (if I ever needed to) I would know exactly how to use them!

  • @MiguelDuboisSwarm
    @MiguelDuboisSwarm2 жыл бұрын

    Computer programmer here: After years of watching Mehdi, there's finally something I understand at the first watch.

  • @user-vn7ce5ig1z

    @user-vn7ce5ig1z

    2 жыл бұрын

    Mmmm… Karnaugh maps. 😋

  • @wlockuz4467

    @wlockuz4467

    2 жыл бұрын

    I know right :D

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @justinmiller129

    @justinmiller129

    2 жыл бұрын

    It reminds me of *_these mice_* kzread.info/dash/bejne/iHlqsdmEn6m5cpM.html&.exhma

  • @EdwardMillen

    @EdwardMillen

    2 жыл бұрын

    Same here! And I didn't even realise until watching this video... logic gates are just if statements, so it turns out I already know how to use them!

  • @alden1132
    @alden11322 жыл бұрын

    "Medhi has a certain set of skills...skills that make him a nightmare for people like Safety Inspectors..."

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @sugars205
    @sugars2052 жыл бұрын

    Fantastic refresher... I finished my btec lvl three 7 years ago. Taken me till now to get an electrical role.... Your vids have been great re-caps for me 👍 thank you

  • @PBeringer
    @PBeringer2 жыл бұрын

    Such an incredible introduction to logic gates! Can't believe I hadn't watched this one! It's one of the best ...

  • @valrina
    @valrina2 жыл бұрын

    The feeling when you design way more complicated circuits in school, but still enjoy medhi telling you what you learned before.

  • @user-ky9sq8sy8k

    @user-ky9sq8sy8k

    2 жыл бұрын

    >medhi Oh, he will be soo upset with you...

  • @RelaxingGamingAmbience
    @RelaxingGamingAmbience2 жыл бұрын

    5:21 "you nut all over the XOR equation..."

  • @soulasher
    @soulasher2 жыл бұрын

    Love your videos, going through PLC classes right now and this seemed pretty similar in nature. Keep it up boom

  • @jessewebb6183

    @jessewebb6183

    2 жыл бұрын

    Instrumentation & Electrical? I'm working on PLC's myself, and Medhi's videos are actually informative.

  • @Remy561
    @Remy5612 жыл бұрын

    Great video explaining computing basics! Loved it!

  • @MasterGeekMX
    @MasterGeekMX2 жыл бұрын

    As a computer sciences student: excellent job. We see this on the introduction to computing and computer architecture class. Also, in programming languages AND, OR and NOT are widely used. In most languages, AND is expressed as &&, OR as || (nor an L, it is the vertical bar) and NOT as !. so the XOR equation at 4:53 will be Q = (!a && b) || (a && !b)

  • @Atlas_Enderium

    @Atlas_Enderium

    2 жыл бұрын

    What languages use && for AND and || for OR? I am currently only familiar with conditional statements and Boolean logic in Python, which uses just “and” for AND and “or” for OR

  • @keeleyhoek

    @keeleyhoek

    2 жыл бұрын

    @@Atlas_Enderium All C programming language derivatives: C, C++, Java, C#, Rust, Javascript, Swift, PHP, Ruby, Dart, etc. (basically everything in common use except python)

  • @eneg_

    @eneg_

    2 жыл бұрын

    @@Atlas_Enderium python also uses & and | as operators, albeit they are "bitwise". Operations on bits of integers as well as on hashed data structures like dicts and sets can be done using those. I assume you haven't used sets yet, so go have a read.

  • @jeremypnet

    @jeremypnet

    2 жыл бұрын

    Actually, for any C like language that has a proper Boolean type, xor is more easily expressed as a != b and xnor is a == b. It doesn’t work for C itself because you can treat any integral type as a Boolean including pointer types.

  • @rich1051414

    @rich1051414

    2 жыл бұрын

    Q = (a != b)

  • @petricaghimpu5914
    @petricaghimpu59142 жыл бұрын

    FINALLY, I searched a while for a video that explains the REAL logic behind using switches for CPU's and SOC's. Amazing work, love your videos!

  • @prathamkalgutkar7538

    @prathamkalgutkar7538

    2 жыл бұрын

    Check Ben eater, he have a many videos building an 8 bit computer and a graphic card on breadboarf and more

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @jonbrowning7340
    @jonbrowning7340 Жыл бұрын

    Goodness I wish this video existed when I was first trying to wrap my head around this. Latches confused me so much when I first started learning about logic gates. You truly have a gift for making things make sense.

  • @unfa00
    @unfa002 жыл бұрын

    I never thought a class about logic gates can be so entertaining. Thank you!

  • @TenaciousP5k
    @TenaciousP5k2 жыл бұрын

    5:17 is where my consciousness transcended into pure laughter. love u mehdi

  • @oscarmiranda8236

    @oscarmiranda8236

    2 жыл бұрын

    Shut up

  • @adammirza660

    @adammirza660

    2 жыл бұрын

    @@oscarmiranda8236 *we do not care*

  • @oskimac

    @oskimac

    2 жыл бұрын

    hello petaaaaa

  • @ketas

    @ketas

    2 жыл бұрын

    now i know what's inside of xor gate...

  • @user-vn7ce5ig1z

    @user-vn7ce5ig1z

    2 жыл бұрын

    He's surprisingly bald for a looss bacheh. 😛

  • @coorbin
    @coorbin2 жыл бұрын

    Though I've already committed all of this information to my body of knowledge years ago (I'm a practicing programmer), the way you present this video was extremely clear and entertaining. This is the norm for you of course, but it was really exciting to see you cover the fundaments of logic for your audience. I'm so glad you're around and doing these videos. Congratulations on creeping up on 5 Million subs!

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New technology for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html is still on testing prototype

  • @timgibson4562
    @timgibson45622 жыл бұрын

    Great topic! This is about as far as I got in school. Logic gates and their operations... brought back some memories!

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New technology for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html is still on testing prototype

  • @suspense_comix3237
    @suspense_comix3237 Жыл бұрын

    People: “So what computer do you work on?” ElectroBOOM with his Relay Computer: Ben Eater in the corner of the room:

  • @CottonTailJoe
    @CottonTailJoe2 жыл бұрын

    Just wanted to point this out I am finally going into an electrical career mostly because of your channel. Thank you!

  • @Hitycooking

    @Hitycooking

    2 жыл бұрын

    kzread.info/dash/bejne/mGp61q2TfJi7fLCY.htmljrhr

  • @bringer-of-change

    @bringer-of-change

    2 жыл бұрын

    Huge congratulations! That's freaking awesome.

  • @RealJohnnyDingo

    @RealJohnnyDingo

    2 жыл бұрын

    ... and I'm going into a career in ISIS! all this digital logic is Western lies

  • @akashghosh1151

    @akashghosh1151

    2 жыл бұрын

    @@RealJohnnyDingo lmao wtf??

  • @TunaSub1gf
    @TunaSub1gf2 жыл бұрын

    Hoestly this is a perfect example of golden teachings on KZread, You make learning fun and relatable. A lot of the videos that you upload have core fundamentals on electronics and electricity and make it enjoyable to watch.

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @theheadpriest

    @theheadpriest

    2 жыл бұрын

    @@shramadurai7287 say it with me "BOT!"

  • @MT-qt3mk

    @MT-qt3mk

    2 жыл бұрын

    @@theheadpriest “BOT!”

  • @theheadpriest

    @theheadpriest

    2 жыл бұрын

    @@MT-qt3mk Yeah thats the spirit

  • @Raikos100
    @Raikos1002 жыл бұрын

    "It's also truth if you listen to me and I still beat you" 🤣🤣🤣 My sides. This is the embodiment of how parents works.

  • @danek_hren
    @danek_hren8 ай бұрын

    13:07 he starts inspiring using music and words. TYVM, Mehdi, for your existence and knowledge! 😊

  • @IAMCUBEMAN
    @IAMCUBEMAN2 жыл бұрын

    This takes me back to computer engineering. You're far better at explaining logical operations than my philosophy professor, who took 3 weeks to explain everything you've gone over in this one video

  • @ManjotSingh-sf2ri

    @ManjotSingh-sf2ri

    2 жыл бұрын

    Why is your philosophy professor teaching computer engineering

  • @mawwalmazie

    @mawwalmazie

    2 жыл бұрын

    Have you graduated? I'm majoring on that now on third-year and it seems that I missed out a lot of simplified explanation that my brain can handle rather than those very complex story telling explanation I got from my lecturer(s)

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @isaortruiz
    @isaortruiz2 жыл бұрын

    5:00 never in my whole life would have thought I'd laugh so hard during a boolean algebra lecture

  • @jasonmontagna5730

    @jasonmontagna5730

    2 жыл бұрын

    Haha

  • @longlivethephoenix

    @longlivethephoenix

    2 жыл бұрын

    or at 9:30

  • @koushioni

    @koushioni

    2 жыл бұрын

    It so subtle as well.. A/B Nut (NOT) while connecting to....yknow And the voiceover @9:39

  • @Hitycooking

    @Hitycooking

    2 жыл бұрын

    kzread.info/dash/bejne/mGp61q2TfJi7fLCX.htmljr

  • @qhriathousz734

    @qhriathousz734

    2 жыл бұрын

    @@longlivethephoenix lol, l've seen that

  • @r_ramendump9681
    @r_ramendump96812 жыл бұрын

    This video was the whole first semester if one subject of my polytechnic course. Now were learning about shift registers and counters

  • @jakegiles9620
    @jakegiles96202 жыл бұрын

    I love this guy he makes learning fun 😁

  • @moeinsp2027

    @moeinsp2027

    2 жыл бұрын

    This is one of the common characteristics of Iranians 😁👍

  • @Hitycooking

    @Hitycooking

    2 жыл бұрын

    kzread.info/dash/bejne/mGp61q2TfJi7fLCX.htmlhrhr

  • @beback_

    @beback_

    2 жыл бұрын

    @@moeinsp2027 Oh yeah? Where are YOUR 5 million subs then? 😝

  • @nullbeyondo

    @nullbeyondo

    2 жыл бұрын

    @@beback_ ?

  • @mikeg4972

    @mikeg4972

    2 жыл бұрын

    Giles? That's a great last name! -Mike Giles.

  • @shaunclarke94
    @shaunclarke942 жыл бұрын

    If anyone wants to learn more about this, I can't recommend enough Ben Eaters videos. He covers building an 8 bit computer literally from the most basic gates.

  • @_M27_

    @_M27_

    2 жыл бұрын

    He has some great in depth explainations. Great guy!

  • @truepennytv

    @truepennytv

    2 жыл бұрын

    He's amazing

  • @Disrup7or

    @Disrup7or

    2 жыл бұрын

    I agree! He really makes it easy to understand and builds upon basic concepts step by step 10/10

  • @zombieslayer6656

    @zombieslayer6656

    2 жыл бұрын

    Honestly they are so amazing. Definitely recommend them as well

  • @csatacsibe
    @csatacsibe2 жыл бұрын

    In the next video I think it would be nice to introduce karnaugh's tables. That was the most useful things I've learned in classes covered the topic of the video. I always use it to determine the function behind a truth table.

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New technology for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html is still on testing prototype

  • @Maxpen14
    @Maxpen142 жыл бұрын

    This was ecxactly what ive been looking for for ages. So brilliant! THANKS

  • @YandiBanyu
    @YandiBanyu2 жыл бұрын

    "You should be careful with the term of contract" This one had me lol

  • @pyro-millie5533
    @pyro-millie55332 жыл бұрын

    This is such a great intro to computer logic that my entire logic and computing design class just flashed before my eyes XD!! Loved the example for the And gate hahaha… Also… the propogation delay glitch… I’m just realizing that having a rats nest of wires on my breadboard may be why some of my more complicated Logic lab projects didn’t work even though my connections were correct (I checked time and time again lol). We had IC’s to keep things sort of compact, but transistors are sensitive and these chips are better behaved when soldered to a more streamlined circuitboard. So between the rats nest of wires slowing things down and god knows how many broken connections in the breadboards (used for generations in a lab full of newbies like me at the time) no wonder some of the projects wouldnt work no matter how hard I tried hahaha

  • @yeppiidev

    @yeppiidev

    2 жыл бұрын

    hmm

  • @JayOhm

    @JayOhm

    2 жыл бұрын

    Propagation delay of wires wouldn't affect transistor gates. Especially not CMOS ones. If it does the circuit design sucks. Poor contact, on the other hand, can mess things up a lot, especially with TTL. And on a solderless breadboard it is pretty much guaranteed. Once I even had an OpAmp *explode* in my face due to poor contact elsewhere. Having said that, even perfectly soldered logic can easily have propagation delay glitches. You have to assume those delays can randomly vary orders of magnitude. That's why synchronous logic is often so much easier. A circuit without feedback will settle eventually, and then you just latch the results and can safely reuse them as inputs to the same circuit. Wait until it settles (usually for one cycle of a fixed clock), latch, repeat. Especially relevant for FPGAs where propagation delays are especially huge and random.

  • @akashghosh1151

    @akashghosh1151

    2 жыл бұрын

    @@JayOhm thanks for te info good guy i have been learning vlsi coding and propagation delay always comes back in form of something in the verilog designs

  • @pyro-millie5533

    @pyro-millie5533

    2 жыл бұрын

    @@JayOhm contact issues most likely caused it then. As I said, we were newbies and probably broke our fresh breadboards, and the school's equipment that we plugged our stuff into was generations old, so god knows how many broken contacts that had lol

  • @hirdayhargunsingh5743
    @hirdayhargunsingh57432 жыл бұрын

    Please never ever stop making this kinda content.... Love ya

  • @wpelfeta
    @wpelfeta Жыл бұрын

    As a programmer, learning about how logic gates worked blew my mind and was one of the coolest things I learned in college.

  • @charlesmangum2100

    @charlesmangum2100

    Жыл бұрын

    I thought it was funny.

  • @Kaeltis
    @Kaeltis2 жыл бұрын

    Ah yes, I notted all over those equations.

  • @NivvyLynxy

    @NivvyLynxy

    2 жыл бұрын

    Noted.

  • @NivvyLynxy

    @NivvyLynxy

    2 жыл бұрын

    How did you type that 20 hours before it published

  • @Hyperandom

    @Hyperandom

    2 жыл бұрын

    probably early access

  • @JonathanGameHD

    @JonathanGameHD

    2 жыл бұрын

    @@NivvyLynxy oh yeah!

  • @Trashpanda04

    @Trashpanda04

    2 жыл бұрын

    That's all I could hear bro lol 🤣

  • @LabCoatz_Science
    @LabCoatz_Science2 жыл бұрын

    This is one of the best descriptions of computer logic I've seen, well done Mehdi! Now you just need to make something with your switch logic...like ARTIFICIAL INTELLIGENCE!!! ...or maybe just a simple calculator for now...

  • @Hitycooking

    @Hitycooking

    2 жыл бұрын

    kzread.info/dash/bejne/mGp61q2TfJi7fLCY.htmlurut

  • @agreniers
    @agreniers2 жыл бұрын

    9:33 just hilarious his reaction 🤣🤣🤣 🤣

  • @fangugel3812
    @fangugel38122 жыл бұрын

    Thanks! That was really clear and helpful!

  • @cshighlights1464
    @cshighlights14642 жыл бұрын

    I was in high school when I started watching your videos in 2016 and was fascinated with electronics thanks to you. And now I'm a Computer Engineering student and your videos are really helpful because you explain complex terms and topics in simple terms that can easily be understood, and not a lot of people can do that.

  • @JohnDwyer123
    @JohnDwyer1232 жыл бұрын

    I love this guy!! He's able to teach me something, give me a headache and make me feel happy, all at the same time. He's way too powerful. :-D

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @Lillly353

    @Lillly353

    2 жыл бұрын

    @@shramadurai7287 llp

  • @Lillly353

    @Lillly353

    2 жыл бұрын

    plpplpppplpplp So wie l

  • @biboKralle
    @biboKralle2 жыл бұрын

    Most channel I rage about the sponsorships but yours are (mostly :D) so nice and fitting! Thumbs up!

  • @konozrashid887
    @konozrashid8872 жыл бұрын

    This video was! 💯 Please make more videos on this topic and explain every "YUMMY" circuit you talked about at the end of this video!

  • @mzshmkn
    @mzshmkn2 жыл бұрын

    we've only really discussed logic circuits digitally and derived expressions for various applications in class so its really nice to see how the gates are implemented using relay switches! seeing how the basic memory elements are actually implemented also looks cool

  • @antonydecosta6262
    @antonydecosta62622 жыл бұрын

    Nostalgic boolean algebra.... Learnt back in high-school. Thanks for bringing it back in to memory

  • @deebrio8691

    @deebrio8691

    2 жыл бұрын

    Every time i remember this subject it makes me go depressed...

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New technology for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html is still on testing prototype

  • @zxggwrt

    @zxggwrt

    2 жыл бұрын

    I always loved the word Boolean

  • @grandmoffrevan4933
    @grandmoffrevan49332 жыл бұрын

    Its incredible that a profesor in a tecnical uni cant teach logic in circuits in a semester but you just did it in a 15 min vid with more entusiasm and actually made focus on the tppic, medhi(idk if i wrote it right) could be one of the best profesors out there

  • @mehmetc9192
    @mehmetc91922 жыл бұрын

    so good, I feel like at university but learn much effective, this was a video like time machine, thanks 😊👍🏼

  • @gabrielcorrea8904
    @gabrielcorrea89042 жыл бұрын

    I just started my eletrical engenering course in Portugal (Im from Brazil)and watching you talking about this basics is soo helpful!!!

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html this is only testing prototype

  • @sandrovilaca6928

    @sandrovilaca6928

    5 ай бұрын

    boaaaa

  • @No-uc6fg
    @No-uc6fg2 жыл бұрын

    I'd love to see you build a simple logic processor to calculate something, like adding two single digits.

  • @gtheskater

    @gtheskater

    2 жыл бұрын

    A half adder is pretty easy to do. Just gather together some of those logic gates and voila

  • @user-vn7ce5ig1z

    @user-vn7ce5ig1z

    2 жыл бұрын

    @@gtheskater Then get bored and make a barrel-shifter. Ah, computer-architecture final in the gym; those halcyon days of yore. 🤔

  • @toolsarecool

    @toolsarecool

    2 жыл бұрын

    May I recommend Ben Eater‘s channel…? ;)

  • @Dalendrion

    @Dalendrion

    2 жыл бұрын

    @@toolsarecool Or Clickety Clack's channel? Although he didn't get as far, using relays instead of transistors is just... much more satisfying. Ben's explanations are top notch, though!

  • @brag0001
    @brag00012 жыл бұрын

    As someone who has studied this in university I can only commend you for making such a concise introduction into the topic. I can only imagine the brainload you put on people who never had any contact with binary logic circuits, yet everything you explain here nearly falls into place explaining everything one needs to know. Really good job

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New technology for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html is still on testing prototype

  • @midiandirenni8315
    @midiandirenni8315 Жыл бұрын

    Beginning Electronic Engineering students could benefit greatly from this video. I've never seen it so simply explained.

  • @HECKproductions
    @HECKproductions2 жыл бұрын

    bonus knowledge: -if you connect the two inputs of a nand gate you have an inverter -if you invert both inputs of a nand gate you have and or gate this means that you can make any type of gate you want with just nand gates there is actually a "discipline" of logic called nand logic or something because its cheaper to use an ic that just has loads of nand gates on it and you can make any other gate with them anyway

  • @m.sierra5258

    @m.sierra5258

    2 жыл бұрын

    And that's exactly how people built minecraft computers back when minecraft only had redstone dust and redstone torches.

  • @BunnyOfChaos

    @BunnyOfChaos

    2 жыл бұрын

    @@m.sierra5258 😍

  • @glasslinger

    @glasslinger

    2 жыл бұрын

    But the complex logic chips sure were convenient! Texas Instruments used to put logic diagrams of their chips in the data book. Some of them were terribly complex!

  • @jeremypnet

    @jeremypnet

    2 жыл бұрын

    Ah, the good old 7400. Four nand gates in a single DIP.

  • @TACOHEAD8835

    @TACOHEAD8835

    2 жыл бұрын

    They're not called universal gates for nothin'

  • @Noffdar3
    @Noffdar32 жыл бұрын

    You literally just taught my entire course I've been taking for the past 8 weeks in 14 mins.

  • @user-vn7ce5ig1z

    @user-vn7ce5ig1z

    2 жыл бұрын

    Jeez, why are schools stretching stuff out so much these days? We covered all this hands-on with some breadboards and ICs in high-school 120 years ago. ¬_¬

  • @MrCOPYPASTE

    @MrCOPYPASTE

    2 жыл бұрын

    crappy course... you can learn this alone in 1 week... to be proficient at it is another thing...

  • @informatimago

    @informatimago

    2 жыл бұрын

    @@user-vn7ce5ig1z Because they cater to the slowest of their students...

  • @light-master
    @light-master Жыл бұрын

    This brings back nightmares of figuring out where I went wrong with 4-way light switches

  • @vats_lovesh
    @vats_lovesh9 ай бұрын

    Bro made adult content using gates 💀💀

  • @AlphaDuplo
    @AlphaDuplo2 жыл бұрын

    6:39 - I mean I knew it was coming... Still scared me. One of the first Halloween Jump Scares for me 😂

  • @yogendrabhilala5497

    @yogendrabhilala5497

    2 жыл бұрын

    Maybe one of the reason is that he mentioned that 120V and everyone knows that 5V can't make his video go boom.

  • @coolbionicle

    @coolbionicle

    2 жыл бұрын

    The moment he said 120V sealed his fate 🤣

  • @eurogael

    @eurogael

    2 жыл бұрын

    same

  • @th3officebeefalos456
    @th3officebeefalos4562 жыл бұрын

    Thank you for covering the entirety of my digital systems class in about 15 min.

  • @XpoHyc
    @XpoHyc2 жыл бұрын

    I hit the LIKE hand right at the start of the video play... intro made me smile few times and 5 mins later im ROFL... Thank you Mehdi and Merry Christmas

  • @NightcoreSkies
    @NightcoreSkies Жыл бұрын

    Dude, I've been struggling with this, thanks for your information!

  • @Miata822
    @Miata8222 жыл бұрын

    Hey, _I_ watched the relay video. It was great. Boooolian math hurts my old brain but this video was useful. It gave me an idea for a light delay I would like to make for a door switch. Sure, I could use an off the shelf controller, but where's the fun in that?

  • @anon_ninja

    @anon_ninja

    2 жыл бұрын

    I don't think boolean Algebra can help you make a delay circuit

  • @Hitycooking

    @Hitycooking

    2 жыл бұрын

    kzread.info/dash/bejne/mGp61q2TfJi7fLDW.htmlhrht

  • @donkareem1810
    @donkareem18102 жыл бұрын

    5:20 “You nut all over the XOR equation” killed me 😂😂

  • @shramadurai7287

    @shramadurai7287

    2 жыл бұрын

    New method for electric power generationkzread.info/dash/bejne/qpdmuJR7g8Ksnso.html is only testing prototype

  • @MichaelEGordon
    @MichaelEGordon2 жыл бұрын

    After all these years I still laugh at the gags! Thanks for the edutainment, Mehdi!

  • @nikita_bishyan
    @nikita_bishyan Жыл бұрын

    I can 't stop laughing😂 when he say you listen to me and I still beat you.. 🤣😂😂

  • @dreamengland4267
    @dreamengland42672 жыл бұрын

    Mehdi: I get more experienced in every video His electric equipments: and we get lesser in number

  • @nobodyatall5321

    @nobodyatall5321

    2 жыл бұрын

    Wtf is your pfp😂😂

  • @Hitycooking

    @Hitycooking

    2 жыл бұрын

    kzread.info/dash/bejne/mGp61q2TfJi7fLDJ.htmljrjt

  • @galfisk

    @galfisk

    2 жыл бұрын

    Inhaling the magic smoke is how he gains their power!

  • @dreamengland4267

    @dreamengland4267

    2 жыл бұрын

    @@nobodyatall5321 ????

  • @pvic6959
    @pvic69592 жыл бұрын

    he just tricked us into learning intro to CE logic gates LOLOL i took this class in college; pretty fun I realized this when he got to D-latches and I was like... wait a second I know this thing!

  • @WJayther

    @WJayther

    2 жыл бұрын

    I almost got TRIGGERED realising the same thing

  • @Hackerisitic

    @Hackerisitic

    2 жыл бұрын

    My brother was performing some logic simulations on his pc today and he explained me about stuff in this video.

  • @akbrlrmdhn

    @akbrlrmdhn

    2 жыл бұрын

    @@Hackerisitic and I know nothing

  • @Hitycooking

    @Hitycooking

    2 жыл бұрын

    kzread.info/dash/bejne/mGp61q2TfJi7fLCX.htmljrh5

  • @rogue822
    @rogue8222 жыл бұрын

    Good channel, a mix of comedy and education always does the trick.

  • @anandkachale5187
    @anandkachale51872 жыл бұрын

    Knew all this already still watched whole video. Soo good explaination. Fun learning. Amazing teacher💯💯💯♥️

  • @threx71
    @threx712 жыл бұрын

    I clicked the video with some knowledge of high level programming, and a lot of different concepts that I have studied on my own. I finished the video FINALLY understanding how binary turns into code in a processor, this is just trully remarkable. Thank you a lot, seriously, a lot.

  • @everythingfeline7367

    @everythingfeline7367

    2 жыл бұрын

    I seriously recommend Ben eater for much more of this

Келесі