Forums - Open Redstone Engineers
Analog to Binary - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: ORE General (https://forum.openredstone.org/forum-39.html)
+--- Forum: Projects & Inventions (https://forum.openredstone.org/forum-19.html)
+---- Forum: In Progress (https://forum.openredstone.org/forum-20.html)
+---- Thread: Analog to Binary (/thread-3565.html)



Analog to Binary - Legofreak - 05-20-2014

So the other day I was thinking if its possible to sync the outputs of a binary decoder such as this. I was shown a design that had uneven comparator delays when switching between values. I think I'm close here but in my trials to make that I managed to do it in a 2 wide output form factor(before it was 4 wide). One of the outputs has to go under to the other side.
I think it might also be one of the smallest of its kind...
[Image: analog2binary_zps2c521ac3.png]


RE: Analog to Binary 2 wide - Chibill - 05-20-2014

Four bit? If so yes.


RE: Analog to Binary 2 wide - Legofreak - 05-20-2014

It is 4 bit but "yes" to what?


RE: Analog to Binary 2 wide - Chibill - 05-20-2014

Smallest I know of its kind.


RE: Analog to Binary 2 wide - Legofreak - 05-20-2014

I drew this up in paint... hopefully its readable
[Image: ana2binz_zps94084b69.png]

input = far left
outputs = repeaters from left to right 8,4,2,1

Edit: and here's a block diagram... I think this belongs in tutorials.
[Image: ana2binblock_zps5a1b39ec.png]


RE: Analog to Binary - Legofreak - 05-30-2014

Last night I made a decoder that only takes 2 ticks. It's big and ugly but its fast. Instead of doing math to figure it out, all 15 possibilities are pre-calculated using a bunch of A not B gates.

I'll try to upload a picture later.


RE: Analog to Binary - greatgamer34 - 05-31-2014

Thank you for not calling it an implies gate!


RE: Analog to Binary - RandOMFG - 06-01-2014

5 tick sync analog->binary

http://imgur.com/a/nLpDw

Want anti-burnout? I can make that too.


RE: Analog to Binary - greatgamer34 - 06-01-2014

Nice Rand!


RE: Analog to Binary - Legofreak - 06-01-2014

(06-01-2014, 09:34 PM)RandOMFG Wrote: 5 tick sync analog->binary

http://imgur.com/a/nLpDw

Want anti-burnout? I can make that too.
My new one is anti-burnout, and its synced at 2 ticks... its just not as nice looking as yours.

Here it is:
[Image: anabin_zps3d636b59.png]
there is an extra tick because of the memory cell but the processing is only 2 ticks.
the side for the ones looks nice but 2,4, and 8 are a mess.


RE: Analog to Binary - RandOMFG - 06-02-2014

That's some fine-ass redstone right there, sir.


RE: Analog to Binary - Legofreak - 06-02-2014

not sure if that's sarcasm...


RE: Analog to Binary - EDevil - 06-02-2014

No it isn't.

Rand is awesome and shall never give sarcasm (no sarcasm either).


RE: Analog to Binary - Legofreak - 06-03-2014

Another block diagram: this one of my new design.

Anyone, feel free to try and compact this design. I folded mine in half at "DUST 8".
[Image: ana2bin2block_zps91e5684e.png]
The outputs could be all on one side but with the ones taking up so much space, I put them on their own side.


RE: Analog to Binary - Phase - 08-17-2014

NewoMaster has a much smaller design that uses the same logic.