Search found 4 matches

by momidomy
Thu Nov 20, 2014 11:37 am
Forum: General Discussion and Questions
Topic: unstable values when I use analog inputs
Replies: 8
Views: 11693

Re: unstable values when I use analog inputs

Hi all, I don't understand, but this is a common behaviour? because I saw that you have the same issue with the ADC(). Those fluctuations are probably just due to noise on the 3.3v line. And my final question is: how would you solve this problem? P.S.: I tried with many potentiometers but I get the ...
by momidomy
Wed Nov 19, 2014 3:24 pm
Forum: General Discussion and Questions
Topic: unstable values when I use analog inputs
Replies: 8
Views: 11693

Re: unstable values when I use analog inputs

Thanks for your patience. I tried with pin X1, and I used 3.3v from the pyboard and I used GND from the pyboard. With this simple code (into the REPL prompt): pot = pyb.ADC('X1') while True: pot.read() pyb.delay(1000) And then I tried with all possibilities, I wired the pot with A3V3, AGND and X1 (o...
by momidomy
Tue Nov 11, 2014 6:28 pm
Forum: General Discussion and Questions
Topic: unstable values when I use analog inputs
Replies: 8
Views: 11693

Re: unstable values when I use analog inputs

Hi, thanks to your answer, By unstable, how much variation are you seeing? For example, at the min value I read 4,0,4,0,23,1,5... and so on, and at the max value: 4081,4093,4075,4095... What value of potentiometer are you using? I tried with 10K, 50K, 100K linear potentiometer. And how is it wired u...
by momidomy
Sun Nov 09, 2014 11:51 am
Forum: General Discussion and Questions
Topic: unstable values when I use analog inputs
Replies: 8
Views: 11693

unstable values when I use analog inputs

Hi,
I use an analog inputs, for example a potentiometer, with ADC() class, but every time I get unstable values.

How can I stabilise these values?

Thanks a lot