Minecraft Maps / Redstone Device

7 Wide Binary to 7seg Decoder with Piston Display

  • 805 views, 2 today
  • 49 downloads, 0 today
  • 4
  • 0
  • 11
Mrbojangles217's Avatar Mrbojangles217
Level 26 : Expert Dragonborn
5
Okay guys, I've been making compact decoders for an improved version of a calculator that's in progress. Why? Because I want a convenient way to compact many screens and their hardware right next to each other. This is the third iteration of my decoder, and it is exactly as wide as the display itself, this is the ultimate holy grail width. For those of you who aren't even sure what it does, there are four levers in the back (they could be removed and attached to a calculator or cpu), these are the binary inputs, they will convert the binary and put it into the display to show answers. Read the levers from the top left to the bottom right, see screens for help. I hope you guys have fun with this!

P.S. Yes I know i could make it even more compact, but its starting to get a little slow the taller it gets, and this width is perfect.

P.S.S I included a sneak peak screenie of my next calculator! :)
Progress100% complete
Tags

Create an account or sign in to comment.

1
11/11/2012 6:39 am
Level 54 : Grandmaster Pyro
martin2250
martin2250's Avatar
hey there, :)
i adjusted it a little bit, because i needed hexadecimal output, also it didn't work because of the recent patches, so i fixed it.
you are welcome:
dl.dropbox.com/u/51864402/Dokumente/7seg%20with%20Decoder%20V3.schematic
1
01/08/2013 11:05 pm
Level 26 : Expert Dragonborn
Mrbojangles217
Mrbojangles217's Avatar
Lol dude very nice! I'm glad its still of use to someone! Sorry for taking so long to reply with thanks, I gave up minecraft for around half a year for school haha! :D
1
09/18/2013 9:40 am
Level 54 : Grandmaster Pyro
martin2250
martin2250's Avatar
yep, thanks for mentioning me in the hexadecimal version...
1
08/06/2011 12:09 am
Level 30 : Artisan Unicorn
Hex_xeH
Hex_xeH's Avatar
If you want to get rid of the spaces in the middle, then rather that copying the seven seg and pasting it, build it a second time, but a mirror image of it, that way it'll lessen the amount of blocks by a ton.
1
08/06/2011 1:34 am
Level 26 : Expert Dragonborn
Mrbojangles217
Mrbojangles217's Avatar
I never actually thought of that! -.- I still like it like this though, it takes up so much less horizontal space than my previous design, I wanted to try and see how vertical I could get it to go. I was thinking about trying for a decoder that was 3 wide, but I didn't want to attempt that! I'm working on the next part of the calculator now though, which is some kind of method of getting base 10 decimal system on multiple screens, Its giving me quite a challenge as there isn't much information I can seem to find on it! I know there is some kind of algorithm for it, but I can't really quite figure it out. Do you have any advice on that?
1
08/06/2011 2:59 am
Level 30 : Artisan Unicorn
Hex_xeH
Hex_xeH's Avatar
From what I saw, you have 5 screens, and that leads me to believe you're looking at 16 bit. Well, a 16 bit decoder is freaking huge. I tried making an 8 bit one, and that was 255 outputs, so yeah. 16 bit is preeeety big. Cos 8 bit is 2^8 - 1, then 16 bit is 2^16 - 1, which is 65535. So yeah, really really really really really big.

I have an 8 bit ALU that I've just hooked up to 2 hexadecimal displays, which is easy, because 4 bit in Hex is exactly 4 bits for 1 - F, so you can just use multiple 4 bit decoders for each digit and its still right on the display.

Here, I'll put up a screenshot for you.

imageshack.us/photo/my-images/543/20110806155647.png/

As you can see, 2 hex displays next to eachother, which are basically the same as dec, just extended.
1
08/06/2011 4:18 am
Level 26 : Expert Dragonborn
Mrbojangles217
Mrbojangles217's Avatar
Yes, 16 bits was my goal! I have actually already used hexadecimal decoders to make a 16 bit, its the one on my page, but I really wanted to try and make one that displays decimal answers! So far the only way I knew of was to make an output line for every possible answer, which is just too crazy and inefficient, but I just dug around and discovered this algorithm. Its apparently called double dabble, and it operates by adding a certain number to the binary to split it up into the separate numbers for the screens.

This is from Wikipedia

In computer science, the double dabble algorithm is used to convert binary numbers into decimal (in particular, binary-coded decimal, or BCD, notation).

I am not sure how to apply this concept to the game yet, but I know there is a way to do it! The way it works I guess is that if I want 2 screens to show 16, I feed the binary for 16 into a machine that adds 6 to it to make it 22, which in binary is 0001 0110. That's a 1 for the first screen and a 6 for the second screen. I don't know how to build something that does this yet though. I see you're in the RDF, has anyone you know done this yet? Or am I just behind the times?
1
08/10/2011 8:26 am
Level 30 : Artisan Unicorn
Hex_xeH
Hex_xeH's Avatar
Na, I don't believe any of us have ever done that. Would be a good thing to check out to.

If you wanted to come join us you'd probably be accepted :P Just hop on the IRC if you want at #RDFPublic and freenode.net as the server.
1
08/15/2011 1:08 am
Level 26 : Expert Dragonborn
Mrbojangles217
Mrbojangles217's Avatar
Hey man, thanks for the invitation to join, I'm a default in the place now and having a blast looking around! Hopefully I'll be a builder soon! They let me right in when I told em you sent me! XP I'm looking forward to working with some of you guys!
1
08/10/2011 2:35 pm
Level 26 : Expert Dragonborn
Mrbojangles217
Mrbojangles217's Avatar
I actually just figured it out recently, the thing is still really big, but its actually a manageable size now! And sure man, I'll check you guys out! :)
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome