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.
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 .
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.
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_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.
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.
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)
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?
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?
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.