Search results
Results From The WOW.Com Content Network
Papabravo said: You express 0.9 as sum of binary fractions: 0.9 = (1/2) + (1/4) + (1/8) + ... to any level of precision you care to work with. In the above case you would have the binary fraction: 0.1110. I believe this converts 0.9 into binary and not BCD. I think 0.9 in BCD will simply be 0.1001 as the whole point of BCD is to use 0-9 binary ...
Joined May 21, 2015. 13. May 22, 2015. #1. Converting Decimal to BCD is easy but how do I convert BCD to Decimal when the BCD is like this: 0111100100100010110 (BCD) = 0011 1100 1001 0001 0110 (grouping into 4 bits from right to left) = 3 12 9 1 6 (converted 4bits binary to decimal) = 312916 (Final decimal number) As you can see I've done as ...
That works easily with, say, 4 discrete values. I want to select voltages between 22 V and 12 V in 0.1 V steps. An ovbious way to do that is with BCD thumbwheel switch and BCD to decimal decoder on the board. By using either transistors or blocking diodes, I think I can get it done, but an open collector type of logic chip would make it easier.
The 7441 do "react" to BCD code higher than value 9 and turns on one of its decimal output. The K155ID1, which claims to a replacement for 74141, works like the 74141 and does not outputs anything for BCD code 0A to 0F.
The fact that it is BCD -- binary-coded decimal -- means that there are ten valid codings. But since there are sixteen possible codings, the other six are not defined and could be anything. The designer of the circuit could make them do anything they want. They could make the chip explode if one of those six inputs is applied.
BCD stands for binary coded decimal, that can count in binary from 0 to 9 - any codes after that are "illegal" codes. If you want to count up to 16, the input will be 4-bit binary. L.
Joined Apr 11, 2010. 9,210. Nov 9, 2023. #6. BCD switches use 4 bits to encode one decimal digit from 0-9. You mention 5 and 15 positions, so I don’t think they’re BCD switches. They could be binary coded; just not binary coded decimsl (BCD). You’d need three bits or three outputs to encode 0-5 in binary. Or four bits or outputs to encode ...
35,185. Feb 25, 2013. #2. 1. You can use a CD4060 with a 32,768Hz watch crystal to get a 2-second pulse. Divide that by 2 with a FF to get a 1-second count for the input to the 1-second counter. 2. The 1A model would be better for powering all the LEDs. 3.
The big problem is that the BCD code is the decimal show in binary format, so only can be show 0~9, any number over 9 is wrong, so discussing a long strings just doing the same problem the number was limited in 0~9.
Joined Feb 11, 2008. 5,438. Aug 7, 2011. #3. You can do it with a very small amount of code as successive subtraction, like this; Rich (BB code): // converts two 4bit BCD numbers to 2 decimal digits, orig BCD is. // in numb, and numb is destroyed during the conversion. digit1 = 0;