Arduino Motor Shield V3
The Arduino Motor Shield is based on the L298, which is a dual full-bridge driver designed to drive inductive loads such as relays, solenoids, DC and stepping motors.
Hello World
Import programMUTTv1
First (and very, very simple) controller program for the MUTT. See http://mbed.org/users/johnb/notebook/mutt-mbed-enabled-robot-vehicle/
Library
Import libraryArduinoMotorShield
Thin wrapper around the pins used to control the Arduino motor shield
Datasheet
http://arduino.cc/en/Main/ArduinoMotorShieldR3Notes
The Motor Shield requires PWM output on at least 2 pins in order to control the bridges.
Unfortunately not all mbed boards support hardware driven PWM on these pins meaning that some cross-connection may be required. Some suggestions are provided below:
KL46Z:
Connect pins 5 (PTA5) and 11 (PTD6) to allow pin 5 to control PWM B.
You need to log in to post a discussion