Connected potentiometers to gpio. No reaction at all


#1

Hi,
so I just soldered a couple of these things to my axoloti:
screw terminals
I connected the outer pins of the potentiometer to VDDA and GND and the inner pin to for example PC3. When I looked at the disp obect for PC3, the value was at max all the time. It didn't change at all when I turned the potentiometer. I tried this with a 50k and a 10k potentiometer. When I used the 50k one, the dial moved in a range of 0,5 for a whole turn of the potentiometer.

How do I get this to work? Is my board broken or do i need other potentiometers?


#2

hi @Sofa_Kartoffel ,

don't worry. some steps for troubleshooting:

  1. Do you have connect your potentiometers like this?

  2. Do you have measure the voltage which comes out of the middle pin at your potentiometer?

  3. Does it change while your turning the potentiometer right or left?
  1. which type of disp object do you have used?
  2. Can you use the following patch to test your adc:
    adc test.axp (964 Bytes)

The dial object should move the same like your potentiometer. If it's inverted, please swap your GND and VDD connection at your potentiometer.

Hope this helps a bit.
cheers


#3

Thanks for your tips! :slight_smile:

Okay it's working now. I connected one external pin to one of the GND points here:

When I connected the pin to the ground next to the analog ins/outs, it worked!

So whats the matter with this GND area to which the arrow points?


#4

Is that actually GND? I thought that area was for "prototyping" other than the 2 each of GND and +5V marked closer to the MIDI ports. So you would need to need to bridge GND to that pin.


#5

Hi there, same issue here, but I can't find a way to resolve it...
Can somebody help me ?
I did exactly & with the same component what I saw on that video :
www.youtube.com/watch?v=LftIgXKuRx4

I'm really confused...


#6

Do you get any output at all? Can you post a pic of the board connections and your patch with gpio objects?


#7

Finally this morning I retryed it, and it works. I've used VDDA & the GND just below (he is not using the same GND on the youtube video), & used the PA0. Don't understand how and why but now it's fixed !

Thanks :slight_smile:


#8

Great! Happy it (mysteriously) worked itself out :smile: