Home ] Up ] BCD to 7 Segm ] Mux Display ] Bcd Counter ] Toggle Button ] Stopwatch 1 ] Stopwatch 2 ] ALU Test ] [ Conversions ] The HiLo Game ]
Conversions

Up ] Binary to Bcd ] Bcd to Binary ]

Return to DIG

The natural number system (radix) for a digital system will always be 2 - And the natural number system for humans will be based at 10. Hence will a digital designs with a human interface often require conversions between those number systems.

One way to solve the problem could be division and multiplication - examples below.

It's possible to implement this in "pure" hardware -  but the best way to perform conversion will properly be based at a modified shift-register  <READ MORE HERE>.

     

ASCII => Bcd => Binary 

 

Binary => Bcd => ASCII