Joystick x and y axis value coming from 1 wire

Hello everyone I am currently trying to get a joystick to control 2 motors however the joystick output for x and y values are outputting into the same wire. I have 2 cytron md-10s hooked up to a arduino uno r2. I have the the joystick wires connected to a bread board here is a link to the schematic:

here is a picture of what is hooked up to what there are extra wires because i switched out the original:

The wiring looks bad no need to tell me! Whenever I try to analogRead the y-axis wire it reads it however whenever I also move left and write it also read that. So it would up top is 1000, bottom is 0, left is 1000, and right is 0, 500 is the resting. Is there a way to make the x and y axis separate?

Oh, it looks quite decent, really. There does seem to be one issue though. Your table says "Solid green: ground". On your breadboard, solid green does not seem to connect to anything. Start by connecting that one to the GND of your Arduino board and try reading the X and Y signals on solid blue & striped blue once more. Report back if problems persist.

Should've took a better picture but the green ground wire is connected to ground, the rubber from the wire when I stripped it is just there.

Could you draw a full (and accurate!) schematic with all connected components in it?


might have to open and zoom in

Ok, start by removing mc1 & mc2, both motors and thr additional power supply and connect the joystick directly to the Arduino board.

Disconnected the battery and both mcs, the joystick still only outputs 1 axis

Do you have (good) photos of the inside of the joystick?
How far do you get trying to measure x & y with a multimeter? Assuming the joystick uses two potmeters (which is the common approach), you should be able to easily measure resistance changes.


I don't have enough time to measure the resistance changes right now, but here's a photo of inside the joystick

Ah, there you go. This is the schematic of the joystick:

Measure resistance between the points labeled X and Y on the PCB (both next to the diagonal black box containing the paddle) and GND (pin 2 on J1 and also on J2) with various positions of the paddle. See if those measurements make sense. Then check if you can measure identical values on J1 pins 4 (Y) & 5 (X). With power connected, see if you can measure 3.3V on the points labeled thus on the joystick PCB.
All this allows you to verify correct operation of the joystick and its PCB. If you find problems here, focus on the joystick assembly.

Given the nature and source of the product, I wouldn't hesitate to reach out to the Open Wheelchair Foundation; seems to me they would probably be willing enough to think along with you.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.