Adafruit Motor Shield v1 & v2 + DoRobot
4 DC Motors or 2 Stepper Motor or 2 Servos — 1.2A@25v & 3.2A@15v peak — Ardu-Serie#54
V1 uses L293D Darlington driver and V2 has the TB6612 MOSFET driver.
L293D: 1.2A@32V peak.
TB6612: 3.2A@15v peak.

Free AI web copilot to create summaries, insights and extended knowledge, download it at here
3875
Abstract
<iframe class="gist-iframe" src="/gist/giljr/aca20d3ba6d09e7ab9d64e0190b76378.js" allowfullscreen="" frameborder="0" height="undefined" width="undefined">
</div>
</div>
</figure></iframe></div></div></figure><p id="a23c">Now let’s see <b>V2</b>:</p><figure id="60b2"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*36QQCSFhI3bsaktfiOQocA.png"><figcaption></figcaption></figure><p id="1e60">The original Adafruit Motorshield kit is one of their most beloved kits, which is why <b>Adafruit </b>decided to make something even better. They have upgraded the shield kit to make the best board, the easiest way to drive DC and Stepper motors. They kept the ability to drive up to 4 DC motors or 2 stepper motors, but added many improvements:</p><p id="58be">Instead of an <b>L293D Darlington</b> driver, They now have the <b>TB6612 MOSFET</b> drivers with <b>1.2A per channel</b> current capability (you can draw up to 3A peak for approx 20ms at a time). It also has much lower voltage drops across the motor so you get more torque out of your batteries, and there are built-in flyback diodes as well.</p><p id="d6a5"><b>Instead </b>of using a <b>latch </b>and the Arduino’s PWM pins, they have a <b>fully-dedicated PWM driver chip </b>onboard. This chip handles all the motor and speed controls over <b>I2C</b>. Only two GPIO pins (SDA & SCL) plus 5v and GND. are required to drive the multiple motors, and since it’s I2C you can also connect any other I2C devices or shields to the same pins. This also makes it drop-in <b>compatible with any Arduino</b>, such as the Uno, Leonardo, Due and Mega R3.</p><figure id="b452"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*5mddqHMT0k1t_w0Gy90KCQ.png"><figcaption>Adafruit v2</figcaption></figure><h1 id="1f00">The code</h1>
<figure id="ef93">
<div>
<div>
<iframe class="gist-iframe" src="/gist/giljr/984b044e45e5c534f14bc6101528be07.js" allowfullscreen="" frameborder="0" height="undefined" width="undefined">
</div>
</div>
</figure></iframe></div></div></figure>
<figure id="ef5d">
<div>
<div>
<img class="ratio" src="http://placehold.it/16x9">
<iframe class="" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fc5IPh6yTQaA%3Ffeature%3Doembed&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dc5IPh6yTQaA&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fc5IPh6yTQaA%2Fhqdefault.jpg&key=a19fcc184b9711e1b4764040d3dc5c07&type=text%2Fhtml&schema=youtube" allowfullscreen="" frameborder="0" height="480" width="854">
</div>
</div>
</figure></iframe></div></div></figure><h1 id="9304">Github:</h1><p id="15ed"><a href="https://github.com/giljr/Ardu_Serie/tree/master/_54_AMS/_54_Adafruit_v1_01.ino">Ardu_Serie/_54_Adafruit_v1_01.ino.ino</a></p><p id="3562"><a href="https://github.com/giljr/Ardu_Serie/tree/master/_54_AMS/_54_Adafruit_v1_02">Ardu_Serie/_54_Adafruit_v1_02.ino</a></p><p id="cbda"><a href="https://github.com/giljr/Ardu_Serie/tree/master/_54_AMS/_54_Adafruit_v2_03">Ardu_Serie/_54_Adafruit_v2_03.ino</a></p><p id="0f26"><a href="https://github.com/giljr/Ardu_Serie/tree/master/_54_AMS/_54_Adafruit_v2_04">Ardu_Serie/_54_Adafruit_v2_04.ino</a></p><p id="2a71"><a href="https://drive.google.com/open?id=1v2bSws6QYvpzgKqU72xCytxn3qu6aivr">Download All Files for This Project</a></p><h1 id="75f2">Credits & References</h1><p id="8b49"><a href="https://docs.google.com/document/d/1OdGS0QHKCdbrbAs_x62gmfSx_UdUPFPgZjwZnVDVHDg/preview">Understanding the Adafruit Motor Shield Library</a></p><p id="c7bf"><a href="https://www.adafruit.com/product/81">Adafruit Motor/Stepper
Options
/Servo Shield for Arduino kit — v1.2</a></p><p id="8af0"><a href="https://learn.adafruit.com/adafruit-motor-shield/library-install">First Install the <b>AF_Motor</b> Arduino Library</a></p><p id="1b57">Github <a href="https://github.com/adafruit">adafruit</a>/<a href="https://github.com/adafruit/Adafruit-Motor-Shield-library">Adafruit-Motor-Shield-library</a></p><p id="3be7"><a href="https://learn.adafruit.com/adafruit-motor-shield-v2-for-arduino?view=all">adafruit-motor-shield-v2-for-arduino</a></p><p id="ebf6"><a href="http://web.csulb.edu/~hill/ee444/Lectures/01_System%20Interface%20Design/3%20System%20Interface%20Design%20Part%203.pdf">Microcontroller Based Interface Design Part By 3 System Engineering the Rover</a></p><p id="cf45"><b>Version 2</b> Schema: <a href="https://learn.adafruit.com/assets/9536">adafruit_products_mshieldv2schem.png</a></p><p id="0d6d"><b>Schematic</b>: <a href="https://learn.adafruit.com/assets/9536">https://learn.adafruit.com/assets/9536</a></p><h2 id="a687">Related Posts:</h2><p id="3927"><a href="https://readmedium.com/meet-j3c3-3383e9254afd">Meet DoRobot — Assembly Techniques J3 Caterpillar-Crawler-Chassis v 1.0 — ArduSerie#46</a></p><p id="d286"><a href="https://readmedium.com/j3c3-controlling-motor-db024ea23bdb"><b>L9100S </b>— Toy Driver Easy To Use — Toy-low-voltage-h-bridge-easy-to-use-motor — .8A@12v peak — Ardu_Serie#47</a></p><p id="d6e2"><a href="https://readmedium.com/easydriver-4-wire-stepper-motor-driver-9f32b233efe6"><b>EASYDRIVER</b></a>: 4-Wire-Stepper Motor Driver<a href="https://readmedium.com/j3c3-controlling-motor-db024ea23bdb"> — </a><a href="http://www.schmalzhaus.com/">Brian Schmalz</a> Design on <a href="https://cdn.sparkfun.com/datasheets/Robotics/A3967-Datasheet.pdf">A3967 IC</a> — Bi-Polar Motors — .75A@30v peak — Making Using These a Breeze! Ardu_Serie#48</p><p id="6cd6"><a href="https://readmedium.com/drv8825-high-current-stepper-motor-driver-carrier-b51eead97fe8"><b>DRV8825</b></a> — High Current Stepper Motor Driver Carrier — Stepper Motor — Bipolar Mode — 2.5A@45v peak — Ardu_Serie #59</p><p id="623d"><a href="https://readmedium.com/l298n-dual-full-bridge-driver-337321f593ee"><b>L298N</b> </a>— Dual Full-Bridge Driver — Darlington Transistor Arrays Based — 3A@50v peak — Ardu-Serie#52</p><p id="7180"><a href="https://readmedium.com/tb6612fng-dual-dc-motor-driver-690abd44465d"><b>TB6612FNG</b></a>: Dual DC Motor Driver — SparkFun Motor Driver — [email protected] peak — Ardu-Serie#49</p><p id="9d14"><a href="https://readmedium.com/a4988-stepper-motor-driver-carrier-bc25497a9d9c"><b>A4988</b></a><b> </b>— Stepper Motor Driver Carrier — Allegro’s A4988 — Bipolar Stepper Motor Driver — 2A@35v peak — Ardu-Serie#53</p><p id="9161"><a href="https://readmedium.com/adafruit-motor-shield-v1-v2-2fa1430edaf9"><b>Adafruit Motor Shield v1 & v2</b></a>–4 DC Motors or 2 Stepper Motor or 2 Servos — 1.2A@25v & 3.2A@15v peak — Ardu-Serie#54</p><p id="271b"><a href="https://readmedium.com/ifr-520-mos-module-dorobot-4a3dd45ba2b7"><b>IFR 520 MOS</b></a> — Module + DoRobot — Switch Heavy DC Loads — 10A@100v peak — Ardu-Serie#60</p><p id="fdbc"><a href="https://readmedium.com/l9110-h-bridge-module-4c9bbb038200"><b>L9110 H-bridge module + DoRobot</b> </a>— DC Stepper Motor Driver Board — .8A@12 v peak — Ardu_Serie#62</p><p id="1229"><a href="https://readmedium.com/bts-7960b-high-current-pn-half-bridge-cc428153f82a"><b>BTS7960B- High Current PN Half Bridge</b></a> — High Current Motor Drive Applications — NovalithIC T M — 43A@24v peak — ArduSerie#64</p><p id="06f0"><a href="https://readmedium.com/vnh2sp30-monster-moto-shield-745893d518a9"><b>VNH2SP30 — Monster Moto Shield</b></a><b> </b>— Use This Board In Extreme High-Demand Application — Full-Bridge Motor Drivers — 30A@16v peak — Ardu_Serie#63</p><p id="306d">— Edited 6/2020 — Fix broker links:)</p></article></body>
V1 uses L293D Darlington driver and V2 has the TB6612 MOSFET driver.
L293D: 1.2A@32V peak.
TB6612: 3.2A@15v peak.

The above code simply accelerates the DC Motor 5v forward to 10 ms and turn the motor to the reverse; Then repeat.

v1:
They, from Adafruit, design for a full-featured motor shield that will be able to power many simple to medium-complexity projects.

Now let’s see V2:

The original Adafruit Motorshield kit is one of their most beloved kits, which is why Adafruit decided to make something even better. They have upgraded the shield kit to make the best board, the easiest way to drive DC and Stepper motors. They kept the ability to drive up to 4 DC motors or 2 stepper motors, but added many improvements:
Instead of an L293D Darlington driver, They now have the TB6612 MOSFET drivers with 1.2A per channel current capability (you can draw up to 3A peak for approx 20ms at a time). It also has much lower voltage drops across the motor so you get more torque out of your batteries, and there are built-in flyback diodes as well.
Instead of using a latch and the Arduino’s PWM pins, they have a fully-dedicated PWM driver chip onboard. This chip handles all the motor and speed controls over I2C. Only two GPIO pins (SDA & SCL) plus 5v and GND. are required to drive the multiple motors, and since it’s I2C you can also connect any other I2C devices or shields to the same pins. This also makes it drop-in compatible with any Arduino, such as the Uno, Leonardo, Due and Mega R3.

Ardu_Serie/_54_Adafruit_v1_01.ino.ino
Ardu_Serie/_54_Adafruit_v1_02.ino
Ardu_Serie/_54_Adafruit_v2_03.ino
Ardu_Serie/_54_Adafruit_v2_04.ino
Download All Files for This Project
Understanding the Adafruit Motor Shield Library
Adafruit Motor/Stepper/Servo Shield for Arduino kit — v1.2
First Install the AF_Motor Arduino Library
Github adafruit/Adafruit-Motor-Shield-library
adafruit-motor-shield-v2-for-arduino
Microcontroller Based Interface Design Part By 3 System Engineering the Rover
Version 2 Schema: adafruit_products_mshieldv2schem.png
Schematic: https://learn.adafruit.com/assets/9536
Meet DoRobot — Assembly Techniques J3 Caterpillar-Crawler-Chassis v 1.0 — ArduSerie#46
EASYDRIVER: 4-Wire-Stepper Motor Driver — Brian Schmalz Design on A3967 IC — Bi-Polar Motors — .75A@30v peak — Making Using These a Breeze! Ardu_Serie#48
DRV8825 — High Current Stepper Motor Driver Carrier — Stepper Motor — Bipolar Mode — 2.5A@45v peak — Ardu_Serie #59
L298N — Dual Full-Bridge Driver — Darlington Transistor Arrays Based — 3A@50v peak — Ardu-Serie#52
TB6612FNG: Dual DC Motor Driver — SparkFun Motor Driver — [email protected] peak — Ardu-Serie#49
A4988 — Stepper Motor Driver Carrier — Allegro’s A4988 — Bipolar Stepper Motor Driver — 2A@35v peak — Ardu-Serie#53
Adafruit Motor Shield v1 & v2–4 DC Motors or 2 Stepper Motor or 2 Servos — 1.2A@25v & 3.2A@15v peak — Ardu-Serie#54
IFR 520 MOS — Module + DoRobot — Switch Heavy DC Loads — 10A@100v peak — Ardu-Serie#60
L9110 H-bridge module + DoRobot — DC Stepper Motor Driver Board — .8A@12 v peak — Ardu_Serie#62
BTS7960B- High Current PN Half Bridge — High Current Motor Drive Applications — NovalithIC T M — 43A@24v peak — ArduSerie#64
VNH2SP30 — Monster Moto Shield — Use This Board In Extreme High-Demand Application — Full-Bridge Motor Drivers — 30A@16v peak — Ardu_Serie#63
— Edited 6/2020 — Fix broker links:)