Binary-Coded Decimal Logic Unit to 7 Segment Decoder

Binary-Coded Decimal Logic Unit to 7 Segment DecoderBasically a rough design of one of many components I’m working on to make a more realistic calculator in minecraft. Real calculators run off bcd because of how fluidly they work with the display and I want the same end result ultimately. This video shows how logic unit work via And-gate logic. For instance the 2 bit needs to be on to represent 2, 3, 6 and 7 and off for 0, 1, 4, 5, 8 and 9 and how you can use this to create a unit to output any combination of bits into a single output reliably. This is a work in progress as I aim to compact the logic to fit snuggly into my piston display so I can stack as many as I need tightly together to form my full display. Oh and I hope you dig this Stephen ;p Donate:

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Filed under roboticaust : Comments (20) : Feb 17th, 2012

20 Responses to “Binary-Coded Decimal Logic Unit to 7 Segment Decoder”

  1. roboticaust Says:

    amd 1090t with an extreme overclock.

  2. joshua01793 Says:

    You should pm scjoner he will like to see this nice work by the way :)

  3. roboticaust Says:

    When I watched this later on, I felt I did a really awful job explaining the logic. If you think about it logically, the 1 bit always needs to be on to represent odd number values. the 2 bit needs to be on to represent both 2 and 3, 6 and 7, etc. And that pattern continues along. It’s the basis for how it all works. But I really don’t feel I did a great job putting that into words when recording.

  4. roboticaust Says:

    He’s bound to see it ;p He knows I’ve been working on it every so often for some time now. My initial idea way a lot more convoluted and huge, so it has definitely evolved over time.

  5. roboticaust Says:


    I would assume their is some lag involved since it’s not only updating blocks but also light, but the amount of which is fairly trivial. At the very most it is updating all 8 segments or 24 blocks, which is still significantly lower than a day to night time change.

  6. salgurdar Says:

    @roboticaust I wish, I’m not sure which design it is you’e talking about, but I can asure you, if I showed it on my channel, I didn’t invent it =P I pinched it from somewhere else =P

  7. opopopopop31 Says:


  8. yayimahuman Says:

    I guess you need to be older than 12 to get this.

  9. therealZhuriel Says:

    interesting concept, so you basically added an extra line that enables multiple outputs to a lookup table, right?

  10. karlisgross Says:

    don’t know is it directly the same, but seems similar watch?v=GcdutozjFXQ

  11. roboticaust Says:

    Tis the goal. This is actually just a silly sideproject for me since I’ve been wanting to build one for ages but never put forth the time. I don’t want it to become my main focus by any means, but rather just something to do every now and then as a break from other projects. It’s good to have a few things going on at once so you don’t absolutely bore yourself to tears trying to make one concept work.

  12. yayimahuman Says:

    Ohhhh!!!! Got it.

  13. yayimahuman Says:


  14. Solarspot0287 Says:

    …While it’s almost completely unrelated to your decoder (although it does look nice!), I like the idea of pushing glowstone through a water curtain. Makes for a lot of contrast, much easier to see than torches or moving white wool against white wool… Does glowstone moving / water flowing create a lot of lag with a setup like this?

  15. colorblind1333 Says:

    @roboticaust is that a sandy bridge e?

  16. roboticaust Says:

    Okay, that is fucking impressive. This is actually pretty goddamn close to what I want to do with it but less laggy. I didn’t know about a sequential bcd to binary converter. As best I’ve seen and read online, you have to do mathematical conversions on to them in order to achieve it. This gave me a lot of ideas and a lot to research and should make the whole idea happen faster if I can figure it out in my own way. Thank you for this :D

  17. roboticaust Says:

    The second line is the invert line. So one acts like an enabler while the other is a dis-abler. It was the only way I could think of that didn’t require a ridiculous amount of tick like all the other designs I’ve seen. It makes that floor a bit larger, but it needs to be wide for the 7 segs anyhow. But it is a rough design. I want to find a much cleaner, low tick solution that is compact and right up against the segment inputs.

  18. roboticaust Says:

    If you can’t record it, a world save would do nicely. I’d love to see what you have. I’m trying to keep it low ticks in case I have to deal with converting to and from binary since it requires multiplication and division. Noting that the conversion would take place both before and after any calculations as well. I’d like to try my hand at straight bcd calculation instead, but it is pretty darn complicated.

  19. therealZhuriel Says:

    @roboticaust I’ve built a hex to 7 segment decoder using piston-based array logic for each individual segment. From what I can tell, it isn’t as compact or fast as your solution, but I could build it directly behind the display and it is only 11 blocks deep, 3-4 wide per segment (plus spacing) and 6 high. If you’re interested, I could try recording a video of it and/or my array logic system.

  20. roboticaust Says:

    Wouldn’t know truthfully. My pc has 6 cores at 5.2ghz each and 2 ati 6970s and is running off the single fastest ssd on the market. Not to mention, my 16gbs of memory are cranked way up to keep up with my cpu overclock. I typically get 700fps in game regardless of the amount of redstone involved. Only time it drops is when I fraps (since it forces a 30 fps) or when I stream (lowers me to about 100-200fps since I opt for a high quality stream).

Leave a Reply

You must be logged in to post a comment.