How to use dual VESC for Robot Control

Hi,

I have two VESC 4.2 boards (Mini Flipsky 4.2) and two skateboard motors. I have tested both the motors with an RC Controller (FSi6/FSi6S) and they are working well on PPM (Hall sensor mode), Forward & Reverse.

How do I implement this on a robot with RC control? When I spliced the receiver to both the VESC’s, as expected it works by moving both forward and reverse. However, what I need is to use the wheels on a skid steer control so that when moved sideways, one of the motor moves while other slows or halts.

Can someone guide as to how this can be achieved? Should I have to use an intermediate board to control the direction and steering? If so, what to use; Arduino, Flight controllers, or any other suggestions?

Best Regards,

Praveen

2 Likes

Could you explain this a bit, or maybe offer a photograph? I don’t understand what this is.

What does the human input device look like? How does it work electrically?

2 Likes

Skid steer is when the wheels turn in opposing directions in order to turn the machine

3 Likes

that’s how tanks turn, right?

4 Likes

Correct, same as many types of industrial machines

5 Likes

I meant the input device. What is being moved sideways to create the skid steer input signal?

1 Like

Usually 2 levers

1 Like

That’s why the “sideways” confuses me. Those go forward and backward.

As far as I know, no one is using VESC for directional movement. Esk8 only needs forward and reverse. Like @b264 asked, if you need an joystick input of left (for example) to spin one motor forward, one motor reverse, you need an additional control board.

Or… two remotes duct taped together and good hands.

2 Likes

It’s unlikely that you need an additional control board, but it depends on a lot of things. An additional control board could end up being easier in a lot of cases. Are one of these being built, or ten thousand? There are many variables.

I don’t even understand how OP wants to control it yet.

Is each lever on the FSi6S just controlling one motor?

1 Like

I’m assuming he wants a single left/right joystick to operate skid steer control. So it would need to send positive/negative signal to each motor from one input. I think. Its not clear :sweat_smile:

1 Like

Well. Thank you for the questions. I am building a robot using skateboard motors. For now I have connected two motors and using a FSi6S RC controller. Initially while writing this question, I was able to control one motor. Now I connected two motors to Channel 1 and Channel 2 of receiver and it seems each of left and right sticks are controlling one motor. I need to use a single joystick to control front and back of both motors. For example, moving the joystick front should rotate both wheels forward and back both backwards. However if I move it sideways, one wheel should rotate and the other not rotate.

1 Like

I feel like you would need to write some custom firmware for this.

There would be a need for one wheel to go forward and the other to go backward. Having one wheel idle would not be great.

And then I assume the ratio of forward/backward would change, the further left/right you move the joystick.

2 Likes


1 Like

This is my existing bench setup. The transmitter and receiver is shown in the second image. I can add a custom arduino or pixhawk board in between to control the motors, but was wondering if there is a direct solution already in VESC.

2 Likes

This is correct. If I am able to achieve forward and backward independently, I can work on it further.

1 Like

I’m not sure. But @DerelictRobot may have a good idea. Or maybe @ducktaperules

1 Like

ok. Waiting for anyone to show some light on this.

Imagine a maytech R2 style rwjite but the throttles are divided into two (each side controls one vesc). That would be cool. Possibly gluing two avio style mini remote together might be interesting. :laughing:

1 Like

VESC no, but you might be able to configure skid steering on the TX itself. I know some of the more advanced TX have joy muxing.

Otherwise you’re looking at a microcontroller in between the receiver and the ESC to handle it.

2 Likes