ADC current requirement

Im still working on ATmega16 which has buil-in A/D -converter. It seems that the converter is a drain for 10mA current ( 0 - 5 V ). Devise that feeds the analog voltage gives only 5mA ( 0 - 10 V ). So at the moment when I connect the lines, voltage drops heavily from about 4 V --> some mV.

Is there a way to work it out? 10mA sound quite big to me. Is there a possibility that there are something totally wrong because the current requirement is so big?

nogoodinel

Reply to
nogoodinel
Loading thread data ...

If you're saying that the ADC input pin is sinking 10mA of current, that's unlikely.

Yes, something must be terribly wrong. You probably have the pin as a digital output with a 0 written to the pin, and it's driving the load low (or at least trying very hard to do so). An ADC input should be like any other input and look like a fairly high impedance.

Reply to
Anthony Fremont

I dont know if it is possible to make one pin to be digital 0 output and a/d converter at the same time. A/D conversion works and it is possible to monitor it at pc. Same time current goes 0.1 A inside ADC . My first message had error with zeros. Sorry. There goes so much current that some of the 0/1 outputs does their thing (like blink led) even if the Vcc is plugged out. If my chip wouldn work as it does, I'd say it is totally busted because of current.

help

Reply to
nogoodinel

YOU WERE TOTALLY RIGHT! I WAS TOTALLY LOST.

When I put, on my opinion, pin to be digital out 0 it started to work after that. So it seems that my 0/I is I/0 for rest of the world. Thank you for your advise. I'd never would got it my self.

nogoodinel

Reply to
nogoodinel

Your welcome, I'm glad you got it. :-)

Reply to
Anthony Fremont

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.