Problem with POTS

I wired one POT to Arduino and it worked, but then I wired them in series, and now none of them will work, I even rechecked all the wires . I tried to isolate the problem , tired running only one POT on a1 a2 a3 a4 but nothing . It stays on 1024-23 , sometimes 32-33 , 10-12 . All 3 of them worked but now none of them work .

I did everything with dupont cable connectors . I avoided soldering .

I'm assuming POT means potentiometer. If it doesn't ignore the rest of this message.

Draw a diagram of exactly how you have wired the potentiometers. "I wired them in series" doesn't make any sense. And some code showing how you're trying to use them would also be helpful.

Steve

It is simple . I wired it like this and it wont work like this , even though it did at the start, im out of options. Im considering fault with Controller but it doesnt show any signs of mafunction , except this , but once again im not sure where is the problem .

WatchDoge:
I avoided soldering .

:o

Unfortunately those images are rather useless.

Connections as sketched appear correct, but I may assume the exact components imaged do not reflect reality. If they do, it’s time to get out your soldering iron.

The pictures show direct (soldered) connections and they would be fine. So post a photo showing how your project is ACTUALLY connected.

You have some bad connections and I'd guess it's something like plugging everything in a breadboard. The pins on potentiometers aren't designed to plug into breadboards and may make poor contact or even damage the sockets.

Steve

Okay ill try soldering

Nope still shows 12-13 on first potentiometer , others show 65535

I wired one POT to Arduino and it worked, but then I wired them in series, and now none of them will work,

As drawn in the picture the pots are wired in parallel which should be fine assuming the pots have a high enough value. You don't mention the pot value?

If I connect for example 4 each 100 ohm pots in parallel R total is 25 ohms so the pots would present a 25 ohm load on the 5.0 volt source. That's a 200 mA load.

As drawn each pot depending on the wiper setting should output between 0 and 5.0 volts or pretty close so you should see between 0 and 1023 bit counts.

What you describe sounds like erratic or intermittent wiring connections.

Ron

Ron_Blain:
As drawn in the picture the pots are wired in parallel which should be fine assuming the pots have a high enough value. You don't mention the pot value?

If I connect for example 4 each 100 ohm pots in parallel R total is 25 ohms so the pots would present a 25 ohm load on the 5.0 volt source. That's a 200 mA load.

As drawn each pot depending on the wiper setting should output between 0 and 5.0 volts or pretty close so you should see between 0 and 1023 bit counts.

What you describe sounds like erratic or intermittent wiring connections.

Ron

My pots are 20kO

WatchDoge:
Nope still shows 12-13 on first potentiometer , others show 65535

To get 65535 you need a 16 bit ADC. A Pro Micro only has a 10 bit ADC. So you definitely don't have those pots connected to the Pro Micro that your pictures showed.

What exactly are you using? And please post your code.

Steve

slipstick:
To get 65535 you need a 16 bit ADC. A Pro Micro only has a 10 bit ADC. So you definitely don’t have those pots connected to the Pro Micro that your pictures showed.

What exactly are you using? And please post your code.

Steve

Im using Pro micro 3.3v . I didnt code , im using a software called MMJoy , that im using for pc input , software allows me to assign axis for pots .

ATMega 32U4 running at 3.3V/8MHz
Supported under Arduino IDE v1.0.1
On-Board micro-USB connector for programming
9 x 10-bit ADC pins
12 x Digital I/Os (5 are PWM capable)
Rx and Tx Hardware Serial Connections
Our Smallest Arduino-Compatible Board Yet!
1.3x0.7"

That is what you have and you are interfacing using MMJoy software.
MMJoy is a DIY electronics project for creation or modification of game controllers. The project consists of a controller (main board with a microchip), a firmware (microprogramm for the chip) and a configurator program (to setup controller parameters)

The official English MMJoy forum is at https://virpil.com/en/forum/diy

Community page is http://simhq.com/forum/ubbthreads.php/topics/3899105/89

We here have no idea how you have this setup. Keep in mind you have a 3.3 volt system. I can only assume your pots are connected to a 3.3 volt source and not a 5.0 volt source as in your picture?

There is no way to say what the problem(s) are.

Ron

Post your code, I wonder if the pins were set up correctly. Setting couple as outputs could damage them with direct connection to ground.

I have a potentiometer wired to an Arduino leonardo r3 , it reads a value of 65535. I tried it on pro micro , and it read the same value . Pots are working fine , tested them with a multimeter , one time it read fine but then it became stuck on 65535. Could the problem be with wiring , I have soldered every possible connection , but maybe somewhere its too much resistance or not enough connection?

Duplicate topics moved and merged

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a timeout from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.