The Motor Shield Kit allows you to connect two DC motors to the Digispark development board. The Motor Shield connects the TB6612FNG Dual Motor Driver to the Digispark allowing the Digispark to control up to two DC motors, up to 15VDC, 1.2A per channel (3.2A peak). The Motor Shield kit uses two inverters to allow each motor attached to the TB6612FNG to be controlled with only two i/o lines from the Digispark, four total.
This is an unassembled kit and requires surface mount soldering. This is designed for use with the Digispark development board, which is not included.
Part | Quantity | Identification |
---|---|---|
Motor Shield PCB | 1 | |
TB6612FNG Dual Motor Driver | 1 | |
CMOS Inverter (M74VHC1GT04DTT1G) | 2 | |
10uf Capacitor - Electrolytic | 1 | |
0.1uf Capacitor - Ceramic | 1 | |
1x40pin male 0.1“ pitch header | 15 pins worth |
Note: This kit requires surface mount soldering, if you are new to soldering please practice with other components first.
Soldering: If you are new to soldering we recommend the following tutorials: Soldering Basics (http://www.sparkfun.com/tutorials/106) and Soldering Crash Course from the folks at Sparkfun (http://www.sparkfun.com/tutorials/354). How to solder from the Curious Inventor: http://store.curiousinventor.com/guides/How_to_Solder
Adafruit has this excellent guide that starts with the tools needed and then shows detailed pictures, including some of the common problems that beginners experience (http://learn.adafruit.com/adafruit-guide-excellent-soldering)
Note: While we did not do this for the tutorial photos, if we were going to rewrite and photograph this we'd attach the inverters and motor driver before putting on the capacitors, this will allow those to be soldered to a board that will lay flat.
Empty kit bag (or if using a raw PCB, aquire parts) and verify contents. Note for Kickstarter Backers and Pre-orders: Headers are not included in each kit bag, but the entire order came with more than enough headers for all kits.
Insert the 0.1uf capacitor. Solder the leads and clip off the excess.
Insert the 10uf capacitor, ensure that the shorter lead is inserted into the hole with the - sign next to it. Solder the leads and clip off the excess.
Solder the two inverters to the board.
Solder the TB6612FNG Dual Motor Driver to the board- matching the pin one circle on the chip with the one printed on the board.
Cut three lengths of male headers 2 pins long. Insert into corresponding positions (on the top of the board) and solder each pin.
Cut a length of male headers 6 pins long and one 3 pins long. Insert into corresponding positions (on the bottom of the board) and solder each pin.
Tip: Inserting the headers into a breadboard and then placing the board on top can make this process easier.
Note: If you are using stackable headers, use them here instead of the standard male headers.
See the Motor example included with the Digispark Arduino Addon.