0
\$\begingroup\$

I am building a simple volume control surface using an Arduino plus a few potentiometers (slide and knob). I am following the guide found here.

Essentially this is the guide for wiring everything up: enter image description here

I followed it all exactly as it is above and when I starting testing the sliders connected I found this: Sliders connected to A1, A2, A3 and A4 are working exactly as expected when observing them in the serial monitor. However when I move the slide on A0 it changes the value for itself (A0) and A1. Below is screenshot of serial montinor with values shown for pins A0 - A4 from left to right (not only slider A0 is turned up physically):

enter image description here

I tried using a different set of pins on the Arduino, from A3 - A7, same issue.

Here is how I have hooked it up:

enter image description here

enter image description here

enter image description here

  1. I paid close attention to connect 5V to all the tabs marked "1" in on my slider pots and the data pins are hooked up to the tabs labelled "2".
  2. Ground connected to all tabs marked "3"
  3. Although its hard to see on the photo, The ground wire does go across all the way at the bottom and there is a connection from the rotatory potentiometer's ground (left tab) to the common ground wire.

Parts I used:

I use this simple code to program the Arduino and monitor the values changing as I'm adjusting the sliders.

Could it be that my Arduino is a bit defective or my pins are bridged somehow? I did hook it up wrong the first time cause I followed the photo and did not pay attention to the labels on the sliders and only noticed the ones I bought has the pins 1 and 2 flipped. But I doubt that will have caused damage.

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

Reversing pins 1 and 2 will almost surely burn out any slide pot that is moved from somewhere in the middle to "all the way down". That's probably what happened.

You can confirm by connecting only the +5 and GND and measuring the voltages on the pot wipers (that would normally go to the Arduino) with respect to ground.

You may also be able to detect the characteristic smell of charred phenolic.

\$\endgroup\$
3
  • \$\begingroup\$ Aah I see. Would make sense then yes. I have replaced all the sliders with new ones and the problem persists. So I'm Assuming it is the arduino's PINs that I damaged too? \$\endgroup\$ Oct 10, 2022 at 14:43
  • 1
    \$\begingroup\$ I believe it is the board then, I whipped out the multi-meter and measured like you recommended - On all the slider pots I get 0V on the bottom end and 4.9V (~5V) at the top when I connect to the tab that goes to the arduino (2). \$\endgroup\$ Oct 10, 2022 at 14:53
  • \$\begingroup\$ Unlikely you damaged the board by any misconnection, so long as nothing less than GND or more than 5V was applied. But it’s possible there is a hardware or software problem, of course. \$\endgroup\$ Oct 10, 2022 at 16:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.