|
|
MODULE V - FUNDAMENTALS OF ELECTRONICS Binary Numbers and Hex-Decimal in Digital Basics If you have a single switch or input you can have two possible input states, it is either on or off. With two switches or inputs you have four possible input states as shown above. If you go to three inputs you have eight possible states and four inputs give you sixteen states. Again digital basics. By adding another input you double the previous number of states. Doubling the inputs gives you the square of the states. We say four inputs gives sixteen states so doubling that gives us eight inputs so the number of states should be 16 X 16 or 256. |   |
Consider this. If I offered you a job and I made you two alternative offers for monthly payment - Offer No. 1 is to pay you a most generous $10,000.00 for the month. Offer No. 2 is to pay you one cent for the first day you work for me, two cents the next day and doubling each day thereafter for the whole 30 day month. Which offer would you accept? Answer at the very bottom of this page.
Of course the answer was seven. Try it with any number you like. Alright what's this A to F stuff? Look at a digit on a digital clock or watch for example. For those numbers to be represented in digital format requires four switches but now we will start using the correct terms. The word is "bits", heard that before? Now we're right into digital basics. Four bits are called "a nibble" and guess what?, eight bits are called "a byte". Bet you've heard that one for sure unless you live under a rock. You should know by now that four switches (OK bits right!) can represent sixteen states and with a digital clock you only go 0 to 9 and don't need anything else so that was called BCD or Binary Coded Decimal. The last word is because we humans count in decimal format or decades. Digital devices including computers DON'T, they can't. All they see are ones and zeros, nothing else. |
|   |
|