Hey i have an issue controlling my 4-axis robots using a potentiometer, so my current setup consists of 4 potentiometers that controls its respective servos, and 1 push button that controls the robot's gripper
Now the 4 potentiometers are hooked up to the a0-a3 pins on the arduino uno board, but i seemed to have encountered an issue, specifically the potentiometer on the pin A1 is giving me a reading of just 0, while all the other potentiometer seems to work perfectly.
At this point i have tried swapping boards to see if it would make a difference but no, nothing changed, furthermore i checked using a multi-tester for the connection path on the pins to the atmega chip, and everything seems to check out, i also did the same for my controller, i checked the resistance and the connection for each potentiometer and it also checked out.
As a last ditched effort i tried to test just 1 potentiometer hooked up to the A1 pin of the board, and it works seamlessly, but i still cant figure out why it gives me a reading of 0 when the other potentiometer are connected to the board, thus giving the illusion that one of the axis of the arm is broken.
If anyone has any ideas your help would be much appreciated, and here are some wiring diagram so you can better understand my setup.
Hey, i did that, the weird thing is, all the analog pins seems to work just fine with the others, i.e. a0 and a2, a2 and a3, even a0, a2, and a3, its only when i introduce a1 into the mix that it causes an issue, it essentially nullifies the value of a1, while the other pins would still give value, but the weird thing is a1 seems to work if it is the only analog pin used.
As i also mentioned, there isnt any soldering issues whatsoever with the potentiometer, or the arduino itself for that matter.
Hey, while i don't really understand how this has to do with the A1 potentiometer itself, the buttons that are attached to the gnd of the other potentiometer is working just fine
When you say grounds must share one point, do you mean joining all the ground cables from the controller or something else? (Controller as in the potentiometers and button)