Arduino Motor Shield (L298) Manual



Similar documents
Arduino Shield Manual

Pololu DRV8835 Dual Motor Driver Shield for Arduino

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

Selecting and Implementing H-Bridges in DC Motor Control. Daniel Phan A

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall Work in teams of two!

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

Basic Pulse Width Modulation

Arduino Lesson 13. DC Motors. Created by Simon Monk

RB-See-211. Seeedstudio Grove 6-15V, 2A Dual I2C Motor Driver. Grove - I2C Motor Driver. Introduction

Arduino Shield Manual

UIM2901-5A MACH3 breakout board

Servo Info and Centering

Electronic Brick of Current Sensor

DC Motor Driver 24V 20A [RKI-1340]

Arduino Lesson 16. Stepper Motors

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

revolution Contents: Introduction Power 28-pin Project Board with input/output cables

SYSTEM 4C. C R H Electronics Design

SYSTEM 45. C R H Electronics Design

1 of 5 12/31/ :51 AM

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

High Power LED Driver Series User s Guide

FASTERCNC CO,. LTD. FASTERCNC CO,. LTD.

Discontinued Product For Reference Only

Lecture 7: Programming for the Arduino

Green House Monitoring and Controlling Using Android Mobile Application

INTRODUCTION TO SERIAL ARM

Micro-Step Driving for Stepper Motors: A Case Study

Basic DC Motor Circuits. Living with the Lab Gerald Recktenwald Portland State University

Basic DC Motor Circuits

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

CAUTION! THE 7I29 USES VOLTAGE AND POWER LEVELS THAT REPRESENT A HAZARD TO LIFE AND LIMB.

H-Bridge Motor Control

XS-3525/8S-3. Preliminary DataSheet Version 2.02

Ultrasonic Distance Measurement Module

Link-65 MHz, +3.3V LVDS Transmitter 24-Bit Flat Panel Display (FPD) Link-65 MHz

High-Speed, Low r ON, SPST Analog Switch (1-Bit Bus Switch)

PolyBot Board. User's Guide V1.11 9/20/08

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01

DG2302. High-Speed, Low r ON, SPST Analog Switch. Vishay Siliconix. (1-Bit Bus Switch with Level-Shifter) RoHS* COMPLIANT DESCRIPTION FEATURES

Name Description P/N. Programmer Programmer with calibration function SDD-AAPNP. Parameter Min. Typ. Max. Notes. (Vo+ - Vo-) - Voltage

X8 Option 2 - Technology

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

Tutorial. replace them with cell-phone operated module. The advantages of a cell-phone operated bot are:-

DC Motor control Reversing

AP KHz, 2A PWM BUCK DC/DC CONVERTER. Description. Pin Assignments V IN. Applications. Features. (Top View) GND GND. Output AP1509 GND GND

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

MDC Series

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

TECHNICAL DATASHEET #TD1404AX PWM CONTROLLED SOLENOID DRIVER

.OPERATING SUPPLY VOLTAGE UP TO 46 V

Chapter 6 PLL and Clock Generator

Copyright 2012 by Fen Logic Ltd. All rights reserved.

Impulse G+/VG+ Series 3, 24 VDC Interface Card Terminal Designations

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

User manual DinaSys DTC/DTS and DTC/DTZ

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

Fairchild Solutions for 133MHz Buffered Memory Modules

Arduino DUE + DAC MCP4922 (SPI)

2/4, 4/5/6 CLOCK GENERATION CHIP

DCDC-USB. 6-34V 10A, Intelligent DC-DC converter with USB interface. Quick Installation Guide Version 1.0c P/N DCDC-USB

Global Motion Technology Inc Web THCSA200. Capacitive sensor plasma & Oxy-fuel Torch Height Control

CHAPTER 11: Flip Flops

Lab Experiment 1: The LPC 2148 Education Board

PI5C

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Programming the Arduino

Analog Servo Drive 25A8

DMX-K-DRV. Integrated Step Motor Driver + (Basic Controller) Manual

MIDECO 64-outputs MIDI note decoder USER MANUAL. Roman Sowa 2012

Three Arduino Challenges to Connect the Logical World with the Physical One. ISTE Philadelphia

A Practical Guide to Free Energy Devices

IEEE P802.3af DTE Power via MDI Task Force Presentation Phil Holland

Power Electronic Circuits

Experiment 8 : Pulse Width Modulation

Easy Step 1000 Stepper Driver Module

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller

V CC TOP VIEW. f SSO = 20MHz to 134MHz (DITHERED)

UniPi technical documentation REV 1.1

How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player

Four/Five Axis TB6560 CNC Driver Users Manual

Microstep Driver Manual Version 6/13/2006

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

1ED Compact A new high performance, cost efficient, high voltage gate driver IC family

Mini Breakout-Board. CNC Interface for LPT Port. Installation Manual Version 4

Combi B Alarm box. Mounting instructions

The self-starting solar-powered Stirling engine

Lab 6 Introduction to Serial and Wireless Communication

1602 LCD adopts standard 14 pins(no backlight) or 16pins(with backlight) interface, Instruction of each pin interface is as follows:

OPERATING MANUAL. Table of contents. 2 Phase Stepping Motor Driver 2M542. Rev. A. Introduction page 2. Specifications page 2 Timing chart page 3

40-Segment 2.54 pitch LED Bar Display Board User s Guide

Schematic & Parts List: PIC16F688 Satellite Tracker & Rotor Controller

Arduino Lesson 14. Servo Motors

Electronics 5: Arduino, PWM, Mosfetts and Motors

PIKA Technical Bulletin #41. V-12 RAN Trunk Interface Implementation

Transcription:

Arduino Motor Shield (L298) Manual This DFRobot L298 DC motor driver shield uses LG high power H-bridge driver Chip L298P, which is able to drive DC motor, two-phase or four phase stepper motor with a maximum 2A current. D_Robotics 4/7/2011

Arduino Motor Shield (L298P) (SKU:DRI0009) I Introduction This DFRobot L298 DC motor driver shield uses LG high power H-bridge driver Chip L298P, which is able to drive DC motor, two-phase or four phase stepper motor with a maximum 2A current. The motor output uses eight high-speed Schottky diodes for protection. The circuit wiring of the shield is well organised and the stack design makes it directly mountable onto our Arduino compatible Duemilanove 328 or Mega. The Shield can switch between PWM speed control mode and PLL phase-locked loop mode through setting the appropriate jumpers. The power supply can be achieved either via Arduino VIN input or PWRIN input on the sield through setting the appropriate jumpers. The speed control is achieved through conventional PWM which can be obtained from Arduino s PWM output Pins 5 and 6. The enable/disable function of the motor control is signaled by Arduino Digital Pins 4 and 7. The Motor shield can be powered directly from Arduino or from external power source. It is strongly recommended to use external power supply to power the motor shield. Logic Control Voltage:5V (From Arduino) Motor Driven Voltage:4.8~35V (From Arduino or External Power Source) Logic supply current Iss: 36mA Motor Driven current Io: 2A Maximum power consumption:25w(t=75 ) PWM PLL Speed control mode Control signal level: High:2.3V Vin 5V Low:-0.3V Vin 1.5V II Diagram and Control Mode Setting 2 P a g e

Figure 1 L298 Motor Shield Control Mode Selection Jumpers (Figure 2 below): 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. Figure 2 Control Mode Selection Jumpers Motor Terminal (Figure 3 below): Two DC motors are connected to blue motor terminals. The male header behind the terminals are the same as the motor terminals. 3 P a g e

Figure 3 L298 Motor terminal PWRIN (Figure 4 below) : The motors can be powered by external power supply when the motor current exceeds the limits provided from the Arduino. The switch between external and Arduino power is implemented by two jumpers. PWRIN: External Power VIN: Arduino Power Figure 4 The motors are powered by external power supply Figure 5 below demonstrates how the motor shield is set to be powered by Arduino power only. 4 P a g e

Figure 5 The motors are powered by Arduino power supply NOTE: When the motor shield is powered by external power source, make sure the external power source and Arduino have the same GND. Control Signal Truth Table: E1 M1 E2 M2 L X Motor 1 Disabled L X Motor 2 Disabled H H Motor 1 Backward H H Motor 2 Backward PWM X PWM Speed control PWM X PWM Speed control Note:H is High level; L is Low level; PWM is Pulse Width Modulation signal; X is any voltage level III Pin Allocation "PWM Mode" Pin Function Digital 4 Motor 2 Direction control Digital 5 Motor 2 PWM control Digital 6 Motor 1 PWM control Digital 7 Motor 1 Direction control "PLL Mode" Pin Function Digital 4 Motor 2 Enable control Digital 5 Motor 2 Direction control Digital 6 Motor 1 Direction control Digital 7 Motor 1 Enable control 5 P a g e

IV Sample Code PWM Speed Control 1 2 3 4 5 6 7 8 9 10 11 } 12 13 void loop() 14 15 16 17 18 19 20 21 22 23 24 } //Arduino PWM Speed Control: int E1 = 6; int M1 = 7; int E2 = 5; int M2 = 4; void setup() pinmode(m1, OUTPUT); pinmode(m2, OUTPUT); int value; for(value = 0 ; value <= 255; value+=5) digitalwrite(m1,high); digitalwrite(m2, HIGH); analogwrite(e1, value); //PWM Speed Control analogwrite(e2, value); //PWM Speed Control delay(30); } PLL Speed Control 1 2 3 4 5 6 7 8 9 10 //Arduino PLL Speed Control: int E1 = 7; int M1 = 6; int E2 = 4; int M2 = 5; void setup() pinmode(m1, OUTPUT); pinmode(m2, OUTPUT); 11 } 12 13 void loop() 14 15 16 17 int value; for(value = 0 ; value <= 255; value+=5) 6 P a g e

18 19 20 21 22 23 24 } digitalwrite(m1,high); digitalwrite(m2, HIGH); analogwrite(e1, value); //PLL Speed Control analogwrite(e2, value); //PLL Speed Control delay(30); } 7 P a g e