Forums - Open Redstone Engineers
Binary to Seven Segment - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: ORE General (https://forum.openredstone.org/forum-39.html)
+--- Forum: Build Discussion (https://forum.openredstone.org/forum-50.html)
+--- Thread: Binary to Seven Segment (/thread-1260.html)



Binary to Seven Segment - Halflife390 - 10-27-2013

Hi all

Im not sure if this is in the right sub forum but I'm not sure where else to put it. Im just wondering about something that cursed me when I was making my old CPU server segment screens.

Im sure you've all heard this question or had this problem before but I still haven't found a good solution to the problem. What is the best way to convert the binary output from a CPU/ALU into something that seven segment screens will work with. Is it best to do binary to decimal or binary to hexadecimal? Are both of those bad and the best thing is binary coded decimal? Bare in mind I am talking about 8 and 16 bit here. I have made binary to decimal decoders and hooked one of them up to each screen. When a number comes in though like 32, it only goes to one screen so only one digit of the number is displayed and I have know idea how to fix it.

I have seen many ways online that are REALLY small but do the job fine and its really frustrating as I want to know how they work. Here is one example - http://www.minecraftforum.net/topic/495257-modularexpandable-any-bit-binary-to-bcd-converter/

If any one can answer any one of my questions please reply. If anyone knows how the decoder above works I would love it if you could teach me on the server how I would go about building one for myself.

Thankyou!


RE: Binary to Seven Segment - Chibill - 10-28-2013

I am working on a 8 bit 10 tick binary to Dec


RE: Binary to Seven Segment - Halflife390 - 10-28-2013

(10-28-2013, 12:26 AM)Chibill Wrote: I am working on a 8 bit 10 tick binary to Dec

Nice, does it use double dabble?


RE: Binary to Seven Segment - Chibill - 10-28-2013

No I am still to start work on it uses a pistion tape like system.


RE: Binary to Seven Segment - Halflife390 - 10-28-2013

(10-28-2013, 01:04 PM)Chibill Wrote: No I am still to start work on it uses a pistion tape like system.

Clever, I had an idea like that once but I didn't know how i would make it reset itself and stuff.


RE: Binary to Seven Segment - Chibill - 10-28-2013

I am using a clock line system.


RE: Binary to Seven Segment - Halflife390 - 10-29-2013

Ok let me know how it goes Smile