Encoders & Decoders | Logical Redstone #2

Sdílet
Vložit
  • čas přidán 11. 06. 2024
  • !!! Check out the NEW AND IMPROVED logical redstone series here! • Logical Redstone Reloaded !!!
    In this episode, I go over encoders, decoders, and a few applications of them.
    Patreon: / mattbatwings
    Discord: / discord
    My socials: linktr.ee/mattbatwings
    My texture pack: modrinth.com/resourcepack/mat...
    World Download: (JAVA 1.16.5) www.planetminecraft.com/proje...
    -------------------------
    Want to get more involved in the logical redstone community?
    Learn Logical Redstone! • Logical Redstone Reloaded
    Open Redstone Engineers (ORE): openredstone.org/
    0:00 Welcome to Episode 2!
    0:21 What's an Encoder?
    1:30 Making an Encoder
    4:34 What's a Decoder?
    5:27 Making a Decoder
    10:32 Applications of Encoders & Decoders
    12:34 Subscribe!
    Music: • the background MUSIC f...
  • Hry

Komentáře • 272

  • @mattbatwings
    @mattbatwings  Před 11 měsíci +7

    Check out the NEW AND IMPROVED logical redstone series here! czcams.com/play/PL5LiOvrbVo8keeEWRZVaHfprU4zQTCsV4.html

  • @DenalyMin
    @DenalyMin Před 2 lety +445

    Why can't CS classes be this interesting and easy to understand

    • @ThylineTheGay
      @ThylineTheGay Před 2 lety +11

      No one knows

    • @Jekkin
      @Jekkin Před 2 lety +38

      Cause this is computer engineering, not computer science

    • @Gandhi_Physique
      @Gandhi_Physique Před 2 lety +28

      @@Jekkin Computer science deals with computer hardware and software though lol. I've had classes on digital logic and software design, computer ethics and theory.

    • @graphitic5578
      @graphitic5578 Před 2 lety +6

      i'm still 14 and am still in high school. but are they really that hard? that is one i suspect.

    • @Dr.Unsteady
      @Dr.Unsteady Před 2 lety +13

      Because in the real world if someone has to pay you to do it, then it’s not going to fun or interesting. 99% of all work in all fields is going to be boring, mind numbing, and harder than it needs to be and no one will ever notice or appreciate the work put in. All the cool and or abstract projects/businesses started out with someone doing it for fun or as a passion and there’s only a handful of company’s that are out there doing that work. Most of us will be keeping the world running without anyone thinking about it

  • @jonaspaladin1398
    @jonaspaladin1398 Před 2 lety +329

    imagine not having a redstone degree, couldnt be me

    • @mattbatwings
      @mattbatwings  Před 2 lety +53

      hahaha

    • @justanothergamingyoutuber8179
      @justanothergamingyoutuber8179 Před 2 lety +41

      @@mattbatwings *translates to english*
      Seriously, this CZcams feature is great and all, but it’s way too funny that it translates English to English

    • @adhprakash
      @adhprakash Před 2 lety +6

      @@justanothergamingyoutuber8179 ikr

    • @demogorgon1043
      @demogorgon1043 Před 2 lety +12

      @@justanothergamingyoutuber8179 Shōchishimashita

    • @zeroeighteightzero2255
      @zeroeighteightzero2255 Před rokem

      @@demogorgon1043 .ًًًً‌ً‌،‌ًًًًًٍ،‌،،،،ً،‌،،ًًًًًً‌؟!؟😢😢😢

  • @kepler69c32
    @kepler69c32 Před 2 lety +129

    i really like the effort you put into the diagrams, looks perfect for tutoring. thanks a lot

  • @will_2320
    @will_2320 Před 2 lety +66

    11:28 I watched this video cause I’m brand new to Minecraft in general, let alone redstone; I tried to guess how it worked and ended up making exactly this entirely outta pistons… the shame I felt the moment you showed how simple the solution really was haha

    • @DialecticRed
      @DialecticRed Před 2 lety +20

      Honestly the fact that you did it with only pistons is impressive, and that's coming from someone who's been playing Minecraft & doing redstone since 2012 haha

    • @will_2320
      @will_2320 Před 2 lety +7

      @@DialecticRed thanks..! I actually really appreciate hearing that lmao

    • @icyyanimations
      @icyyanimations Před rokem +6

      I been doing minecraft for 7 years and can’t figure out decoders and here I am, reading a comment about somebody who started minecraft yesterday making their own design.
      Addition and subtraction are easier than this

  • @yes9409
    @yes9409 Před 2 lety +31

    I love computers and never did i thought that i would learn binary in Minecraft. Thank you for making this tutorial :)

  • @zataritamods7499
    @zataritamods7499 Před 2 lety +18

    Encoding/decoding has been used for many purposes. Typically it does come down to some form of compression or serializing data with a fixed value (How we store non-numeric data on a computer that can only store numbers).
    Encodings are how fonts are serialized with modern computers. Each character is represented in memory as a number. So the computer takes that number and checks it against a look up table to determine which font symbol to present to the screen. There are a few different standards for this most common being ascii, and unicode. This can also be done the other way around as well to ask what the number is for a specific font character.
    The use case you spoke of is called compression. You attempt to find as much redundant information as possible, and replace that with a smaller numeric identifier like you did there. Hardware compression like this case is actually less efficient as it's fixed-size meaning no matter what the encoding will be 3 bits wide. Most modern compression uses variable length codes to reduce the size even further. This is similar to what you have except the code starts short gets longer as you add more encodings. 'a' wouldn't start at "001" but instead would just be "1" then the next would be "10", "11", "100", "101", etc... Examples of this would be like Zlib, 7zip It gets a bit more complicated than this. It is a bit of an oversimplification.
    Then there are cases for BOTH compression and serializing of non-numeric data like Morse Code. More commonly used characters are defined shorter codes (variable length encoding), and it allows for us to transmit alphanumeric symbols over a line with a single output (serialization of data).

  • @equariux
    @equariux Před rokem +6

    I love how you didn't just do random binary, you kept with the 0001 = 1 and 0010 = 2, 0011 =3 and so on. You're amazing batwings

  • @SteadyEddyyy
    @SteadyEddyyy Před měsícem

    Been playing MC for 9 years and I love red stone, but Ive learned more in this video than anything redstone Ive found before.

  • @MrHerhor67
    @MrHerhor67 Před 2 lety +87

    REALLY great job!
    As a mechanical/electrical/computer engineering student, I know a bit about this stuff ;)
    Loved how genious the encoder design is when I first learned about it some years ago. Never knew that a decoder is almost just as simple to build lol.
    Unfortunately, because you had to remove repeaters to depower the block and redstone below it, it will introduce a difference in delays between input lines, thus a flicking of output will occur, which is always undesired (read about race condition).

    • @mattbatwings
      @mattbatwings  Před 2 lety +39

      yep! it turns out synced decoders are just as simple, but they are harder to look at and get an intuitive sense of what’s going on. the reason i like the repeater/layout at every line is because you can look at it from the top down view and see all the codes very clearly

    • @Trainrhys
      @Trainrhys Před rokem +3

      @@mattbatwings please can you make a tutorial for that as it would be helpful and my design is large

    • @caiodavi9829
      @caiodavi9829 Před 8 měsíci

      why do you major in so many thing?

  • @sgrey9181
    @sgrey9181 Před 2 lety +2

    Just wanted to thank you - I’ve been making a music machine recently and needed a decoder but didn’t know how to make one. I didn’t use your design but this video taught me how they actually work, and then I was able to go and make my own for my custom needs.

  • @legend_master_xd1818
    @legend_master_xd1818 Před 2 lety +6

    Literally the best!!! I finally know how to use the code system, thanks :D

  • @hastley64
    @hastley64 Před 2 lety +8

    i'm legit, dead serious studying video this as part of my computer architecture class.

  • @garamath5142
    @garamath5142 Před 2 lety +3

    Nice video! Best and nicely explained redstone tutorial that I could ever find. Continue the great work, can't wait to see more!

  • @loverpawsdangertail6327
    @loverpawsdangertail6327 Před rokem +1

    I haven't finished #2 yet and I'm getting goosebumps... So glad I found this!

  • @orcishh
    @orcishh Před 2 lety

    I REALLY REALLY appreciate how you showed a solution the average person would think of, then you show a better, more optimized solution. That strategy really helps me understand exactly where my thinking differs and overall helps me grasp the concept much better.

  • @pigman6954
    @pigman6954 Před 2 lety +4

    this is so awesome this is one of my favorite series all time thanks!

  • @ventousemoustachue
    @ventousemoustachue Před 2 lety

    This is the most interesting redstone related serie I have ever watched. Congrats to you for being this clear about this ! Fckn legend

  • @cftm4976
    @cftm4976 Před 2 lety +1

    Dude your tutorials are so easy to follow yet they teach so much, thanks for this :)

  • @eewonarr
    @eewonarr Před 3 měsíci

    These tutorials are great and easy to understand. Thanks Matt!

  • @e_s_egoldie5051
    @e_s_egoldie5051 Před 9 měsíci

    This is such a great video! Even now as I’m watching some of my first technical redstone videos and experimenting myself I can understand still clearly understand your videos and get new ideas from it, thanks :)

  • @kengaming6705
    @kengaming6705 Před 2 lety +1

    Ur so good at explaining and now im glad to support u by subscribing and watching ur posted video. Thank you. U deserve millions of subs.

  • @mrgoblings
    @mrgoblings Před 2 lety +8

    Amazing video! It is perfect for people that want to get deeper into redstone :)

  • @darrenfinch1935
    @darrenfinch1935 Před 2 lety +2

    Going through a Computer Architecture course in college right now, this is freaking SICK, awesome video!

  • @lucidmoses
    @lucidmoses Před 2 lety +1

    Well, that was simpler then expected and well demonstrated. Nicely done.

  • @privatetrolldier5640
    @privatetrolldier5640 Před rokem +1

    This is a great way to enjoy learning redstone.

  • @sandserpenthiss
    @sandserpenthiss Před 2 lety

    You are probably the smartest person and the most underrated CZcamsr in Minecraft.

  • @jeremiahbullfrog1844
    @jeremiahbullfrog1844 Před rokem

    ;D Dude! This is delicious to my brain! I'm BARELY grasping this, but I AM grasping it a little, i'm excited!!

  • @jacksonmagas9698
    @jacksonmagas9698 Před 2 lety

    This series is absolutely incredible.

  • @mgr_krowas8919
    @mgr_krowas8919 Před 2 lety

    You are so awesome! I have played Minecraft for 8 Years and finally found good explanations how to do encoders. Thank you so much

  • @minaminecraft2583
    @minaminecraft2583 Před rokem

    This was well explained and very easy to understand. Great video!

  • @Phoenix-kj4iq
    @Phoenix-kj4iq Před 2 lety +5

    This is very cool! Thanks for the helpful tutorial!

  • @user-db2dw6vt2t
    @user-db2dw6vt2t Před 8 měsíci

    The clicking sound is so satisfying

  • @RepeatSalt
    @RepeatSalt Před 2 lety +1

    How did I not know about encoders before? This is so much easier!

  • @anand_bhasme
    @anand_bhasme Před 2 lety +2

    I am glad you put uses of these circuit in video :)

  • @abaan4046
    @abaan4046 Před 2 lety +1

    Im loving this so far!

  • @lodufka4285
    @lodufka4285 Před 2 lety

    You channel is heavly underrated, I learned so much from you!

  • @AlexhthGaming
    @AlexhthGaming Před rokem

    From this video I learnt SO MUCH Redstone! Kepp up the content!👍

  • @snakebirbboi3955
    @snakebirbboi3955 Před rokem

    This man is a genius I just spent the last 6 hours making a manual incoder th "inefficient way" wish I new about this man sooner

  • @rileycampbell5691
    @rileycampbell5691 Před 2 lety

    I'm a CMP SCI major and I learned Binary and sequential logic about a month ago. So freaking cool to see it being used like this ty.

  • @thebezierguy
    @thebezierguy Před 2 lety

    Best tutorials ever, literally now I know what the sense of life is XD!

  • @vuk_ustipak
    @vuk_ustipak Před rokem

    Lil tip for viewers: when he said "we have a torch ORing this" he actually meant NOTting. Love the videos, man. Keep up the good work mate

  • @dymaxion3988
    @dymaxion3988 Před rokem

    This is great! I used to try making redstone calculators, but I always got stuck. I now know that I was making spaghetti encoders, and I had no idea how to make an actual decoder. After watching just this video, I was finally able to make my very own binary to hex converter! I just copied your design by eye, and added A-b-C-d-E-F to the 7-segment display.

  • @_creare_2742
    @_creare_2742 Před 2 lety

    Wow thanks for these, I can finally take my programing/logic/binary knowledge into minecraft!

  • @forrestberg591
    @forrestberg591 Před 2 lety +1

    Great explanation! Very easy to follow

  • @francesconovazzi
    @francesconovazzi Před rokem

    This is reeeally cool stuff and I want to try it out.

  • @FrikingRL
    @FrikingRL Před 2 lety

    Just love your videos, im now addicted to all the binary kind of stuff and that's rly interesting

  • @chrismofer
    @chrismofer Před 2 lety

    perfect, was struggling to design one based on images but my flaw was trying to make the bottom paths the inputs and overarching bits the outputs, this is the other way around and fits everything in much better.

  • @alexandregb566
    @alexandregb566 Před 9 měsíci

    I appreciate your work. I've been studying c# in order to make a troll game. And I became interested in redstone when I saw CZcamsrs making huge computers with this mechanism.

  • @Dimitri_gdr
    @Dimitri_gdr Před 2 lety

    Nice as always, I find it cool to make it easy for beginners

  • @diavicecat
    @diavicecat Před 13 dny

    this really helped me bc i made a 4 bit redstone counter using copper bulbs and i needed a decoder to but it into a 7 segment display

  • @LorddualDesigner
    @LorddualDesigner Před 2 lety +2

    Wow
    I spent months trying to recreate the wheel
    Thank you sir

  • @MCChubbyUnicorn
    @MCChubbyUnicorn Před 2 lety

    These videos are nice, because they are super simple to understand, and it is easy to find what I want when making redstone circuit s

  • @Bigbuckgaming
    @Bigbuckgaming Před rokem

    This is amazing I've learned so much

  • @licksorestockpile1190
    @licksorestockpile1190 Před 2 lety +1

    sliiick! quality video. that was very helpful

  • @nimiro2668
    @nimiro2668 Před rokem

    Such a great tutorial, and damn, it's interesting!

  • @mrkaro7468
    @mrkaro7468 Před rokem

    Really like your tutorials they are pretty understandable unlike some other redstone videos which sometime is a bit hard to follow.

  • @TM-wn6fj
    @TM-wn6fj Před rokem +1

    Whenever i created a 7-segment display for the first time, I somehow came up with the same encoder design. I would never have guessed that it was such a good design. My decoder, however, was horrible.

  • @FXUNDPLXGG
    @FXUNDPLXGG Před 2 lety

    You are the best, you have great content, keep up the good work

  • @Kaldrin
    @Kaldrin Před rokem

    Wow these are super cool I'm glad I learned about them

  • @Jesse_Scoccimarra
    @Jesse_Scoccimarra Před rokem

    Thanks to your videos, I was able to make a display that had the numbers 0-7, thank you for your content.

  • @user-cu1uf2mj2n
    @user-cu1uf2mj2n Před rokem

    Best red stone tutorial ever!!!

  • @daikifukushima7034
    @daikifukushima7034 Před 2 lety

    I'm 15 years old, literally this is all that we have learned in class this year, i'm in the first year of my carreer actually, so this makes sense, but its just simplified in two simple videos. Nice.

  • @ct5k_
    @ct5k_ Před 2 lety +1

    Stellar video as always.

  • @musicajuand.
    @musicajuand. Před 6 měsíci

    You are Amazing! Thanks for this videos!

  • @rizalardiansyah4486
    @rizalardiansyah4486 Před 2 lety

    I've never thought of using decoder/encoder for the 7 segment display. Apparently they are amazing devices!
    I can only came up with a whole bunch of AND gates wired for each cases. Thanks for the tutorial!

  • @gwenturo9550
    @gwenturo9550 Před rokem

    The encoders and decoders make the perfect bases for an adder and Multiplexor!

  • @christopher3235
    @christopher3235 Před 2 lety

    This is sooo cool i thought it wouldve been harder creatins stuff like this!!!

  • @williamblueshirts4947
    @williamblueshirts4947 Před 2 lety

    Your channel is blowing up recently! 6k subs in 4 days!

  • @spunglebop1348
    @spunglebop1348 Před 2 lety

    LOVE YOUR VIDS
    SOO USEFULLLL!

  • @oliverbrandstetter721
    @oliverbrandstetter721 Před 2 lety +2

    I actually did a 7 segment encoder / decoder in pocket edition when only redstone and redstone torches were released so I couldn´t use any repeater to strengthen the signal

  • @TejasIsAmazing
    @TejasIsAmazing Před 2 lety

    This is really useful, thanks a lot for the tutorial!

  • @brethilnen
    @brethilnen Před 2 lety

    This makes so much sense

  • @TheGlitchRoom
    @TheGlitchRoom Před 2 lety +1

    Thank you so much for this videos!

  • @SirBorkYT
    @SirBorkYT Před 6 měsíci

    Man, you should have a degree for this. You are extremely good at explaining how this stuff works

  • @jeremiahbullfrog1844
    @jeremiahbullfrog1844 Před rokem

    It's a bucket list item for me to learn how a computer works from it's utmost simplicity to it's complex computations. Thanks for helping me big time on this journey. Sub'd.

  • @MrEarling
    @MrEarling Před 2 lety

    Mind blown 🤯 subbed 👍

  • @Legoloewe
    @Legoloewe Před rokem

    awesome for serial communication, I am using the decoder in my serial to single lines splitter (for chunk loading)

  • @eeddeellwweeiiss
    @eeddeellwweeiiss Před rokem

    thank you! I understood now how redstone works. Now your projects don't look so magic (but still genius)

  • @rutimcgamer2419
    @rutimcgamer2419 Před 3 měsíci

    I'm in uni and this video helped my understand decoders and encoders better than my professor ever did XD

  • @upmost2766
    @upmost2766 Před 2 lety +1

    Can’t wait for next vid

  • @dauraktv
    @dauraktv Před rokem

    Harris heller, that’s my favorite album you are playing in the video. Love his free music. I listen to it a lot at work

  • @jamesonthomas9583
    @jamesonthomas9583 Před rokem

    Amazing video! As for the real life applications, the answer is as simple as... computers use binary to calculate anything! So, converting to binary and back is super useful, because we as humans have a hard time reading binary, but computers love it, and adding/subtracting/etc in binary is way easier than decimal

  • @ppuriora9269
    @ppuriora9269 Před 2 lety

    wow, these are incredible

  • @711music8
    @711music8 Před rokem

    Your design improvement for encoders was a real hand-on-forehead moment for me. Wayyyy cleaner than my past attempts lol

  • @troll_486
    @troll_486 Před 2 lety

    I feel enlightened by this video

  • @RubusCalculum
    @RubusCalculum Před 2 lety

    Thanks You these are verry informative.

  • @ker0356
    @ker0356 Před 2 lety

    damn about a year ago I was trying to make adder in Wireworld with no experience in computer science and made encoders and decoder without knowing it!!! But decoder was way bigger that encoder because I just used a lot of logic gates for every combination. That video makes it so clear now!!!!!!

  • @bouble2135
    @bouble2135 Před 2 lety

    This video was great for my project. Thank you (I will also try to thank you in another way 😉)

  • @adenpower249
    @adenpower249 Před 2 lety

    This is so cool man

  • @Rajath_2001
    @Rajath_2001 Před 7 měsíci

    This was awesome 😎👍

  • @joshalbrecht3527
    @joshalbrecht3527 Před 2 lety +4

    If I could give you 1000 thumbs up for this video, I would! Excellent explanation

  • @jessiesandoval1269
    @jessiesandoval1269 Před 2 lety

    Mind blown, thank you

  • @auxod3219
    @auxod3219 Před 2 lety +1

    Nice speech and quality content.

  • @maker0824
    @maker0824 Před 2 měsíci

    Love that you did the naive approach first so we could understand why it’s not very good. Also I have no idea why you used the repeater into a block for off, and replace it with a line for on. They both do the same thing (nothing)

  • @orfeoriva5384
    @orfeoriva5384 Před 2 lety +1

    Great video!

  • @God-ks5pv
    @God-ks5pv Před 2 lety

    really cool and teaching stuff

  • @yvelkram
    @yvelkram Před 2 lety

    very helpful!!

  • @zitronenwasser
    @zitronenwasser Před rokem

    currently studing CS and minecraft redstone is extremely interesting to me because you only have OR and Inverters for all operations.
    I'm making a thing for my server right now, i want to build an ingame timer based on the time of the minecraft day time, and i built all the logic for it in logisim-evolution because it's easier to do.
    Well everything besides turning the 4 bit outputs for each digit into a 7 Segment display input, and now i ended up here, looking at these very comprehensive videos :)
    Apparently looked at your channel for T Flip-Flops before i started studying CS, so i was already subscribed.
    Now i just need to build the whole "increment minutes by 3 every 50 ticks" part in minecraft, i'll very much use the Redstone lane design you show here, much much better than the milion bridges i planned to do

  • @abraaosantos593
    @abraaosantos593 Před 2 lety

    Better channel to learn about redstone!