KS0298 Keyestudio quick connectors Motor Drive Shield
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 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 Bluetooth module. When connecting, just plug 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. The motor connector A and A1, connector B and B1 are separately in parallel, with the same motion rule.
The shield comes with 4 fixing holes of 3mm, easy to mount on other devices.
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)
- Pin/female header spacing:2.54mm
- Fixing hole diameter: 3mm
PINOUT Diagram
Hookup Guide
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
https://drive.google.com/open?id=1upaMVPVRjMjo9RGnhfdJh01JSdnL4EUN
Get One Now
- [ Official website]
- [ Get one now on aliexpress store]