Encoders & Decoders | Logical Redstone #2
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
Check out the NEW AND IMPROVED logical redstone series here! czcams.com/play/PL5LiOvrbVo8keeEWRZVaHfprU4zQTCsV4.html
Wow! I‘m the only like
well now i am the second one.
@@ubaidullahiqbal942 I only see one like...
Why can't CS classes be this interesting and easy to understand
No one knows
Cause this is computer engineering, not computer science
@@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.
i'm still 14 and am still in high school. but are they really that hard? that is one i suspect.
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
imagine not having a redstone degree, couldnt be me
hahaha
@@mattbatwings *translates to english*
Seriously, this CZcams feature is great and all, but it’s way too funny that it translates English to English
@@justanothergamingyoutuber8179 ikr
@@justanothergamingyoutuber8179 Shōchishimashita
@@demogorgon1043 .ًًًًً،ًًًًًٍ،،،،،ً،،،ًًًًًً؟!؟😢😢😢
i really like the effort you put into the diagrams, looks perfect for tutoring. thanks a lot
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
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
@@DialecticRed thanks..! I actually really appreciate hearing that lmao
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
I love computers and never did i thought that i would learn binary in Minecraft. Thank you for making this tutorial :)
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).
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
Been playing MC for 9 years and I love red stone, but Ive learned more in this video than anything redstone Ive found before.
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).
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
@@mattbatwings please can you make a tutorial for that as it would be helpful and my design is large
why do you major in so many thing?
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.
Literally the best!!! I finally know how to use the code system, thanks :D
i'm legit, dead serious studying video this as part of my computer architecture class.
Nice video! Best and nicely explained redstone tutorial that I could ever find. Continue the great work, can't wait to see more!
I haven't finished #2 yet and I'm getting goosebumps... So glad I found this!
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.
this is so awesome this is one of my favorite series all time thanks!
This is the most interesting redstone related serie I have ever watched. Congrats to you for being this clear about this ! Fckn legend
Dude your tutorials are so easy to follow yet they teach so much, thanks for this :)
These tutorials are great and easy to understand. Thanks Matt!
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 :)
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.
Amazing video! It is perfect for people that want to get deeper into redstone :)
Going through a Computer Architecture course in college right now, this is freaking SICK, awesome video!
Well, that was simpler then expected and well demonstrated. Nicely done.
This is a great way to enjoy learning redstone.
You are probably the smartest person and the most underrated CZcamsr in Minecraft.
;D Dude! This is delicious to my brain! I'm BARELY grasping this, but I AM grasping it a little, i'm excited!!
This series is absolutely incredible.
You are so awesome! I have played Minecraft for 8 Years and finally found good explanations how to do encoders. Thank you so much
This was well explained and very easy to understand. Great video!
This is very cool! Thanks for the helpful tutorial!
The clicking sound is so satisfying
How did I not know about encoders before? This is so much easier!
I am glad you put uses of these circuit in video :)
Im loving this so far!
You channel is heavly underrated, I learned so much from you!
From this video I learnt SO MUCH Redstone! Kepp up the content!👍
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
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.
Best tutorials ever, literally now I know what the sense of life is XD!
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
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.
Wow thanks for these, I can finally take my programing/logic/binary knowledge into minecraft!
Great explanation! Very easy to follow
This is reeeally cool stuff and I want to try it out.
Just love your videos, im now addicted to all the binary kind of stuff and that's rly interesting
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.
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.
Nice as always, I find it cool to make it easy for beginners
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
Wow
I spent months trying to recreate the wheel
Thank you sir
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
This is amazing I've learned so much
sliiick! quality video. that was very helpful
Such a great tutorial, and damn, it's interesting!
Really like your tutorials they are pretty understandable unlike some other redstone videos which sometime is a bit hard to follow.
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.
You are the best, you have great content, keep up the good work
Wow these are super cool I'm glad I learned about them
Thanks to your videos, I was able to make a display that had the numbers 0-7, thank you for your content.
Best red stone tutorial ever!!!
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.
Stellar video as always.
You are Amazing! Thanks for this videos!
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!
The encoders and decoders make the perfect bases for an adder and Multiplexor!
This is sooo cool i thought it wouldve been harder creatins stuff like this!!!
Your channel is blowing up recently! 6k subs in 4 days!
LOVE YOUR VIDS
SOO USEFULLLL!
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
Not having repeaters was the worst
@@Oliver_Atkinson Come on please, compare that to cogs already!
This is really useful, thanks a lot for the tutorial!
This makes so much sense
Thank you so much for this videos!
Man, you should have a degree for this. You are extremely good at explaining how this stuff works
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.
Mind blown 🤯 subbed 👍
awesome for serial communication, I am using the decoder in my serial to single lines splitter (for chunk loading)
thank you! I understood now how redstone works. Now your projects don't look so magic (but still genius)
I'm in uni and this video helped my understand decoders and encoders better than my professor ever did XD
Can’t wait for next vid
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
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
wow, these are incredible
Your design improvement for encoders was a real hand-on-forehead moment for me. Wayyyy cleaner than my past attempts lol
I feel enlightened by this video
Thanks You these are verry informative.
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!!!!!!
This video was great for my project. Thank you (I will also try to thank you in another way 😉)
This is so cool man
This was awesome 😎👍
If I could give you 1000 thumbs up for this video, I would! Excellent explanation
Mind blown, thank you
Nice speech and quality content.
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)
Great video!
really cool and teaching stuff
very helpful!!
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
Better channel to learn about redstone!