How to control two 12 V motors with the dual MAX 14870 Motor Drive Shield for Arduino?

I am a beginner and I need help on how to control two 12 V motors using the Pololu dual MAX 14870 Motor Drive Shield for Arduino Uno.


I had attached the screenshot for thisenter image description here

This picture tells you about the Arduino Connection with the with the SHIELD.

  1. EN (Enable Pin) is used to enable and disable the motor drivers. As it is inverted SET this PIN HIGH will Disable the Motors and vice versa.
  2. DIR pinS is used direction of rotation. It highly depends upon your connection, setting this PIN HIGH LOW will make the motor rotation from CLOCKWISE & ANTI CLOCKWISE or vice versa depends upon your hardware connection.
  3. PWM pins are used to control the rotation speed of the MOTOR. Driving PWM signal on this pin will adjust your rotational speed. MAX PWM frequency suggested is 50Hz.
  4. Fault is the INPUT PIN to Arduino with ACTIVE LOW signal indicating some kind of fault is there.
  • du i have to download and install a library for that shield. – Ronald Fredrick Wollman May 22 '19 at 6:47
  • No you can use simple digitalWrite and analogWrite instructions for handling all the pins. – Vaibhav May 22 '19 at 6:49
  • thank you, you have been most helpful. – Ronald Fredrick Wollman May 22 '19 at 7:06
  • i'v been looking all over for help, i'm surprised there are not tutorials on how to use the Dual Max14870 Motor Driver Shield – Ronald Fredrick Wollman May 22 '19 at 7:07
  • You can use this l293d with arduino for referral as they have similar properties. They are not exactly same but it will help you understanding with the CODE. – Vaibhav May 22 '19 at 7:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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