Controller for Golf Trolley

Hallo Forum for Robots, i am Artur and live in Germany, I am 61 years old and

I have a self-made golf trolley, it has two 24V dc motors mounted in a pipe left an right side.
Now I have a pwm controller for both motors parallel connected.
The problem the motor didn’t have exactly the same speed, so the trolley instead of going straight it goes a curve.
I am searching now a dual motor controller, controlled with one pot for the speed, and a second pot to adjust the output of one motor so that they have the same speed.
I would be very happy if someone can help me, maybe the only way for this problem is a Arduino

Thank you very much and greetings for South Germany

How is your system? Is there any black or white straight line in the path of your trolley? Or it just moves in the middle of green grass?

Hallo rooppoorali, the cart moves on a fine golf course of green grass! :wink:

If i drive the motors for testing, i marked the wheels and after one rotation you can see allready one wheel is faster.

Which motor controller are you using right now?

1 Like

We have a dual channels driver for the motors, and it support both CANopen and RS485 but not PWM. Can we could have a further talk about it?

1 Like

@turisport Welcome to the RobotShop Community. It’s rare that two DC gear motors will rotate at the same speed, and even if they do, differences in the surface they move on (for example one area is slippery and the other has a lot of friction) mean that something else is required.

In most cases, a programmable microcontroller is needed to act as a “brain” and get feedback from sensors in order to adjust the robot’s direction.
https://www.robotshop.com/en/microcontrollers.html

Encoders are often used to get feedback about the motor’s speed and the microcontroller is what is used to adjust the signal to the motor controller to adjust the speed of each to ensure they are the same.
https://www.robotshop.com/en/encoder-disks.html

A magnetic compass is what’s used to ensure the robot is moving in the right direction.
https://www.robotshop.com/en/magnetic-sensors-compass.html

Both of these together (combined with a GPS if you really need positional accuracy and the robot is autonomous) is what ensures a robot goes where you want it to go outdoors. As you can tell, quite a bit of programming is needed.
https://www.robotshop.com/en/gps-modules-gps.html

1 Like