Re: Binary to BCD converter IC?




On 27-Jan-2008, ivanatora <ivanatora@xxxxxxxxx> wrote:

Xref: number1.nntp.dca.giganews.com sci.electronics.basics:284450

I'm back again.
I've searched a lot and find no easy way to convert parallel binary
into BCD, so I'm reconsidering using a microcontroller. They are
pretty cheap indeed, and a friend of mine just built a PIC16
programmer. Me and him are not so bad in C and asm, so we could make
of that good learning project :)

I believe someone pointed out that an easy way to convert binary to BCD is
to store the BCD values in EPROM(s) and use the binary as the address. I
once wrote an ASM Macro to generate the BCD values for storing in a HEX
file to program the EPROM. You need four output bits of EPROM for each BCD
digit. For eight bit binary you need two eight bit wide EPROMs.

Ken Fowler
.



Relevant Pages

  • Re: Binary to BCD converter IC?
    ... once wrote an ASM Macro to generate the BCD values for storing in a HEX ... You need four output bits of EPROM for each BCD ... digit. ...
    (sci.electronics.basics)
  • Re: Binary to BCD converter IC?
    ... to store the BCD values in EPROMand use the binary as the address. ... once wrote an ASM Macro to generate the BCD values for storing in a HEX ... You need four output bits of EPROM for each BCD ... digit. ...
    (sci.electronics.basics)
  • Re: Binary to BCD converter IC?
    ... once wrote an ASM Macro to generate the BCD values for storing in a HEX ... You need four output bits of EPROM for each BCD ... digit. ...
    (sci.electronics.basics)