![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| I will be using an ADC0801 A/D converter for a small project, the output is Parallel (Db0 to Db7). Is this the same as BCD? What I plan to do is to interface it to a BCD to 7 segment IC, but will it work? I figured it would since BCD, and parallel output are the same, they are of course binary. | |
| |
| | (permalink) |
| Binary Coded Decimal is from 0 to 9. 8 bit binary is 0 to 255. It will work all right until you get over 9, then you will get fictitious numbers. Last edited by ClydeCrashKop; 6th July 2006 at 01:23 PM. | |
| |
| | (permalink) |
| You need to reset it after 1001 with a gate . | |
| |
| | (permalink) |
| BCD and binary are most assuredly not the same. Unless the A/D converter has BCD outputs your proposed design is doomed. | |
| |
| | (permalink) |
| You could always make a BCD Encoder for the output of the ADC. As a side-issue, bear in mind that the ADC0801 is designed mainly for use with a microprocessor. That doesn't mean you can't use it as a standalone device - you can and it'll work fine, but you'll want to look up the timing diagrams on the datasheet because you've got to connect it up in a certain way to get it to work on it's own. I managed to figure it out when I used one as a standalone so if you get any problems I'll have a quick look at the datasheet for you - I'm sure I can figure it out again! Brian | |
| |
| | (permalink) |
| Hang on, something's telling me it was an ADC0804 that I once used not an ADC0801. So I might be wrong about the whole micro interface thing. Brian | |
| |
| | (permalink) | |
| Quote:
Intrestingly, Ive found A/D that have BCD outputs or have 7segment display outputs integrated in the chip. I might go for those, if I can find one thats easy to use. What Im trying to do is convert a voltage from a sensor to be read on a display (in my case-LM35, the data sheet shows how to do it, which is why I was going to use that chip) | ||
| |
| | (permalink) |
| Sorry guys. I screwed up exponentially! | |
| |
| | (permalink) |
| [quote=What Im trying to do is convert a voltage from a sensor to be read on a display (in my case-LM35, the data sheet shows how to do it, which is why I was going to use that chip)[/QUOTE] As it happens, when I used the ADC0804 I was using it to convert the output of an LM35 as well!!! Brian | |
| |
| | (permalink) |
| Ivefound a chip that will practically do it all! Its outputs are BCD and needs no control lines or clock I have another question, reguarding the LM35. I am trying to figure out what the voltage will be at a certain temperature. The data sheet says 10mV/C. Is this 10mV Per C or is it 10mV Divided by C to get V out? The A/D has a 200mV and 20V Capablity. The A/D Converter is CA3162. | |
| |
| | (permalink) |
| Degrees K, °K (DM74184/DM74185A BCD-to-Binary and Binary-to-BCD Converters Not made any more | |
| |
| | (permalink) |
| It means that the voltage output from the LM35 will increase by 10mV for every one degree rise in temperature. Brian | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Well it depends on your application. A 2V scale would give you enough room to measure up to 200 degrees C, although I think that far exceeds the capability of the LM35. If I remember from when I used it, it tops out at 50 Degrees C? Brian | |
| |
| | (permalink) | |
| Quote:
Ive figured out how to calibrate it already, since it wll be reading in C, all I have to do is get a certain voltage (say .5V for 50C) and adjust the display so it will display 50. Of course I might leave the decimal out, but I'll leave the negative sign in. Last edited by Overclocked; 7th July 2006 at 09:42 PM. | ||
| |