04-26-2014, 12:32 AM
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.
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.