Diode Matrix Decimal-to-binary encoder..
The switches left to right correspond to the decimal numbers from 1 to 9, as any one of the nine switches is closed will be seen by the output as logic 4 binary digits. The decimal zero requires no input as zero is encoded when all nine data lines are at a high logic level...
Decimal numbers in a calculator may be sent to a numeric display using BCD (Binary Coded Decimal)... The encoder circuit described in this module is just as a good example for the decimal numbers keys in a calculator...