Problem with potenciometers


#1

Hi,

I am having a weird behaivour with potenciometers. I am trying potenciometers with axoloti in analog inputs but if I conect to one input it replicate the movement in the other inputs with small variations ¿?.

For example, If I conect a potenciometer to input PB0 everything is ok, but when I conect to PB1 this control PB0, if I conect to PA7 it controls this and PB0 and PB1 and so on. It hapens with this group (from PB1 to PA4) and if I conect to PC0 it happens the same in the other group.

Do you know what is happening?

Thanks in advance,

x.x


#2

Ok, I made a test conecting multiple potenciometers at the same time instead try only one potenciometer and now it looks to have a normal behaivour.

So, this only happen when I monitor mutiple analog gpio inputs with disp/chart/p and only one pot is conected.

Is this normal?

Thanks in advance,

X.x


#3

yes this is normal behaviour and is to be expected with floating analog inputs. you can ground the inputs if you need a steady reading on an unconnected pin, but i'm not sure you need that :slight_smile:


#4

Thanks lokki for answering.

I am going to use all the analog inputs so I hope it won´t be a problem :wink:.