Post by larrykoskie on Dec 30, 2017 19:30:43 GMT -5
I don't know if you can follow either of these schematic diagrams. But I wanted to use one joystick to control my underwater ROV. I wanted to use the vertical joystick to control general speed and direction of the device (forward and backward) and use the horizontal joystick to tweak the motor speed slightly to increase the speed of one and decrease the other for the purpose of steering. I connected the wiper of one joystick to the wiper of the second and used the other two terminals of the second joystick as outputs connecting them to a 47K ohm resistor to ground to create the desired voltage drop. I have wired the thing together and connected the outputs to two digital voltmeters and it does exactly what I wanted it to do. The forward voltage was slightly less than the battery voltage but the reverse voltage did drop to zero. With full forward voltage the steering pot increased one motor output to full battery voltage while decreasing the other output voltage to the other motor. Standing still with the vertical joystick in the center position moving the steering joystick would cause one motor to turn forward and the other backward, which is what I expected. Steering in reverse does work but may never be used and isn't too important at this time and it may be backwards as far as left and right, but I will figure that out later. After a little experimenting and testing it does give me the desired output voltages I was looking for. If you were wondering why I didn't use one pot for one motor and the other pot for the second motor, it is because straight ahead would mean pushing to joystick diagonally and trying to keep both motors at the same speed. I didn't like trying to use the joystick diagonally to maintain straight ahead. So here I have vertical for speed and direction and horizontal for steering. More to my liking