Servers by jDrones

6 wheeled Skid steer rover using DC brushed motor with cytron motor driver not working


(Arshiyathukral) #1

Trying to build a skid steer type rover using 6 dc brushed motors and Cytron Dual channel motor driver, but as soon as connect direction wire in pixhawk, driver is receiving current in both the channel thus the motor is not able to rotate in any direction.
any help is appreciated in connection and parameters setting up
while trying to control two motors I have connected pwm signal wire in main out 1 and 3 and direction wire in Aux out 1 and 2.


(Peter Hall) #2

What motor output mode ( MOT_PWM_TYPE) have you set the pixhawk to? Its hard to find any good documentation on what signals the cytron is looking for exactly.


(Arshiyathukral) #3

We are using BrushedWithRelay output mode.
Also when we connect only the pwm wires (i.e. the motors work) we are not able to control the speed of motors.
We are using the Manual mode for now.
Please help with this .


(Peter Hall) #4

Have you see RELAY_PIN and RELAY_PIN2 to 50 and 51? You will also need to reduce your BRD_PWM_COUNT to 4.

I’m not 100% sure brushed with relay will work for skid steer, it may only work for a single motor to be used with a steering servo. I would try it first, it should defiantly work for one, although you may need to set the output to throttle rather than throttle left or right. I will have a look at the code and see how it should work, but not in the next day or two. I did have a quick look at the cytron, it looked like it had its own mixer so you may be able to use throttle and steering rather than left and right throttle.


(Arshiyathukral) #5

Thankyou so much for your help.

We are facing a problem related to speed as I mentioned above.

As soon as we power the system, the motors start at a very speed even when the pixhawk is disarmed and we are unable to control the rpm of the motors in any way.

Secondly, the mission planner rejects the command of disarming once armed.

Looking forward for your help and Thank you so much for your support.


(Peter Hall) #6

try using standard pwm type, ie MOT_PWM_TYPE = 0

you might have to change some pins on the cytron to match, should be able to get it to do something sensible, even if not reversing yet


(Arshiyathukral) #7

Sir, any update on my initial problem?