The shield contains two L293D motor drivers and one 74HC595 shift register. The shift register expands 3 pins of the Arduino to 8 pins to control the direction for the motor drivers. The output enable of the L293D is directly connected to PWM outputs of the Arduino.
The Motor Shield is able to drive 2 servo motors, and has 8 half-bridge outputs for 2 stepper motors or 4 full H-bridge motor outputs or 8 half-bridge drivers, or a combination.
模組板規格
2 connections for 5V 'hobby' servos connected to the Arduino's high-resolution dedicated timer - no jitter!
4 H-Bridges: L293D chipset provides 0.6A per bridge (1.2A peak) with thermal shutdown protection, internal kickback protection diodes. Can run motors on 4.5VDC to 25VDC.
Up to 4 bi-directional DC motors with individual 8-bit speed selection (so, about 0.5% resolution)
Up to 2 stepper motors (unipolar or bipolar) with single coil, double coil or interleaved stepping.
Pull down resistors keep motors disabled during power-up
Big terminal block connectors to easily hook up wires (18-26AWG) and power
Arduino reset button brought up top
2-pin terminal block and jumper to connect external power, for separate logic/motor supplies
Tested compatible with Arduino Mega 1280 & 2560, Diecimila, Duemilanove, and UNO
Download the easy-to-use Arduino software library, check out the examples and you're ready to go!
Most servo motor will work well on 50 Hz of PWM frequency;
this mean the PWM signal should have a period of 20ms.
This servo can operate 180° when given a pulse signal ranging from 600usec to 2400usec.
#define MIN_PULSE_WIDTH 600 // the shortest pulse sent to a servo #define MAX_PULSE_WIDTH 2400 // the longest pulse sent to a servo #define DEFAULT_PULSE_WIDTH 1500 // default pulse width when servo is attached #define REFRESH_INTERVAL 20000 // minumim time to refresh servos in microseconds