KS0435 Keyestudio Motor Drive Shield V2: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:


[[image:0416图片1.png|thumb|550px|right|Keyestudio quick connectors Motor Drive Shield V2 ]]


<br>
== Overview ==
There are many ways to drive the motor. Our robot uses the most commonly used L298P solution. <br>
L298P is an excellent high-power motor driver IC produced by STMicroelectronics. It can directly drive DC motors, two-phase and four-phase stepping motors. The driving current up to 2A, and output terminal of motor adopts eight high-speed Schottky diodes as protection. <br>


We have designed the motor driver shield V2 based on the L298P circuit. <br>
The stackable design can make it be plugged directly into the Arduino, reducing the technical difficulty of using and driving the motor.<br>
Direct stack the motor driver shield onto UNO R3 board, after the BAT is powered on, turn the Slide button ON, to supply the power for both keyestudio motor driver shield V2 and UNO R3 board. <br>


For simple wiring, the motor driver shield comes with anti-reverse PH2.0- (2P/3P/4P/ 5P) interfaces. When connecting the motor, power supply and sensor modules, you just need to plug in directly. <br>


Keyestudio quick connectors Motor Drive Shield V2
The Bluetooth interface on the motor driver shield is fully compatible with keyestudio HM-10 Bluetooth module. When connecting, just plug HM-10 Bluetooth module into the corresponding interface. <br>


At the same time, the motor drive shield has brought out extra digital and analog ports in 2.54mm pin headers, so that you can continue to add other sensors for experiments extension. <br>
The motor drive shield can access to 4 DC motors, defaulted by jumper connection. The motor connector A and A1, connector B and B1 are separately in parallel. <br>
The 8 jumpers can be applied to control the turning direction of 4 motors. <br>
For instance, if change the 2 jumpers near the motor A connector from horizontal connection to vertical connection, the turning direction of motor A is opposite to the original rotation direction. <br>


<br>[[File:0411-图片2.png|600px|frameless|thumb]]<br>


Overview
<br>
There are many ways to drive the motor. Our robot uses the most commonly used L298P solution.
== Technical Details ==
L298P is an excellent high-power motor driver IC produced by STMicroelectronics. It can directly drive DC motors, two-phase and four-phase stepping motors. The driving current up to 2A, and output terminal of motor adopts eight high-speed Schottky diodes as protection.  
* Logic part input voltage: DC5V
* Driving part input voltage: DC 7-12V
* Logic part working current: <36mA
* Driving part working current: <2A
* Maximum power dissipation: 25W (T=75℃)
* Working temperature: -25℃~+130℃
* White connector: PH2.0- (2P/3P/4P/ 5P)
* Dimensions: 66mm*55mm*18mm
* Weight: 25.2g


We have designed the motor driver shield V2 based on the L298P circuit.
<br>
The stackable design can make it be plugged directly into the Arduino, reducing the technical difficulty of using and driving the motor.
== PINOUT Diagram ==
Direct stack the motor driver shield onto UNO R3 board, after the BAT is powered on, turn the Slide button ON, to supply the power for both keyestudio motor driver shield V2 and UNO R3 board.  
<br>[[File:0411-图片2.png|600px|frameless|thumb]]<br>


<br>
== Hookup Guide==
<br>[[File:0411-图片2.png|600px|frameless|thumb]]<br>


For simple wiring, the motor driver shield comes with anti-reverse PH2.0- (2P/3P/4P/ 5P) interfaces. When connecting the motor, power supply and sensor modules, you just need to plug in directly.
<br>
 
== Test Code ==
The Bluetooth interface on the motor driver shield is fully compatible with keyestudio HM-10 Bluetooth module. When connecting, just plug HM-10 Bluetooth module into the corresponding interface.
<pre>
 
At the same time, the motor drive shield has brought out extra digital and analog ports in 2.54mm pin headers, so that you can continue to add other sensors for experiments extension.
The motor drive shield can access to 4 DC motors, defaulted by jumper connection. The motor connector A and A1, connector B and B1 are separately in parallel.
The 8 jumpers can be applied to control the turning direction of 4 motors.
For instance, if change the 2 jumpers near the motor A connector from horizontal connection to vertical connection, the turning direction of motor A is opposite to the original rotation direction.
 
 
 
Technical Details
Logic part input voltage: DC5V
Driving part input voltage: DC 7-12V
Logic part working current: <36mA
Driving part working current: <2A
Maximum power dissipation: 25W (T=75℃)
Working temperature: -25℃~+130℃
White connector: PH2.0- (2P/3P/4P/ 5P)
Dimensions: 66mm*55mm*18mm
Weight: 25.2g
 
PINOUT Diagram
 
 
 
Hookup Guide
 
 
 
Test Code
*************************************
void setup(){
void setup(){
   pinMode(4, OUTPUT);
   pinMode(4, OUTPUT);
Line 79: Line 75:
   delay(2000);
   delay(2000);
}
}
*************************************
</pre>
 
<br>
== Test Result ==
Done wiring, stack the motor drive shield onto the UNO control board; connect UNO to computer’s USB port with USB cable to upload the code. <br>
Upload success, turn the Slide switch ON; 2 motors will simulate the smart car movement. Turn forward for 2 seconds, backward for 2 seconds, and then rotate to left for 2 seconds, rotate to right for 2 seconds, stop for 2 seconds, alternately and circularly.<br>
 
 
<br>
== Resource ==
 
*Download the datasheet here: <br>
https://drive.google.com/open?id=1vzMTO0OgvUjdv7L3ClCY9B-2jQdhPmGt
 
 
<br>
==Get One Now ==
 
*[ Official website]
 
*[ '''Get one now on aliexpress store''']
 




Test Result
[[Category: Shield]]
Done wiring, stack the motor drive shield onto the UNO control board; connect UNO to computer’s USB port with USB cable to upload the code.
Upload success, turn the Slide switch ON; 2 motors will simulate the smart car movement. Turn forward for 2 seconds, backward for 2 seconds, and then rotate to left for 2 seconds, rotate to right for 2 seconds, stop for 2 seconds, alternately and circularly.

Revision as of 13:35, 1 July 2019

Keyestudio quick connectors Motor Drive Shield V2


Overview

There are many ways to drive the motor. Our robot uses the most commonly used L298P solution.
L298P is an excellent high-power motor driver IC produced by STMicroelectronics. It can directly drive DC motors, two-phase and four-phase stepping motors. The driving current up to 2A, and output terminal of motor adopts eight high-speed Schottky diodes as protection.

We have designed the motor driver shield V2 based on the L298P circuit.
The stackable design can make it be plugged directly into the Arduino, reducing the technical difficulty of using and driving the motor.
Direct stack the motor driver shield onto UNO R3 board, after the BAT is powered on, turn the Slide button ON, to supply the power for both keyestudio motor driver shield V2 and UNO R3 board.

For simple wiring, the motor driver shield comes with anti-reverse PH2.0- (2P/3P/4P/ 5P) interfaces. When connecting the motor, power supply and sensor modules, you just need to plug in directly.

The Bluetooth interface on the motor driver shield is fully compatible with keyestudio HM-10 Bluetooth module. When connecting, just plug HM-10 Bluetooth module into the corresponding interface.

At the same time, the motor drive shield has brought out extra digital and analog ports in 2.54mm pin headers, so that you can continue to add other sensors for experiments extension.
The motor drive shield can access to 4 DC motors, defaulted by jumper connection. The motor connector A and A1, connector B and B1 are separately in parallel.
The 8 jumpers can be applied to control the turning direction of 4 motors.
For instance, if change the 2 jumpers near the motor A connector from horizontal connection to vertical connection, the turning direction of motor A is opposite to the original rotation direction.


thumb


Technical Details

  • Logic part input voltage: DC5V
  • Driving part input voltage: DC 7-12V
  • Logic part working current: <36mA
  • Driving part working current: <2A
  • Maximum power dissipation: 25W (T=75℃)
  • Working temperature: -25℃~+130℃
  • White connector: PH2.0- (2P/3P/4P/ 5P)
  • Dimensions: 66mm*55mm*18mm
  • Weight: 25.2g


PINOUT Diagram


thumb


Hookup Guide


thumb


Test Code

void setup(){
  pinMode(4, OUTPUT);
  pinMode(2, OUTPUT);
}

void loop(){
  digitalWrite(4,HIGH);
  analogWrite(5,100);
  digitalWrite(2,HIGH);
  analogWrite(9,100);
  delay(2000);
  digitalWrite(4,LOW);
  analogWrite(5,100);
  digitalWrite(2,LOW);
  analogWrite(9,100);
  delay(2000);
  digitalWrite(4,LOW);
  analogWrite(5,100);
  digitalWrite(2,HIGH);
  analogWrite(9,100);
  delay(2000);
  digitalWrite(4,HIGH);
  analogWrite(5,100);
  digitalWrite(2,LOW);
  analogWrite(9,100);
  delay(2000);
  analogWrite(5,0);
  analogWrite(9,0);
  delay(2000);
}


Test Result

Done wiring, stack the motor drive shield onto the UNO control board; connect UNO to computer’s USB port with USB cable to upload the code.
Upload success, turn the Slide switch ON; 2 motors will simulate the smart car movement. Turn forward for 2 seconds, backward for 2 seconds, and then rotate to left for 2 seconds, rotate to right for 2 seconds, stop for 2 seconds, alternately and circularly.



Resource

  • Download the datasheet here:

https://drive.google.com/open?id=1vzMTO0OgvUjdv7L3ClCY9B-2jQdhPmGt



Get One Now

  • [ Official website]
  • [ Get one now on aliexpress store]