Forums - Open Redstone Engineers
Binary to Analog Decimal using Double-Dabble - 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: Binary to Analog Decimal using Double-Dabble (/thread-5419.html)

Pages: 1 2 3


RE: Binary to Analog Decimal using Double-Dabble - Legofreak - 01-02-2015

Depending on how it works, a ROM might be the fastest option for analog. the thing is, I'm looking for an algorithm...

I'm looking to get up to 4 hex digits or 16 bits. currently my double dabble thing should be able to stack that far but it will be huge...


RE: Binary to Analog Decimal using Double-Dabble - Legofreak - 01-04-2015

The advantage of flat stuff is that you can fold it on top of itself pretty easily. this has 2X stacked vertical binary inputs

I feel like this is pretty compact for 8 bit conversion(24x12x16). I even slapped on a couple of the magical gentleman's vertical hex to bin converters on the inputs. I even added a 9th bit(256) just because it didn't require anything extra. this was a bit of a speed build with not much optimization in mind.
[Image: HEXtoACD_zpsa601c988.png]

didnt bother deleting the extra cells. so the top left half doesn't actually do anything.

edit: tested functional to 16 bit or FFFF in hex
[Image: HEXtoACD16bit_zps3f571802.png]

It's a big triangle when the useless cells are taken away
[Image: HEXtoACD16bit2_zps8ab69278.png]

I also made leading 0s disable the display


RE: Binary to Analog Decimal using Double-Dabble - Frontrider - 01-23-2015

Newomaster made some really small binary to hex analog / hex analog to binary converters. Thats a rellay big help. You can have trouble extending it to connect the display.


RE: Binary to Analog Decimal using Double-Dabble - Legofreak - 01-23-2015

the vertical white parts on the side are hex to binary. The output of the acacia wood device is analog decimal. If I wanted BCD I would just need another hex to binary converter for each output digit. So I wouldnt actually need binary to hex anywhere in here. Binary to hex is super easy too. Thanks anyway.


RE: Binary to Analog Decimal using Double-Dabble - Magic :^) - 01-24-2015

my hex->bin decoder!
Big Grin

This topic makes me want to brush up on my display skills, the stuff i use right now is horrifically large ;-;

Nice work with the double dabble!


RE: Binary to Analog Decimal using Double-Dabble - Legofreak - 01-24-2015

Yes, I love them. They fit perfectly for this design. I didn't feel like designing a new one. sorry i didnt ask, but at least i give credit Tongue


RE: Binary to Analog Decimal using Double-Dabble - Frontrider - 01-24-2015

You really need double dabble to do that? If everything goes right i will present my solution in a few hours in my application.
Right after i filled the communication gap between me, and the guys guiding/ whatching my application.


RE: Binary to Analog Decimal using Double-Dabble - Magic :^) - 01-24-2015

It's on, bois

[Image: 5Ng57KB.gif]


RE: Binary to Analog Decimal using Double-Dabble - Legofreak - 01-24-2015

There is a way to convert hex directly to decimal but it involves multiplying powers of 16 by the amount of each digit... I haven't quite figured out a good way to do that yet.


RE: Binary to Analog Decimal using Double-Dabble - Nuuppanaani - 01-25-2015

(01-24-2015, 12:27 PM)The Magical Gentleman Wrote: It's on, bois

[Image: EsgyUmj.gif]