Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

analog to digital converter

Status
Not open for further replies.

victorcarlos

New Member
hello, is there a way to put 3 digits in a adc0804? the output is in bcd , i used bcd to 7 segment converters , but i dont know how to put a third digit to make the circuit measure up to 255 (8 bits).
 
The ADC0804 outputs data in binary not BCD. You need to convert the output to BCD to get 3 digits (256 values) The best way to do this is with a microcontroller. You could even eliminate the BCD to 7 segment decoders and do it all inside the microcontroller.
 
this is a school project, i have to use the adc0804 . the outputs of this chips are (example) 00000000=0 ,01010101=85 ,11111111=255 , is not this type of output bcd? i can use a 7447 directly and it works fine , but i can only make up to 2 digits :( i dont know how to make a third digit to make the adc measure up to 255. Im not allowed to use microcontrollers in the class cause is "the basics of logic" and microcontrollers are part of the "advanced class".
 
I guess you were asleep when the instructor talked about binary numbers. BCD is binary coded decimal. Try latching your 8 binary digits in a register and using the value to count up a chain of BCD counters. that will convert from binary to BCD for you. Those outputs can drive the 7447 (where does all this old TTL come from?) to make the numbers.
 
victorcarlos said:
thanks for the info , thats what i needed to know. lol maybe not asleep but absent 1 or 2 days :p


That's OK, I've met plenty of software programmers that couldn't keep their bins, bcd, hex, ASCII straight either ;)

Reminds me of a troubleshoot effort over 20 years ago trying to convince a programmer that sending the letter O was not the same thing as the digit zero!, and the problem was not in the modem or phone line....

Lefty
 
Status
Not open for further replies.

Latest threads

Back
Top