Re: Binary to BCD converter IC?
- From: "Ken Fowler" <ko6no@xxxxxxxxx>
- Date: Mon, 28 Jan 2008 02:12:46 GMT
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
.
- References:
- Binary to BCD converter IC?
- From: ivanatora
- Re: Binary to BCD converter IC?
- From: ivanatora
- Binary to BCD converter IC?
- Prev by Date: $45us/pc H.I.D Conversion Kit
- Next by Date: Power = P = VI = I2R, V2/R
- Previous by thread: Re: Binary to BCD converter IC?
- Next by thread: Was Jesus Perfect God and Perfect Man at the Same Time?
- Index(es):
Relevant Pages
|
|