Sunteți pe pagina 1din 7

MOTOR DRIVER SHIELD

Features & Specications Motor Driver Shield


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

MAJOR COMPONENTS PRESENTATION

Motor Driver Shield

Arduino-compatible Motor Driver Shield pins occupied pins

DC Motor/ Bipolar Stepper Motor connection pins

Table 1. Motor Driver Shield pins and Descriptions PIN I.D +5V GND Descriptions Power Supply Ground Right Motor output

LB11847
Motor Driver Shield occupied pins

Motor Driver Shield

OUT A OUT A OUT B OUT B Pin 8 Pin 9 Pin 10 Pin 11

Left Motor output Digital I/O pins Digital I/O pins Digital I/O pins Digital I/O pins

Copyright 2013 by e-Gizmo Mechatronix Central All Rights Reserved

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

S CHEMATIC D IAGRAM

Motor Driver Shield

Motor Driver Shield

Copyright 2013 by e-Gizmo Mechatronix Central All Rights Reserved

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

Figure 2. Motor Driver Shield Schematic Diagram

PCB B OARD P RESENTATION

Motor Driver Shield

Figure 3. Motor Driver Shield (silkscreen layout)

Motor Driver Shield

Figure 4. Motor Driver Shield (Top layout)

Figure 5. Motor Driver Shield (Buttom layout)

Copyright 2013 by e-Gizmo Mechatronix Central All Rights Reserved

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

S AMPLE A PPLICATIONS
Connections to Motor Driver Pins
11 10 9 8

Motor Driver Shield

JP3
GND AREF

JP4 13 12 11 10 9 8 7 6 5 4 3 2 1 TX 0 RX

PWM

POWER
Reset +3.3V GND +5V GND VIN

ANALOG IN
A0 JP2 A1 A2 A3 A4 A5 A6 A7

JP1

+5V GND

Connections to Motor Driver Pins

Motor Driver Shield

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

+5V

S AMPLE A PPLICATIONS
Connections to GIZDUINO PINS
11 10 9 8

Motor Driver Shield

LEFT MOTOR

Motor Driver

+5V GND

RIGHT MOTOR

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

Motor Driver Shield

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

+5V

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

S AMPLE C ODES
(Copy & paste this to your Arduino IDE) /* Sample Program for Motor Driver Shield. Codes by: eGizmo Mechatronix Central September 19,2013 */ int speed; 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; speed<256; speed++){ analogWrite(9, speed); analogWrite(10, speed); delay(10); // wait for a second } for (speed=255; speed>0; speed){ analogWrite(9, speed); analogWrite(10, speed); delay(10); // wait for a second } digitalWrite(8, HIGH); digitalWrite(11, HIGH); for (speed=0; speed<256; speed++){ analogWrite(9, speed); analogWrite(10, speed); delay(10); // wait for a second } for (speed=255; speed>0; speed){ analogWrite(9, speed); analogWrite(10, speed); delay(10); // wait for a second } }
Copyright 2013 by e-Gizmo Mechatronix Central All Rights Reserved

Motor Driver Shield

Motor Driver Shield

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

S-ar putea să vă placă și