DRI0009

DRI0009 Datasheet


Arduino Motor Shield L298N SKU:DRI0009

Part Datasheet
DRI0009 DRI0009 DRI0009 (pdf)
PDF Datasheet Preview
Arduino Motor Shield L298N SKU:DRI0009

Contents
• 1 Introduction
• 2 Specification
• 3 PinOut
• 4 Tutorial

Connection Diagram Sample Code

PWM Speed Control PLL Speed Control
• 5 Trouble shooting

Introduction

This motor shield allows Arduino to drive two channel DC motors. It uses a L298N chip which deliveries output current up to 2A each channel. The speed control is achieved through conventional PWM which can be obtained from Arduino’s PWM output Pin 5 and The enable/disable function of the motor control is signalled by Arduino Digital Pin 4 and The Motor shield can be powered directly from Arduino or from external power source. It is strongly encouraged to use external power supply to power the motor shield.

IOREF pin for Version

The board's IOREF pin is connected with pin 5V! So when adding the DRI0009 to the stack of board controller , the controller's supply voltage would changed to 5V! So it only can be compatible with the controller working at 5V. If you need to use controller working at other voltage, e.g. 3.3V, you need CUT OFF the IOREF pin of DRI0009.

Specification
• Logic Control From Arduino
• Motor Driven From Arduino or External Power Source
• Logic supply current
• Motor Driven current
• Maximum power
• Speed control mode
• Control signal level:

PinOut

Control Mode Selection Jumpers:

The shield supports PWM and PLL Phased Locked Loop control Modes. The PWM mode uses E1 and E2 to generate PWM signal. The PLL mode uses M1 and M2 to generate phase control signal.

Motor Terminal Two DC motors are connected to blue motor terminals. The male header behide the terminals are the same as the motor terminals.

The motors can be powered by external power supply when the motor current exceeds the limits provided from the Arduino. The swith between external and Arduino power is implemented by two jumpers.
• PWRIN External Power
• VIN Arduino Power


Control Signal Truth

E1 L H PWM

M1 X Motor 1 Disabled H Motor 1 Backward X PWM Speed control

E2 L H PWM

M2 X Motor 2 Disabled H Motor 2 Backward X PWM Speed control

NOTE:

H is High level L is Low level PWM is Pulse Width Modulation signal X is any voltage level.
"PWM Mode"

Pin Digital 4 Digital 5 Digital 6 Digital 7

Function Motor 1 Direction control Motor 1 PWM control Motor 2 PWM control Motor 2 Direction control
"PLL Mode"

Function

Digital 4

Motor 1 Enable control

Digital 5

Motor 1 Direction control

Digital 6 Digital 7

Tutorial

Connection Diagram

Motor 2 Direction control Motor 2 Enable control

Sample Code PWM Speed Control
//Arduino PWM Speed int E1 = 5;
int M1 = 4 int E2 = 6 int M2 = 7;
void setup
pinMode M1, OUTPUT pinMode M2, OUTPUT ;
More datasheets: B32924F3335K | B32924F3475K | B32924F3565K | B32924E3685M | B32924F3685K | B32924E3825M | B32926E3225K | B32923E3225M189 | B32924E3225M189 | ACW025


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived DRI0009 Datasheet file may be downloaded here without warranties.

Datasheet ID: DRI0009 508813