BCD to Binary | Logical Redstone #11

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

Комментарии • 97

  • @mattbatwings
    @mattbatwings  Год назад +5

    Check out the NEW AND IMPROVED logical redstone series here! ruclips.net/p/PL5LiOvrbVo8keeEWRZVaHfprU4zQTCsV4

  • @yukonxl5723
    @yukonxl5723 2 года назад +58

    Wow. I always thought that this would have been big and complicated, but apparently not. I never noticed that that is how you could 10x something. Your tutorials are very easy to understand, and are intuitive. Also, this was kinda a refreshment for me, as I haven't been working with conventional redstone. Great Vid!

  • @mattbatwings
    @mattbatwings  2 года назад +46

    Be sure to subscribe if you want more tutorials like this one! :D

    • @TH_5094
      @TH_5094 2 года назад +3

      But I already did that last year

    • @anar4732
      @anar4732 2 года назад +1

      already did bro

    • @plopgoot5458
      @plopgoot5458 2 года назад +1

      so i did the BCD ro binary with the same method you used for binary to BCD, just went and reversed things.
      It was a fun little build : )

  • @ct5k_
    @ct5k_ 2 года назад +21

    You know, that was a lot simpler than I expected. Well done!

  • @CraftyMasterman
    @CraftyMasterman 2 года назад +13

    11pm upload bruuuuh

  • @Natural_Power
    @Natural_Power 2 года назад +17

    The very start was a bit confusing, should use white for 1 and black for 0
    You can create light by doing something (turn on the bit) but can't make darkness, need to turn light off

  • @gabrielmuzekari9744
    @gabrielmuzekari9744 2 года назад +12

    Your videos are always so simple and easy to understand

  • @ryanmccampbell7
    @ryanmccampbell7 2 года назад +5

    And here I thought to add three number together you'd need two adders. It turns out by cleverly shuffling bits around and keeping track of which ones are actually needed you can get away with just one! And even more genius, this method works exactly up to 9 (the highest decimal digit). If you tried to input a 10 digit then you'd have 3 inputs on the 2's place, from the 8 and the 2 and the shifted 1. But with 9 you can get away with it because there is no value shifted into the ones place so you conveniently have two inputs available! There's a lot of clever optimization going on here which is really cool.

    • @mattbatwings
      @mattbatwings  2 года назад +2

      yeah! it's neat how extremely optimized it is, I honestly didn't realize that you can't do 10 until you said that. Wow I think I got really lucky when I designed this.

  • @matsm1224
    @matsm1224 2 года назад +18

    I have a question for the binary to BCD from last episode.
    Is the combinational design easily expandeble or does it get exponentially larger. And if you expand it to more than 8 bits how do you do the (orange box) layout.

    • @mattbatwings
      @mattbatwings  2 года назад +12

      It is easily expandable, but it does get pretty big. The layout is always a triangle shape. I can show you how to generate it if you join my discord, or you can probably search online for “16 bit combinational binary to bcd” and find a schematic. You might be able to pick up on the pattern by looking at those.

  • @JonDaFun
    @JonDaFun 2 года назад +1

    Great video! I just referenced it for a project I'm working on! The converter was going to be 200 blocks long but now I can make it significantly shorter using concepts you discussed in this video. I'm just making it enter-less so it'll just be a bit bigger than the one you showed :)

  • @school6268
    @school6268 2 года назад +2

    babe wake up, new mattbatwings logical redstone tutorial

  • @augustopastrana1918
    @augustopastrana1918 2 года назад +4

    I was boring, thanks for take your time to explain this interesting things, I really love your videos

  • @NoDopeJustInnovation-bx5hs
    @NoDopeJustInnovation-bx5hs 2 месяца назад +1

    the multiplyer by 10 shouldn't work because in some cases(like 415 in 16 bit rappresentation with a 16 bit adder) you should add 1+1 and result in 0 with the carry of 1 to the next bit but since there is no adder between the two you end up loosing information and therefore it doesn't work(only if you use more than 8 bit input as bcd spread into two nibbles)

    • @NoDopeJustInnovation-bx5hs
      @NoDopeJustInnovation-bx5hs 2 месяца назад +1

      edit: i noticed that it doesn't work also for numbers like 51 in 8 bit base(like the video), it should give the result as 0x33 but it comes with the value 0x2b(due to the overlapping and therefore the loss of information)

  • @twentyonerocks
    @twentyonerocks 2 года назад +1

    That is way simpler than I was expecting it to be. Great job explaining the concept as always!

  • @buffsenpaigaming2703
    @buffsenpaigaming2703 2 года назад +1

    This is cool! I made one that was much bigger and it worked a bit differently. I actually when and made a shift register for the numbers I typed and then routed it into decoders for the 10ths and the hundreds place. And then routed the decoders into adders to get a full 3 digit number.
    This is way more convenient to build lol! If I tried to make a decoder for the thousands place or more I would have lost my mind

  • @IzUrBoiKK
    @IzUrBoiKK 2 года назад +2

    Finally it's here!!!

  • @momin9730
    @momin9730 2 года назад +1

    Finally, love the series. You explain super well

  • @manuelhecki
    @manuelhecki 2 года назад +1

    bro i love these videos, and logical redstone ever since ive watched them
    keep on the good work thank you

  • @kengored_og
    @kengored_og 2 года назад

    i wish i had a teacher like you irl in class, logical redstone is so similiar to how the real computers work, that you can basically teach people using minecraft redstone. Amazing

  • @АлексейСмирнов-я6п3я
    @АлексейСмирнов-я6п3я 2 года назад +1

    So we now have memory, data converters, display interface, clocks and plenty logic gates, I think it's time to build an actual programmable FPGA developement board in minecraft. As a professional FPGA developer, I will definitely try building the following: 1) building a single LUT, it's now definitely possible, as I understood from your videos. Try performing different operations and controlling it. 2) build cells from LUTs, add some interconnects and clocking routing 3) let's take altera Max ii as a simple example, then we organize cells into 2 IO banks, each with separate clocking domain and programmable IO voltage level (power of redstone signal when logic high). 4) add configuration memory, where all LUT's states are stored. As I understand, we dont have serdes's now, so it can be a parallel 16 bit flash, but if we have them, can we design an actual working SPI state machine inside the fpga to parse the data and configure our LUTs? And leave a way to configure it manually, clicking buttons e.g., like JTAG 5) try adding DSP slices, with fast multiplication/adding commands. Also add some BRAM inside (idk how to properly interact with BRAM in minecraft lol, random access to data will need tons of redstone, but if we get here, I'm sure something will come into mind) 6)connect one of the IO banks to display controller, and another one to RAM (I don't know if DDR is possible in minecraft, hope to see in your future videos), and try drawing geometric figures on screen, taking them from RAM.
    If you somehow manage to do even 1-2 of this shit, I will replace the FPGA course I give to my students with your videos 🤪

  • @element1192
    @element1192 Год назад

    The mechanism for multiplying by ten is super clever

  • @_m6_
    @_m6_ 2 года назад

    Every time i watch your videos on something I already know I always learn more, good job!

    • @Moai_rocc
      @Moai_rocc 10 месяцев назад

      I have the same problem, have you fixed it?

  • @JulianJ.-fy8id
    @JulianJ.-fy8id 8 месяцев назад

    That's exactly what I needed!
    Thank you so much!!

  • @infiltratious8195
    @infiltratious8195 2 года назад +3

    let’s goooo been waiting on this

  • @brandonboden4408
    @brandonboden4408 Год назад

    Hey Matt. No idea if you'll see this or not. I just wanted you to know that this tutorial series has been amazing. I was able to take your 8-bit design, and expand it out to a whole 32 bits! Isn't that entirely to many bits!? :D

  • @frostyusername5011
    @frostyusername5011 2 года назад +2

    this was great thanks!

  • @mildlysensable
    @mildlysensable 2 года назад

    Love the videos, this is great content. Subbed. If you wouldn't mind, could you add a dedicated applications segment to your videos? Would be much appreciated. Keep up the great work man!

  • @ЕгорЖашков-м5ф
    @ЕгорЖашков-м5ф Год назад

    Perfect tutorial, thanks

  • @HelPfeffer
    @HelPfeffer Год назад

    Partly you're the reason I study cc
    I'm also studying Mechatronic

  • @DiB0000
    @DiB0000 2 года назад +3

    Nice ;)

  • @LEE_MILLARD
    @LEE_MILLARD 2 года назад

    Good series, was wondering with displays if anyone has made a changing colour when a different number or letter was displayed, I know you can you glass blocks but they would always be the same

  • @mushyhiccup7653
    @mushyhiccup7653 Год назад +1

    Any way I could alter that CCA adder to not use comparitors? They're absolutely broken in bedrock edition, and there's no resources for bedrock friendly binary circuits anywhere on the internet.

  • @JulianGaming007
    @JulianGaming007 2 года назад

    Awesome tutorial once again

  • @Red_Core13
    @Red_Core13 2 года назад

    **sorry is my inglish is bad, I'm Brasilan. Man, thank you so much. I like to work with redstone, and with this build a cool calculator, all this playlist helped me, but principaly the part that say about BCD.

  • @vstechiegamer5996lol
    @vstechiegamer5996lol 10 месяцев назад +1

    The CCA designs from the LRR series are bigger and therefore I can't do the x10 step.

  • @atomgutan8064
    @atomgutan8064 2 года назад +1

    Great video!

  • @Creepy-Wolf
    @Creepy-Wolf 6 месяцев назад

    I love ur channel. But why do you need a BCD to Binary device?

  • @JB-gl2qp
    @JB-gl2qp 2 года назад +2

    LoL every one is saying it's early but little do they know I live in the other side of the world.

  • @lucidmoses
    @lucidmoses 2 года назад

    The other videos in this series have been brilliant. Though I could build it from the this videos it doesn't have that same razor clarity at the beginning like your others. Still, got the job done.

  • @user-Player530
    @user-Player530 2 года назад

    Is the thing you showed the thing used in the 8-bit calculator totorials?

  • @MalteFP
    @MalteFP 11 месяцев назад +1

    I don't really understand the inputs, as at the end you say "we put in 1,2 and 3" and then you input 1110 and you get out 123 in binary but 1110 isn't BCD for 123 so please explain.

    • @__-eo9nu
      @__-eo9nu 8 месяцев назад

      Use an encoder for values 0 to 9 and input them into this converter. This machine isnt truly a bcd to binary converter as the only way to convert decimal values to binary ones is to encode them. But this machine allows you to only need a 0-9 (binary) encoder instead of a 0-255 encoder which would be 310+ blocks long

  • @75rxREDSTONE
    @75rxREDSTONE 2 года назад

    This is really cool, helpful and understandable, but the only problem is that I need a 32-bit BCD to Binary machine, and this is really hard to find where the repeaters needs to be syncronized. Although I already made a 32-bit cca, but I don't think the bcd to binary machine can be stackable even if it is modified a bit

  • @arthursoares5374
    @arthursoares5374 10 месяцев назад

    And what about 9? When you attempt to input 9, it seems to interpret it as 8. Yes, the 4th layer of the adder already has 2 inputs, but you can add one more on the right side in the same way you've already done with the 3 layers below

  • @Moai_rocc
    @Moai_rocc 10 месяцев назад

    If I have two connected CCA adders, is there a way I can add this to them to make a 16 bit version?

  • @orfeoriva5384
    @orfeoriva5384 2 года назад

    Im still here!

  • @definitlyarealperson7041
    @definitlyarealperson7041 2 года назад

    realy cool video!
    but if the limit is 8-bit so how do you make the 14-bit calculator?

  • @tinojaa6749
    @tinojaa6749 2 года назад +2

    could you do a tutorial on a 16 bit bcd to binary or 16 bit binary to bcd?

  • @PixelYT-ts2fe
    @PixelYT-ts2fe Год назад

    WoW

  • @ThomasDemonte-fb6jj
    @ThomasDemonte-fb6jj Год назад

    THANKS

  • @mimip9999
    @mimip9999 2 месяца назад

    Is there a way to make it 32 bit using this design?

  • @irab8699
    @irab8699 Год назад +2

    When ever I turn on 9 in BCD it gives me an eight and visa versa. Is there a fix for that?

    • @chrisbosh584
      @chrisbosh584 Год назад

      hey, i know i'm a bit late but if you still need a solution i can give it to you. i had the same issue and realised i was missing a component. i'll do my best to explain here but if you need help/pictures you can give me your discord or something and i'll send pics.
      you know how we built an xor gate at the very end or each layer before the signal goes off to the output lamps? well all of those xor gates will have 2 inputs going into them (kind of obvious because otherwise there is no point in the xor gate being there). you need to ensure the xor gate on the bottom layer also has 2 inputs going into it. look at one of the layers above and see how both input are fed into it and where they come from. if you compare it to the bottom layer, you'll presumably be missing one of those inputs and you'll be able to tell which one it is. simply built the exact same connection that is missing on that xor gate as is present on all the others and you will be working in no time. literally like 5 blocks to fix it.
      if you'ver already found this fix or have abandoned the project/moved on to another design, i hope this comment will help anyone else who finds this issue. i don't think the tutorial missed this part because i went back and saw that he does indeed have the connection built on his, so if he put 9 or 8 in his contraption at the end, it would have worked on his. i assume it's just a build mistake when using world edit mod that is easy to make, hence we both had the issue. good luck and have fun :)

    • @irab8699
      @irab8699 Год назад +1

      @@chrisbosh584 No I figured it out but thanks anyway lol.

    • @chrisbosh584
      @chrisbosh584 Год назад

      @@irab8699 lmao all good, hope someone needs my mini essay in the future

  • @sroncal8048
    @sroncal8048 Год назад

    Is it possible to find a way to sync it with an rca for 16 bits instead of cca

  • @bigbilly7269
    @bigbilly7269 2 года назад

    Yaaaaaaaa

  • @Star-du2od
    @Star-du2od 2 года назад +1

    😮

  • @Looki2000
    @Looki2000 2 года назад

    How do I check if it will "overflow" after entering another digit?

  • @emilpetersson109
    @emilpetersson109 2 года назад

    Hey! I was wondering if there is any way to extend this to a 16-bit or a 32-bit BCD binary converter. I have tried to expand it in different ways but I have not made it work in any way yet. Thansk!

    • @daviddgtnt
      @daviddgtnt 2 года назад

      If you expand the adder more vertically, then it should work. I wouldn't recommend doing it until after you've built the 8-bit converter a few times.

  • @lightingsimon
    @lightingsimon Год назад

    I'm so confussed this is nothing the outputt of binary to bcd but its suppost to be the oppostite?

  • @justinchai641
    @justinchai641 Год назад

    why won't the redstone drop when you break the block below it?

  • @DoxxTheMathGeek
    @DoxxTheMathGeek Год назад

    Can you do it with 14 Bits, so you can input 9999?

  • @slava6105
    @slava6105 Год назад

    Just realized that you are like Ben Eater but in Minecraft

  • @xandersfs2346
    @xandersfs2346 2 года назад

    I had to modify the design slightly to get more than 8 bits

  • @kostekcalp
    @kostekcalp 3 месяца назад

    How do you type 9?

  • @TH_5094
    @TH_5094 2 года назад +1

    Matt desurv moor subskriburr

  • @xoxogamewolf7585
    @xoxogamewolf7585 Год назад

    The machine example looks pretty sus.

  • @mangalover7449
    @mangalover7449 Год назад

    What about 9?
    Cuz 8 already occupied all the input so how can i put 1 and 8 to get 9?

    • @__-eo9nu
      @__-eo9nu 8 месяцев назад

      9 in binary is 1001.

    • @mangalover7449
      @mangalover7449 8 месяцев назад

      The only toggleble button is 1 2 4 and the carry 1 and if all of them are on they'll be 8 so there's no left button to add up into 9

    • @mangalover7449
      @mangalover7449 8 месяцев назад

      I think i get it now😮😮😮😮😂😂😂😂

    • @__-eo9nu
      @__-eo9nu 8 месяцев назад

      @@mangalover7449 There's 4 inputs if you built it right, 1 2 4 and 8. The values go to 0-9 in 1 bit of base 10 so you dont need anything higher than 4 bits.

    • @mangalover7449
      @mangalover7449 8 месяцев назад

      @@__-eo9nuas i have said , how to put 9 cuz if i pick 8 all of the input will be ON cuz 1+2+4 and the carry = 8

  • @xoxogamewolf7585
    @xoxogamewolf7585 Год назад

    At the start.

  • @alnilambg568
    @alnilambg568 2 года назад +2

    Early :D

  • @pineapplef3m0
    @pineapplef3m0 7 месяцев назад

    is that anyone noticed the showcase of it looks like an amogus

  • @theminingj17tmjindustries82
    @theminingj17tmjindustries82 2 года назад

    Nah I’m too dumb for this crap,
    When making redstone contraptions I’d rather just
    Example: 1736 bcd decodes the place values
    1000 + 700 + 30 + 6 lmao

    • @ikyyntts7807
      @ikyyntts7807 Год назад

      this is exactly what this machine does

  • @ugrosnob8885
    @ugrosnob8885 2 года назад

    looking kinda sus

  • @xoxogamewolf7585
    @xoxogamewolf7585 Год назад

    *schematic

  • @BV-mg1ek
    @BV-mg1ek 2 года назад

    Here before 69 likes