Changes between Version 8 and Version 9 of ControlSystems/Electrical/Training/Arduino/Lesson6


Ignore:
Timestamp:
Oct 25, 2015, 10:25:11 PM (10 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/Electrical/Training/Arduino/Lesson6

    v8 v9  
    5151We will use an [https://www.adafruit.com/products/81 Arduino motor shield] to control the direction and speed of the DC motors in our mini-bots.  Although you can program the shield yourself, a convenient [https://learn.adafruit.com/adafruit-motor-shield/library-install library] is available for download.
    5252
    53 The motor shields are based on the [http://www.rakeshmondal.info/L293D-Motor-Driver L293D motor driver].  The L293D is an integrated circuit (IC) designed for DC motor control made by Texas Instruments; you can see the datasheet [http://www.ti.com/lit/ds/symlink/l293.pdf here].  The L293D allows the 5v outputs of your Arduino to control the flow of electricity to motors up to 36v and 600mA (with suitable heat sink).  We use the L293D shields because they are very inexpensive, however they use BJT technology, not MOSFETs so they can easily overheat. 
     53The motor shields are based on the [http://www.rakeshmondal.info/L293D-Motor-Driver L293D motor driver].  The L293D is an integrated circuit (IC) designed for DC motor control made by Texas Instruments; you can see the datasheet [http://www.ti.com/lit/ds/symlink/l293.pdf here].  The L293D allows the 5v outputs of your Arduino to control the flow of electricity to motors up to 36v and 600mA (with suitable heat sink).  We use the L293D shields because they are very inexpensive, however they use BJT technology, not MOSFETs so they can easily overheat.  An easy upgrade to the motor shields we have is to replace the socketed L293D chips with a more modern TI [http://www.ti.com/lit/ds/symlink/sn754410.pdf SN754110] (available [https://store.ti.com/SN754410NE.aspx here]) which can supply more current (see [http://webbot.org.uk/WebbotLibDocs2/44212.html here].  Note that for either chip, if running at high current, it would probably be a good idea to attach a heat sink to the package using thermally conductive glue to help with dissipation.
    5454
    5555**Exercise**: Connect a motor shield to an arduino and use it to control the speed and direction of one of the mini-bot gear motors.  If your USB port can't power the motor (very possible), use an AA battery pack (see a mentor) to provide a separate power source for the motors via the motor shield power connections.