S
S
smart_alex2015-01-01 21:43:50
Arduino
smart_alex, 2015-01-01 21:43:50

What are the potentials on the Arduino analog inputs?

I ran into an incomprehensible problem: there are some incomprehensible potentials at the Arduino analog inputs that interfere with measurements. And at different entrances - different and even "walking".
Question: what are these potentials and where did they come from?
Tried digitalWrite(54, LOW); - does not work.
And in general, it is not clear in principle what kind of voltage it is. In no place on the Internet have I found any mention of either voltage, or the problem of displacement of the measured value, or the need for an additional resistor pulling it to ground. Yes, it is useless, given the "walk" of the offset.
What is it at all (and how to remove it)?
ed247a31327e47f8a4d2f83204991e39.jpg
Scheme of the experiment The
befdebb0eb544cfe9b9d0a1be574bb45.png
question is removed. Thanks to all who answered - if I find a solution - I'll unsubscribe here.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander Gusev, 2015-01-01
@Sanchogus

If these are inputs, why the hell do they do digitalWrite? Or is it still the way out? :)
And the wires hanging in the air will catch incomprehensible pickups until you pull them to the ground, this is the norm.

A
Armenian Radio, 2015-01-01
@gbg

Please provide the experimental design.
Or do you just do it on the board, and did not connect anything to the inputs?
If yes, get just that - the weather on Mars.

A
artanets1, 2015-01-01
@artanets1

It can be assumed that something in the code made these inputs discrete and turned on the pull-up resistors to the plus, since they all have a high value (from 696 to 1023).
Although I can't say for sure because I haven't experienced it myself.
(no pullup lines anywhere in the code?)

S
smart_alex, 2015-01-01
@smart_alex

On the Mega, the inputs are connected and measure currents and voltages. On the Duya, they hang. This does not affect the potentials in any way - this can be seen in the screenshots.
Scheme of the experiment
Everything is as in the picture, only I have a plus offset

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question