#wiring help please

7 messages · Page 1 of 1 (latest)

lyric pelican
#

its stero slides but i want to use them in mono i did wire them up after testing with a multimeter but just want to make sure b4 adding then on the nano

knotty shadow
#

from what I can discern from your images, 1 goes to 5V rail, 3 goes to GND rail, and 2 goes to your various Analog pins (i.e. A0, A1, A2, etc.
)
I personally havent used those sliders so I could be incorrect; however, with only 5v and negligible amperage in the low milliamp range, your risk of frying something due to incorrect wiring is extremely low.

Check out this forum post for more information:

https://forum.arduino.cc/t/how-to-wire-slide-potentiometer/283146

lyric pelican
#

ok cool thats how i wired them

#

my only prob now is when i flash the nano and check the serial monitor it just keeps pinting llines in a loop the values dont go to 0 | 0 | 0 | 0 | 0

knotty shadow
#

could you send a snippet of the output?

knotty shadow
#

you have a multimeter, so check what the voltage output is on pin 2 (which should be going to the analog pins) and the nano's GND. That number should range between 0-5V as you move the slider (which SHOULD be corresponding to the output on the serial monitor going between 0-1023). If it doesn't, then the wiring is incorrect and youll have to figure out which of the sense pins is. If it does but the serial monitor stays stagnant, then there is something wrong with your connection between the output of the slider pot and the analog pin.

If you got the slider pots that are most typical, those are B103 Sliders. checking the datasheet for those resistors (https://www.mouser.com/datasheet/2/54/pta-778345.pdf) shows that pin 2 should be the sense pin.