Ks0007 Shield L298P 2A High Current Dual DC Motor Driver Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
L298P Shield DC motor driver adopts the L298P driver chip wich is exclusively made for large-power motor. It can drive 2 DC motors directly with a drive current reaching 2A. The motor output is equipped with eight high-speed schottky diode as protection. This driver carries neat circuit layout and bonded components, in addition, the multi-layer design enables it to be plugged to Arduino directly.<br>
L298P Shield DC motor driver adopts the L298P driver chip wich is exclusively made for large-power motor. It can drive 2 DC motors directly with a drive current reaching 2A. The motor output is equipped with eight high-speed schottky diode as protection. This driver carries neat circuit layout and bonded components, in addition, the multi-layer design enables it to be plugged to Arduino directly.<br>
L298P Shield DC motor driver carries PWM mode. The motor can be powered via Arduino VIN input or terminal input on the driver, which are switchable by jumper.  <br>
L298P Shield DC motor driver carries PWM mode. The motor can be powered via Arduino VIN input or terminal input on the driver, which are switchable by jumper.  <br>
  <br>[[File:ks0007.png|500px|framless|thumb]] <br>
  <br>[[File:ks0007.png|500px|thumb]] <br>


== Specifications  ==
== Specifications  ==

Revision as of 13:14, 15 November 2017

Introduction

L298P Shield DC motor driver adopts the L298P driver chip wich is exclusively made for large-power motor. It can drive 2 DC motors directly with a drive current reaching 2A. The motor output is equipped with eight high-speed schottky diode as protection. This driver carries neat circuit layout and bonded components, in addition, the multi-layer design enables it to be plugged to Arduino directly.
L298P Shield DC motor driver carries PWM mode. The motor can be powered via Arduino VIN input or terminal input on the driver, which are switchable by jumper.


Ks0007.png


Specifications

Logic part input voltage VD: 5V
Driving part input voltage VS VIN input 6.5 ~ 12V, PWRIN input 4.8 ~ 24V
Logic part working current Iss ≤36mA
Driving part working current Io ≤ 2A
Maximum dissipation power 25W (T=75℃)
Control signal input level High level: 2.3V ≤ Vin ≤ 5V Low level: -0.3V ≤ Vin ≤ 1.5V
Working temperature -25℃ to+130℃
Driver form Dual power H bridge driving


According to wiring method above, we can control the transferring, reversing, stopping of two DC motor (M1 and M2), as well as the speed regulation of PWM.

Programming

int E1 = 3;  
int M1 = 12;
int E2 =11;                        
int M2 = 13;                          

void setup()
{
    pinMode(M1, OUTPUT);  
    pinMode(M2, OUTPUT);
}

void loop()
{
    digitalWrite(M1,HIGH);  
    digitalWrite(M2, HIGH);      
    analogWrite(E1, 200);   // PWM regulate speed
    analogWrite(E2, 200);   // PWM regulate speed
    delay(8000);
    digitalWrite(M1,LOW);  
    digitalWrite(M2, LOW);      
    analogWrite(E1, 200);   //PWM regulate speed
    analogWrite(E2, 200);   //PWM regulate speed
    delay(8000);
}

Result

After power is on, power indicator will be turned on; two motors begin to rotate clockwise; the pin13 LED on the main board will be on and the two red LEDs on the shield will be on too. After rotating CW for 8S, the two red LED will be off and the 2 blue ones will be on; the two motor rotate CCW for 8S, and then repeat the cycle.

Pic 1.png
Pic1

Pic 2.png
Pic2

Pic 3.png
Pic3


Resources

Video

http://www.keyestudio.com/wp/2016/05/ks0007-keyestudio-l298p-motor-driver-shield/

PDF

https://drive.google.com/open?id=1yU9UR8Nd2pfKEiHc0vDGMtQtOl56GoC6

Get One Now

Official Website

http://www.keyestudio.com/rose-simple-product.html

Amazon Store

https://www.amazon.com/Shield-current-driver-module-Arduino/dp/B016PNP93I/ref=sr_1_3?ie=UTF8&qid=1479109002&sr=8-3&keywords=Shield+L298P+2A+high+current+dual+DC+motor+driver+module+for+Arduino