Motor Driver Shield Manual

July 21, 2017 | Author: Shiela Monique Fajardo | Category: Arduino, Electromagnetism, Manufactured Goods, Computer Engineering, Electronic Engineering
Share Embed Donate


Short Description

Descripción: arduino...

Description

MOTOR DRIVER SHIELD

Motor Driver Shield

Features & Specifications  The e-Gizmo Motor Driver Shield can be used

to drive two DC motors independently, or one bipolar stepping motor. Up to 16VDC 1.4A per motor output drive.  Compatible in all Gizduino/Arduino kits.

© Copyright 2013 by e-Gizmo Mechatronix Central All Rights Reserved

Pages 1 of 7 pages www.e-Gizmo.com

Motor Driver Shield

MAJOR COMPONENTS PRESENTATION

Arduino-compatible Motor Driver Shield pins occupied pins

LB11847

DC Motor/ Bipolar Stepper Motor connection pins

Motor Driver Shield occupied pins

Motor Driver Shield

Table 1. Motor Driver Shield pins and Descriptions PIN I.D

Descriptions

+5V

Power Supply

GND

Ground

OUT A OUT A OUT B OUT B

© Copyright 2013 by e-Gizmo Mechatronix Central All Rights Reserved

Right Motor output

Left Motor output

Pin 8

Digital I/O pins

Pin 9

Digital I/O pins

Pin 10

Digital I/O pins

Pin 11

Digital I/O pins

Pages 2 of 7 pages www.e-Gizmo.com

Motor Driver Shield

Motor Driver Shield

Figure 2. Motor Driver Shield Schematic Diagram

S CHEMATIC D IAGRAM

© Copyright 2013 by e-Gizmo Mechatronix Central All Rights Reserved

Pages 3 of 7 pages www.e-Gizmo.com

PCB B OARD P RESENTATION

Motor Driver Shield

Motor Driver Shield

Figure 3. Motor Driver Shield (silkscreen layout)

Figure 4. Motor Driver Shield (Top layout)

© Copyright 2013 by e-Gizmo Mechatronix Central All Rights Reserved

Figure 5. Motor Driver Shield (Buttom layout)

Pages 4 of 7 pages www.e-Gizmo.com

S AMPLE A PPLICATIONS

Motor Driver Shield

Connections to Motor Driver Pins 11 10 9 8

GND

JP4 AREF

JP3 13

12

11

10

9

8

7

6

5

4

3

A0

A1

A2

2

1 TX

0 RX

PWM

ANALOG IN

VIN

GND

GND

+5V

+3.3V

Reset

POWER A3

A4

A5

A6

A7

JP2

+5V

+5V GND

JP1

Motor Driver Shield

Connections to Motor Driver Pins

Wiring connections: MCU MOTOR DRIVER SHIELD +5V - +5V GND - GND VIN - +5V PIN 8 - PIN 8 PIN9 - PIN 9 PIN 10 - PIN10 PIN11 - PIN 11

Figure 6. Gizduino connections to Motor Driver Shield Sample Application Wiring Diagram © Copyright 2013 by e-Gizmo Mechatronix Central All Rights Reserved

Pages 6 of 7 pages www.e-Gizmo.com

S AMPLE A PPLICATIONS

LEFT MOTOR

Motor Driver Shield

Connections to GIZDUINO PINS 11 10 9 8

+5V

RIGHT MOTOR

+5V GND

Motor Driver

Motor Driver Shield

Connections to GIZDUINO PINS Wiring connections: LEFT MOTOR MOTOR DRIVER SHIELD - OUTB - OUTB RIGHT MOTOR - OUTA -OUTA

Figure 7. Motor Driver Shield wire connections to Gizduino (MCU) and to the Left and Right Motor Sample Application Wiring Diagram

© Copyright 2013 by e-Gizmo Mechatronix Central All Rights Reserved

Pages 5 of 7 pages www.e-Gizmo.com

S AMPLE C ODES

Motor Driver Shield

(Copy & paste this to your Arduino IDE) /* Sample Program for Motor Driver Shield. Codes by: e‐Gizmo Mechatronix Central September 19,2013 */ int speed;

Motor Driver Shield

void setup() { pinMode(8, OUTPUT); pinMode(9, OUTPUT); pinMode(10, OUTPUT); pinMode(11, OUTPUT); } void loop() { digitalWrite(8, LOW); digitalWrite(11, LOW); for (speed=0; speed0; speed‐‐){ analogWrite(9, speed); analogWrite(10, speed); delay(10); // wait for a second } digitalWrite(8, HIGH); digitalWrite(11, HIGH); for (speed=0; speed0; speed‐‐){ analogWrite(9, speed); analogWrite(10, speed); delay(10); // wait for a second } } © Copyright 2013 by e-Gizmo Mechatronix Central All Rights Reserved

Pages 7 of 7 pages www.e-Gizmo.com

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF