0

I am new to Arduino and Electronics and am thinking of making a 6 wheel drive all terrain platform similar to the MonsterBorg pi, but I want to use an Arduino instead of a Raspberry pi to control the motors. The motors I intend to use need to be powerfull. Any advice on what would be shield or motor controllers I should use would be a great help.

2
  • 1
    First select the motors and the batteries. Find the stall current of the motors. Then find a motor driver (or motor controller) that can handle the voltage and the stall current. The motor driver can be more expensive than the motors. Pololu has many motor drivers. A common mistake is that someone buys big motors and a tiny motor driver, for example motors with 60A stall current and a motor driver of 0.6A.
    – Jot
    Commented Dec 6, 2017 at 12:38
  • Hello Jot, Many thanks for this it has been very useful information. Commented Dec 6, 2017 at 14:29

1 Answer 1

1

Hello,
You have many possibility for drive one or more motor.

  • Transistor(1 motor)
  • L293D(2 motor backward and forward or 4 motor just forward)
  • L298D (like L293D but he support more Amp and Vol
  • L293D Adafruit shield(4 motor)
  • ...

Here is an example for

L293D:
enable PWM(0-255), inputs digital(0-1).
Motor1 : Input1, Input2, Enable1,2
Motor2 : Input3, Input4, Enable3,4

void motor1RotationDirection(int input1arg, int input2arg){
    digitaleWrite(input1, input1arg);//  LOW  |  HIGH
    digitaleWrite(input2, input2arg);//  HIGH |  LOW
                                     //Forward|Backward
}

void motor1speedRotation(int speed){
    analogWrite(enableMotor1, speed);
}    //for motor2 is the same.
2
  • I have already use l293D for project.
    – 2CoB9
    Commented Dec 6, 2017 at 13:41
  • Many thanks for the prompt reply and the resource list. I think these will be of a great help. Commented Dec 6, 2017 at 14:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.