SparkFun Electronics Commentsurn:uuid:214d0e4e-f1b1-d287-ce26-ac5b4c9f82492015-03-31T14:52:24-06:00SparkFun ElectronicsCustomer #588332 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #588332urn:uuid:c9040ecf-3d26-1873-9510-523fa91428972014-11-15T01:49:05-07:00<p>Really geat project</p>Customer #513365 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #513365urn:uuid:f3720978-0c5b-b8fe-9a03-c335c592c4682014-01-25T21:32:28-07:00<p>The motor was likely still spinning under momentum, turning it into a generator. If it was a permanent magnet motor. So feeding opposite voltage to reverse it probably spiked the current. Try using the brake function to bring motor to a full stop before switching direction.</p>AndrewF on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeAndrewFurn:uuid:8a726148-17d9-8c85-de3a-e7d433bb21642013-12-31T22:03:35-07:00<p>I was quite impressed with this driver&hellip; until&hellip; I switched from one of the little gear head motors to a window &ldquo;regulator&rdquo; motor (the gear head motor that drives a car window up and down). I tested the motor beforehand. Under load (nearly stalled) it draws a little over 1A.</p>
<p>I had the CS enable while I was using it and the current never went over 1A. However, when I reversed the direction of the motor I got a pop and the magic smoke came out&hellip; The L298 literally exploded.</p>
<p>I&rsquo;m assuming this is a back fly-back problem? Can someone confirm? How can I avoid this? I thought this board had the right diodes on board.</p>Customer #16335 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #16335urn:uuid:f1293a95-2ff4-5172-aee5-5076a65037032013-12-27T10:10:35-07:00<p>All of these L298 based boards are some slight variation of the MFG&rsquo;s suggested circuit in the app notes. The more universal the board is the more it will cost. That is the more features you can use the more parts and jumpers you are going to have. The higher voltage the caps and other parts are to take advantage of the full voltage rating of the L298 the more cost. And you do want to run at a high voltage (24-36 ish), to get speed out of stepper motors for instance. Also I can tell you that &ldquo;cool&rdquo; heat sink is not going to cut it, especially with a stepper motor at of near the full current rating. Standby current reduction is a really good feature to implement to keep the heat down on these. I have a board that implements most of this parts features I did for a work project, but I never thought about selling any copies because they would be too expensive for most folks. Pick the one that covers your needs. And &ldquo;stall current&rdquo; is really not a consideration, these limit current to what ever you set up. Up to 2A an output.</p>Customer #444640 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #444640urn:uuid:5a8f59e8-508f-8abe-8a53-ddeb8c3d06e42013-06-12T11:02:55-06:00<p>how much stall current can this take without damage?</p>Randerson on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeRandersonurn:uuid:dd7f5bba-a513-db57-1194-6a156082959f2013-04-03T23:53:39-06:00<p>I was on the L298N product page and somebody asked the same question. The answer was yes, the inquirer made note of sending pwm to enable pins. PWM to enable pins seems more reasonable to me. Can anyone verify?</p>Poita on ROB-09670 - Motor Driver 2A Dual L298 H-BridgePoitaurn:uuid:0249bef7-dfa4-33f4-51c8-7a8f3413c5982013-02-05T22:11:35-07:00<p>Bought a couple of these to evaluate for some autonomous robot kits. To be honest I was a bit disappointed.</p>
<p>Firstly on the plus side:</p>
<ol>
<li><p>The 5V output, direction LEDs and current monitoring features are very helpful.</p></li>
<li><p>The heatsink on the L298 is good and looks cool :)</p></li>
</ol>
<p>BUT I would like to provide some feedback&hellip;</p>
<ol>
<li><p>The assembly quality was appalling. I have seen high school students with better soldering and the components were mounted really badly.</p></li>
<li><p>Unless the PCB is made with 2oz copper I would have little faith that the tracks for the motors could handle the specified 2A for any extended time. They would probably do the job but there is plenty of room to make them wider.</p></li>
<li><p>If you are using say 12V motors, the 5V regulator will NEED a heatsink to put out 1A (7W). Even if you are using 6V motors, that will result in 1W which is doable but at approx. 65deg/W a heatsink is still recommended. With a 35V input at 1A the regulator will be dissipating 30W!!!! So the claim of 6-35V input with up to 5V 1A output is misleading at best. Biggest problem here is you can&rsquo;t physically fit a heatsink on the regulator due to the two 3W resistors being in the way, so you will never be able to get that 5V at 1A.</p></li>
</ol>
<p>So yes it is a reasonably priced kit, yes it has some decent functionality, if that is all you are concerned about, go for it. But I think the specifications are misleading and the overall quality disappointing.
We ended up spending the time and money to develop our own with all of the above short comings addressed using the SMD version of the L298 and a 25W 5V output.</p>Customer #393856 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #393856urn:uuid:9b4c359d-7d38-1e7f-4306-6b83d43640d02012-12-30T11:31:29-07:00<p>This one looks like its built very solidly, comparatively speaking to one i recently purchased, namely https://solarbotics.com/product/39290/</p>
<p>The one i purchased overheats the L298 socket in about 20 seconds causing shutdown. (I am running a 12V, 1A Nema-14 Stepper Motor with it, well within the recommended guidelines), Alright, lets go find a heatsink. So i find one off an old motherboard I have lying around the house, drill a hole thru it, and mount the sucker on the shield. Then I glanced at where I have to hook in the Power Wires. sadly I now have to redrill a new hole, and mount this heat shield way off center, and its going to look like &hellip; now, all because the power terminals are right where this heat sink needs to be.
Point of it is, this model looks a complete product, not one you have to F with just to get it to work.</p>RickLoos on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeRickLoosurn:uuid:bf8d0d93-c7b8-82c2-d79e-cb0571c0fac22012-10-18T14:45:41-06:00<p>Can this board easily be used with one of my grandson&rsquo;s k'nex 3v motors? Or the Arduino version?</p>Customer #265128 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #265128urn:uuid:b39505fb-6448-c851-e176-c1236f650f9e2012-09-15T18:10:17-06:00<p>can someone help me.I am new in this.i bought this Motor Driver 2A Dual L298 H-Bridge.i want to build something like barn-door tracker with stepper motor.I just want to know can i use this motor driver for driving the motor? what kind of motor would be suitable for this.i googled quite a lot but confused.do i need to buy that arduino controller? kindly suggest the stuff i need to build this.</p>Customer #341875 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #341875urn:uuid:fe323bdf-cf32-801a-8566-77b9f63bbb692012-07-31T16:48:09-06:00<p>igain- Have you had any success in running in bridge mode?
I&rsquo;m looking for the same information! Anybody?
jwax@nycap.rr.com
Thanks!</p>Customer #335615 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #335615urn:uuid:aeda013a-05f3-39ca-55b3-aeb1e9c320962012-07-25T20:35:51-06:00<p>Any examples of using the current sense outputs with an Arduino? I want to be able to sense a stall and to perform actions such as stopping and reversing.</p>
<p>*update
It wasn&rsquo;t easy to find, but here&rsquo;s an <a href="http://www.dustynrobots.com/news/digital-signal-processing-and-filtering-motor-current-sensing/" rel="nofollow" >example</a>.</p>Kristoffer on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeKristofferurn:uuid:14efee24-487d-c9a0-a782-b497627228322012-06-04T02:17:47-06:00<p>Hi</p>
<p>I&rsquo;m using a Netduino and the output is only 3.3V, would that be enough to set the &ldquo;IN1&rdquo;, &ldquo;IN2&rdquo;, &ldquo;ENA&rdquo;&hellip;etc. to high? Or must it be 5V, similar to what an Arduino output provides?</p>chimpfunkz on ROB-09670 - Motor Driver 2A Dual L298 H-Bridgechimpfunkzurn:uuid:d2c08e70-1480-514c-69b1-11827ac7ffad2012-01-06T23:13:27-07:00<p>I would like to get some more information:
what is the exact wiring for arduino (Which inputs go to digital I/O, which go to PWM) and is it possible to control the speed of the motors (variable speed)</p>
<p>Thanks for all the help!</p>tonio4001 on ROB-09670 - Motor Driver 2A Dual L298 H-Bridgetonio4001urn:uuid:0d2c6e31-f8ac-7f98-6481-fbc8281389c92012-01-03T02:08:21-07:00<p>Hello, what is the header can I take to connect this board with an arduino please ?</p>Customer #238439 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #238439urn:uuid:e3c20aa0-eedc-80ba-64e2-e0db706031422012-01-01T17:14:30-07:00<p>http://www.youtube.com/watch?v=gyWYHzohguY&amp;list=UUqYpQWY5T2Xg49YRLLStrDw&amp;index=1&amp;feature=plcp</p>
<p>This is the l298 running a small dc motor through my arduino mega 2560 :) simply using digital and analogWrite functions. :)</p>
<p>(Im still new to all this so i was happy to get this working ) :)</p>
<p>Thanks for an awesome motor driver Sparkfun!</p>MelPogi on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeMelPogiurn:uuid:938b7bf9-2f39-27e3-6c8f-a254f80327fd2011-11-27T03:21:37-07:00<p>Can I control this with a PWM signal thru the IN pins?</p>Customer #257408 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #257408urn:uuid:5a6d25b9-1cd7-2026-4703-6ca48fa4d47e2011-10-16T17:17:33-06:00<p>Is this motor driver is compatible with arduino mega 2560? Is this similar to motor controller so it can drive two motors at same speed (same RPM)?</p>pstemari on ROB-09670 - Motor Driver 2A Dual L298 H-Bridgepstemariurn:uuid:2a874266-3abf-f766-7431-19abdd54c74b2011-08-03T09:24:10-06:00<p>Schottkys provide better back EMF protection than 1N4007 power diodes. Switching time is much faster. Looking at the Motorola datasheet at http://www.rose-hulman.edu/~herniter/Rose_Classes/ECE250/notes/ECE250 Diode Switching Speed.pdf, 1N4007&rsquo;s have about 5 us recovery time and 1N4001-5&rsquo;s have about 3 us. You can swap in 1N5819&rsquo;s for the 1N5818&rsquo;s if you need 35V operation.</p>Customer #229169 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #229169urn:uuid:342f652c-ef92-7813-ce64-58dfde624e102011-06-17T09:58:40-06:00<p>Hi guys, newbie here. Ordered this as well as an Arduino Uno and Tamiya dual gearbox. Will I be ok driving the motors with this setup? Should I look out for anything? Should I just walk away slowly? Have experience with Arduino&rsquo;s and servos, just never touched DC motors. :Op Any help would be so greatly appreciated as I&rsquo;d hate to fry any of the above items. Regards, Marco</p>IllogicGate on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeIllogicGateurn:uuid:07356ba2-89bf-83f6-ea60-203a7cb59b562011-02-24T11:34:57-07:00<p>Schematic please??? For the cause???</p>NeoPhyx on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeNeoPhyxurn:uuid:650476ee-e9db-7035-3bef-bdbf6e78c1322011-02-22T08:55:11-07:00<p>Amazing..it&rsquo;s actually less expensive to buy this here than it is from CanaKits themselves. AND I&rsquo;m in Canada! They sell this for $39, so it&rsquo;s $5 more expensive from the source! Then because I&rsquo;m buying from Canada I have to pay 15% sales tax which brings it to almost $45. Then the shipping is another $18. So all together it&rsquo;s $63 dollars to buy it from CanaKit and have it shipped within the same country.<br/>
Now, if I buy it from Boulder, CO. It&rsquo;s only $34.39 CDN. Plus another $9 for the shipping. Under $44.<br/>
I like saving $20. Thanks Sparkfun.</p>holyjewsus on ROB-09670 - Motor Driver 2A Dual L298 H-Bridgeholyjewsusurn:uuid:f0e67a42-2d85-be19-62a2-23bdbcdcdd782011-01-14T16:08:07-07:00<p>Is it correct to assume that motor speed can be controlled with a pwm signal on the IN pins?<br/>
Possibly from an rc servo tester attached to the 5volt output?<br/>
or pulse the enable pins?</p>Customer #75914 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeCustomer #75914urn:uuid:b18fdd39-ca56-ddf7-6a14-af35be649fca2011-01-06T00:31:14-07:00<p>My application works fine. A picaxe 20x2 controls the board which drives a modified electric screw driver gear motor at 6 volts 1.6 amps and a 12 volts worm drive motor. I pulse the screw driver motor to control the speed.<br/>
One problem, when the battery is connected backwards, the board smokes, bummer, I sure hope I have some spare chips.</p>RLovelock on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeRLovelockurn:uuid:6095db95-e9be-f1d4-c4f6-11b2d8cd9fd92011-01-03T06:00:55-07:00<p>Indeed you can :)</p>Jesse2 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeJesse2urn:uuid:9b3f011e-dc01-baab-e337-66d6c6c0d1bb2010-12-26T12:03:19-07:00<p>Can you supply the 6-35 VDC power to the motor driver and then power your microcontroller through the regulated 5v out on the motor driver?</p>Exonerd on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeExonerdurn:uuid:bcc7618c-e415-6361-557a-ca3b3c18b8342010-12-13T16:29:06-07:00<p>In case any Solarbotics folks come back on here: I love your kit! I DID manage to overload it though&hellip;Ill be getting another :)&lt;br /><br/>
&lt;br /><br/>
[FYI: When I last wrote SB about getting more spacing for 4-40 screw heads, they said the newer version of the kit should take care of it.]</p>Andres_Ramos on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeAndres_Ramosurn:uuid:a1bbbe8d-6bd9-6b67-12a5-d69b5f8b33db2010-11-19T06:49:10-07:00<p>Well it&rsquo;s kinda late response, but yes it can be used to drive bipolar stepper, just attach a coil to each pair of outputs, and feed this with a proper inputs</p>igaln on ROB-09670 - Motor Driver 2A Dual L298 H-Bridgeigalnurn:uuid:1049274c-156d-e11a-079a-affa1366b1112010-11-13T17:57:58-07:00<p>does anyone have any documentation on running this controller in bridged mode for using 4A ?</p>Wolfy on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeWolfyurn:uuid:79dae6b6-454a-04c7-71d9-da56ec7140d42010-10-19T15:11:17-06:00<p>Can this be used to drive the coils on a bipolar stepper?</p>RobertC. on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeRobertC.urn:uuid:8e71ca0a-a778-1389-589f-08573833309e2010-06-09T07:50:34-06:00<p>Nice job! Great project.</p>tehjrow on ROB-09670 - Motor Driver 2A Dual L298 H-Bridgetehjrowurn:uuid:7d5a690c-02bb-429b-3d05-3092c55aee2a2010-06-09T06:41:29-06:00<p>I just got mine and I love this thing. It&rsquo;s so easy to use. Never having used a motor driver before I&rsquo;m blown away by how cool this thing is. I&rsquo;m using it in this project (RFID door unlocker).<br/>
<a href="http://jrowarduino.blogspot.com/" rel="nofollow" >http://jrowarduino.blogspot.com/</a></p>MARVELO on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeMARVELOurn:uuid:6a3c1852-82aa-8d09-7eb3-4a33d111568a2010-04-11T15:15:45-06:00<p>I bought one of those a while ago.<br/>
but it seems that I can&rsquo;t test my pic program without connecting motors to the board&hellip;<br/>
without the motors &hellip; LEDs are functionning well ..can anyone tells me why.. ??</p>ncabalos on ROB-09670 - Motor Driver 2A Dual L298 H-Bridgencabalosurn:uuid:1a2cc533-a7cf-4a12-de68-0654541ea82f2010-04-06T11:47:25-06:00<p>Does anyone have the measurements for the distances between the mounting holes? Thanks!</p>Solarbotics Ltd. on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeSolarbotics Ltd.urn:uuid:c080962c-6f05-1cbb-7666-bcf1fefee6492010-03-17T09:55:02-06:00<p>Some good critical feedback on our KCMD, Nate. I didn&rsquo;t notice the low 30V voltage diodes in that design - that&rsquo;ll be corrected immediately. Will have to investigate a heatsink for it too as an option for those pushing the thermal limits.<br/>
Thanks again,<br/>
Dave</p>BRuTuS on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeBRuTuSurn:uuid:751420e1-06ea-89ea-34d9-21510e3e507d2010-03-13T22:20:10-07:00<p>I don&rsquo;t want to add fuel, but Its hard not to compare this &amp; the Solarbotics version and not notice how close the two are. There are differences; but compare with open eyes.<br/>
If the guys at Solarbotics created a v2.0 with these same additions, everyone would jump on it as a clone, and I think the same should be said in reverse.<br/>
Carbon Film resistors - the SB version doesn&rsquo;t use current monitoring - the resistors are there to limit LED current and to tie enable pins high.<br/>
30V Diodes - yep, this is what they are. Standard 5818 diodes - substitutable with 1N4007 if preferred for the 1000V reverse breakdown voltage. (Hobby robotics I seriously doubt run any risk of popping those diodes. They are only there for Back-EMF<br/>
Bigger - allows for standoffs. The SB is labeled as &lsquo;Compact Motor Driver&rsquo; - size is a consideration.<br/>
We use the SB version in my robotics club and love it. I think Cana-kit could have given a nod in their direction as inspiration - at the very least.</p>Nate on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeNateurn:uuid:7ae1b9ea-946a-ae77-36cd-b6e969d732232010-03-11T09:58:31-07:00<p>Rude? Not at all! We appreciate savvy customers. Solarbotics rocks and so does their kit but:<br/>
1) This is a fully assembled/tested unit vs the kit from Solarbotics.<br/>
2) This board includes heat sink for L298. You won&rsquo;t get 4As out of the L298 without it. It&rsquo;s gold - which is just cool.<br/>
3) Canakit uses precision cement high-power current sense resistors allow for full 4A operation. Overkill, but covers full range of operation. Solarbotics doesn&rsquo;t use the current sense feature.<br/>
4) This board uses 1000V diodes where Solarbotics uses 30V. Again, possibly overkill, but you could easily pop the Solarbotics board at the full 35V motor load. No way their board will go up to 50V (as they advertise).<br/>
5) This board is bigger, allows for standoffs. Solarbotics board doesn&rsquo;t look like you can get screw heads on there. It&rsquo;s so small you probably won&rsquo;t be able to mount it.<br/>
So if you&rsquo;re proficient with an iron, and running no more than ~12V and about 1A, the Solarbotics kit is the way to go. If you need more power (who doesn&rsquo;t?) you should consider this board.</p>Surge311 on ROB-09670 - Motor Driver 2A Dual L298 H-BridgeSurge311urn:uuid:efaa4f16-7b44-4a91-19cb-ba6702e6637d2010-03-05T14:11:30-07:00<p>I dont want to sound rude&hellip; but this is a complete rip. you can buy an equivalent motor driver based off the l298 for half the price at a bunch of other places&hellip;<br/>
Solarbotics for example, has one that also provides a regulated 5v out:<br/>
<a href="http://www.solarbotics.com/products/k_cmd/" rel="nofollow" >http://www.solarbotics.com/products/k_cmd/</a></p>