binary to decimal

Discussion in 'The Projects Forum' started by kipras87, Nov 2, 2010.

  1. kipras87

    Thread Starter New Member

    Oct 18, 2010
    6
    0
    Hey guys, I want to convert an 8 bit binary to binary-coded decimal (BCD) and then display that on three 7-segment LED. Can anyone give me an idea on how to convert that I would appreciate a lot. Also, I know there is a way to do it with shifters and adders, but I guess there is an easier way to do this without micro or 74185 (since they are not selling it anymore). Thanks in advance.
     
  2. debjit625

    Well-Known Member

    Apr 17, 2010
    790
    186
    The most easier way is to use microcontrollers (MCU).

    Good Luck
     
  3. kipras87

    Thread Starter New Member

    Oct 18, 2010
    6
    0
    I can't use microcontrollers, is there another way to do it?
     
  4. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,699
    909
    Are there any other limitations? That is, can you use any chip or any number of chips so long as you don't do the programming? Can you use FPGA? Or, do you want something done with just logic gates and counters? (Again, can you use any logic gate or counter that is available?)

    Is this a homework assignment (e.g., you only need to make it on paper) or is it for a real product?

    John
     
  5. kipras87

    Thread Starter New Member

    Oct 18, 2010
    6
    0
    I want to make this by using any logic gates, counters, adders, or shifters with a low cost. Any chip I can use as long as I don't program it and not an FPGA. Schematic would be nice or just an idea what I should use. Thanks again.
     
  6. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,699
    909
    What is your input binary format? For example, serial or just toggle switches?

    John
     
  7. MMcLaren

    Well-Known Member

    Feb 14, 2010
    759
    116
    Are you sure you don't want to try a custom solution?

    Regards...
     
  8. kipras87

    Thread Starter New Member

    Oct 18, 2010
    6
    0

    For input I will be using dip switches as for now.
     
  9. windoze killa

    AAC Fanatic!

    Feb 23, 2006
    605
    24
    To the OP, Look around for a 74185. They are still available. Check out surplus stores.

    To all the others, he could also use a cray super computer. :D
     
  10. windoze killa

    AAC Fanatic!

    Feb 23, 2006
    605
    24
    Last edited: Nov 3, 2010
  11. kipras87

    Thread Starter New Member

    Oct 18, 2010
    6
    0
    Is it possible without coding, like shifting the 8 bits and adding three if the bcd is higher than 5 or is this only for programming? Because I can shift and add using adders but I can't figure it out how to construct a circuit using if greater or equal than 5.
     
    Last edited: Nov 4, 2010
Loading...