ACD (Analog Coded Decimal) - Printable Version +- Forums - Open Redstone Engineers (https://forum.openredstone.org) +-- Forum: ORE General (https://forum.openredstone.org/forum-39.html) +--- Forum: Tutorials (https://forum.openredstone.org/forum-24.html) +---- Forum: Advanced Tutorials (https://forum.openredstone.org/forum-26.html) +----- Forum: Concepts (https://forum.openredstone.org/forum-28.html) +----- Thread: ACD (Analog Coded Decimal) (/thread-3262.html) |
ACD (Analog Coded Decimal) - Chibill - 04-26-2014 Analog Coded Decimal is a version of BCD I created because it is compact and can be converted from and to BCD with ease. It can also transmit Decimal. To convert from ACD to BCD is as simple a signal strength to 4 bit binary decoder. But it convert to ACD to BCD is a binary to signal strength converter. Now for ACD to Binary is a bit of a challenge because you must decode each line to is binary equivalent then add them all which I figure for a system that can count to 99 to be maybe 6 ticks. For Binary to ACD you need ether a loop that runs till its done or many subtractors. Because to get a number like 25 to be ACD from Binary you need to first subtract 20 but you ask how do we know what to subtract? Its simply a matter of starting at the highest you number in binary can be in tens then subtract if it is negative don't then go down by 10 and try again. If it is not negative disable all the other out puts. Then repeat for the ones. This has been a documentation by Chibill. Thank you for reading. More info on speeds and designs as I test and try them. RE: ACD (Analog Coded Decimal) - Legofreak - 04-26-2014 Here's an example of the same value in BCD,Decimal,Binary, and Hexadecimal. not much conversion going on here. it's 2 separate systems. the top system uses analog limited to 9(i assume thats what ACD is) and the bottom uses full range analog. both have the same display but since the top system carries after 9, the binary output looks like BCD and the hex looks like decimal. RE: ACD (Analog Coded Decimal) - EDevil - 04-26-2014 I love your non-torch creations Rek <3 RE: ACD (Analog Coded Decimal) - Chibill - 04-26-2014 ACB has the same limitations as BCD but takes up far less space to the lines. RE: ACD (Analog Coded Decimal) - Chibill - 04-30-2014 Also I am working on ACD to binary and Binary to ACD on the server /pwarp chibill to see it. |