Files
Robotics/YAAARC/Y2MD/Y2MDinstructions.html
2021-01-22 15:08:45 -05:00

66 lines
3.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Y2MD Instructions</title>
</head>
<body>
<center>
<h2>Y2MD Instructions</h2>
<br>
<b>(YAAARC 2 Motor Driver)</b>
</center>
<h3>Introduction</h3>
Y2MD allows you to easily control motors with logic-level signals from your CPU. It is intended to make building robots easier. Key features are:
<ul>
<li>Controls two DC motors</li>
<li>Rorward and reverse operation of each independently</li>
<li>Supports pulse width modulation (PWM) for speed control</li>
<li>Up to 2 amps per motor</li>
<li>12 to 46 volts motor supply, 5 volt logic supply</li>
<li>Automatic thermal protection in case of overload</li>
<li>Small size (less than 2x2x2")</li>
<li>Under $30 cost</li>
<li>Can also be used to drive stepper motors</li>
</ul>
<h3>Before you build:</h3>
<ul>
<li>The LEDs are optional. They are just debugging indicators</li>
<li>Choose R6 depending upon motor supply voltage, or omit D6, the motor supply indicator LED. Use 400 ohms or more for 12 volt supply. 1K works well.</li>
<li>If you're going to use the optional current sending, bend up the two end leads (pin numbers 1 and 15) of the L298 and don't solder them to the board. Instead solder them to your current sensing resistors, and solder the other to the spare pads near the YAAARC legend. Choose the resistors so the maximum drop across the resister is less than 2 volts. Connect your "sense" leads to the junction of the resistor and the L298.</li>
</ul>
<h3>Assembly notes:</h3>
<ul>
<li>The apparent solder bridge between pins 11 and 12 of the 74HC14 is actually a trace. Don't panic.</li>
<li>For the 8 clamp diodes, make a "U" bend in the lead from the banded end of the diode body. This lead goes in the square hole. If you get any diodes in backwards, you will short out the Vs power supply.</li>
<li>If you are installing LEDs, determine which lead should be positive for the LED to work, and orient the LEDs according to the "map" of the board.</li>
</ul>
<h3>Installation and Hookup:</h3>
<ul>
<li>See the drawings for hookup information</li>
<li>Y2MD requires +5V from the CPU connector. (J1, 10 pin header)</li>
<li>Motor power (Vs)input and ground are on the output screw terminal strip.</li>
<li>Motor ground and CPU ground are common, and are connected to the heatsink.</li>
<li>If all LEDs are installed, with 220 ohm resistors, draw on Vcc (+5) could be 100ma. Omit the LEDs or use 1K resisters, 1206 size, for low-power applications.</li>
</ul>
<h3>Use:</h3>
<p>
Your CPU should set the direction bit high or low for a motor, and set the enable bit high to turn on the motor. Sequence is not critical -- you can change directionss without turning the motor off, etc.
<p>
Unused inputs (direction and enable) should be tied to ground or Vcc. Current draw will be lower if enable is grounded.
<p>
PWM can be done by toggling enable. Max PWM frequency is 25khz.
<p>
If the L298 gets hot, it will automatically reduce motor current to protect itself. It seems pretty bulletproof so far. Keep those robots rolling!
<p>
Y2MD was created for the Ypsilanti Ann Arbor Area Robotics Club (YAAARC) by Erik Kauppi, 01-01-96. Send e-mail to erik@hamjudo.com if you have questions.
<hr>
Updated by Neal Probert for the web.
<address><a href="mailto:neal@probestar.com">Neal Probert</a></address>
<!-- Created: Sun May 6 17:18:30 EDT 2001 -->
<!-- hhmts start -->
Last modified: Sun May 6 18:02:23 EDT 2001
<!-- hhmts end -->
</body>
</html>