Maker Pro
Maker Pro

Analog Circuit Outputs

Status
Not open for further replies.

Akshatha Venkatesh

Jan 14, 2017
145
Joined
Jan 14, 2017
Messages
145
an analog circuit's output is given to an ADC pin of the microcontroller , does the current flow to the pin too ? I have some very fundamental doubts, It would be a great help if anyone can clear it ?
Thank you.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,681
Joined
Nov 17, 2011
Messages
13,681
Where there's voltage and a resistance, there's current, too: I=V/R.
An ADC's input has a finite resistance (less than infinity). Do the math.
It also has some capacitance which needs to be charged and discharged by the input voltage.
The direction of the current depends on many parameters like kind of input (single ended, differential), supply voltage (single, dual), direction of change in input voltage (to charge or discharge the input capacitance) etc.
 

Herschel Peeler

Feb 21, 2016
401
Joined
Feb 21, 2016
Messages
401
an analog circuit's output is given to an ADC pin of the microcontroller , does the current flow to the pin too ? I have some very fundamental doubts, It would be a great help if anyone can clear it ?
Thank you.

The input of the ADC is usually a very high resistance so very little current should flow. Mostly it just "feels the voltage".
I think Kapp is only an engineer and doesn't understand simple questions. :) He only sees complicated solutions. Not wrong. Just not simple.
 
Last edited:

Audioguru

Sep 24, 2016
3,656
Joined
Sep 24, 2016
Messages
3,656
Kapp simply explained the simple basics of electricity (Ohm's Law) that was not taught in India.
 

chopnhack

Apr 28, 2014
1,576
Joined
Apr 28, 2014
Messages
1,576
An ADC's input has a finite resistance (less than infinity). Do the math.
It also has some capacitance which needs to be charged and discharged by the input voltage.
Kapp touched on an excellent point that most (if not all) μcu's have as a limitation of their ADC port. The input pin has a switched capacitor on it - thus if the input impedance is too high (i.e. - using high resistances to reduce current coming into the pin) there will be a delay in acquiring the voltage as the cap charges up. Too long of an RC delay and the timing maybe altered. Some pic's have a max impedance of 2.5k Ω's!!

More information is needed to discuss possible solutions. To give some food for thought, you may isolate the ADC's limited impedance with a log amp.[/QUOTE]
 
Last edited by a moderator:

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
I am not a fan of excessive formality (see Peeler, Hack, et al; posts #3-6) and I think of my fellow moderator as Harald rather than Kapp. Unless you're referring to some text he has authored?

:)
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,681
Joined
Nov 17, 2011
Messages
13,681
I think Kapp is only an engineer and doesn't understand simple questions. :) He only sees complicated solutions.
I think I did understand the question. I could have replied simply with 'yes'.
What help would that have been to the op in clarifying his doubts?

With reference to 'only an engineer': A good engineer imho not just solves a problem - this any tinkerer can do given enough time. A good one at least tries to understand the issue at hand (he may not always succeed) to avoid the same issue in the future.

And yes, call me Harald :D
 

Herschel Peeler

Feb 21, 2016
401
Joined
Feb 21, 2016
Messages
401
Kapp touched on an excellent point that most (if not all) μcu's have as a limitation of their ADC port. The input pin has a switched capacitor on it - thus if the input impedance is too high (i.e. - using high resistances to reduce current coming into the pin) there will be a delay in acquiring the voltage as the cap charges up. Too long of an RC delay and the timing maybe altered. Some pic's have a max impedance of 2.5k Ω's!!

More information is needed to discuss possible solutions. To give some food for thought, you may isolate the ADC's limited impedance with a log amp.
[/QUOTE]

No argument at all with the correctness of his answer. I only suggest that the answers fit the level of the question.
 

Herschel Peeler

Feb 21, 2016
401
Joined
Feb 21, 2016
Messages
401
I think I did understand the question. I could have replied simply with 'yes'.
What help would that have been to the op in clarifying his doubts?

With reference to 'only an engineer': A good engineer imho not just solves a problem - this any tinkerer can do given enough time. A good one at least tries to understand the issue at hand (he may not always succeed) to avoid the same issue in the future.

And yes, call me Harald :D

Yes you were quite correct in your answer. You could have answered in French or German and been quite correct. If a tinkerer asks a question a tinkerer's answer is all that is needed.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,681
Joined
Nov 17, 2011
Messages
13,681
How do you know Akshata is a tinkerer? For all we know he could as well be a student eager to learn something.

Too bad Akshata himself/herself hasn't replied.

By the way: my French isn't that good. Chnaces are an answer in French would have been not too correct :D
 

davenn

Moderator
Sep 5, 2009
14,251
Joined
Sep 5, 2009
Messages
14,251
Thread closed

Yes you were quite correct in your answer. You could have answered in French or German and been quite correct.

Herschel please stop being so argumentative
And in future PLEASE refer to people by their first name
 
Last edited:
Status
Not open for further replies.
Top