 |
|
 |
| Parallax Forums > Public Forums > Robotics > Question about the H-Bridge in the MSR-1 Controller | Forum Quick Jump
|
      |  GWJax Registered Member

       Date Joined Mar 2008 Total Posts : 262 | Posted 12/23/2009 5:59 PM (GMT -7) |   | OK George, I read your site and you stated that you plan to use 3 of your battery packs, One for the servos and 2 for the motor. With this board you can only input no more than 15v on the J8 [Vin] connector. This will power all your servos and your motor. Another thing is that your motor is only rated MAX at 12vDC. If you apply more than that this will break down the motor faster. I see that your only using Motor A to drive this motor so the code you wrote does not need any code for pin 26 and 27. Now to the fun stuff, using your DMM with the board powered on and the motor on put your ground {Black Lead} to any part of system Ground, your battery lead would be great. Next place the Red Lead on pin 2 of IC U8 which is your L6205 Dual Hbridge chip. Make sure you have the same voltage as your battery that is connected to the board. This is a direct connection. Next check pin 19 of the same chip U8, this voltage should be the same. If you have no voltage here then there is a bad connection from the battery to this chip. Another check if you do not want measure the voltage and risk shorting out your board from a small slip of the hands you can do the same thing using a continuity test. First unplug your battery then turn your power switch on that includes the motor on. Check from the ground pin of your Vin and touch pin 1,8,10,11,13 and 20 on the U8 chip. These connections should be a direct short for the ground. Next move your lead to the Positive end of the Vin and check on U8 pin 2,19 again you should have a direct short if these quick test fail then there is bad solder joint some where on the board or a broken lead line. At this point I would contact Parallax and get an exchange. If all is good then let me know and we'll do more testing to resolve your issues.
Here is a shorten version of your program that works great..
CON _clkmode = xtal1 + pll16x _xinfreq = 5_000_000 PUB Init dira[25..24] := %11 ' Set P24 Through P25 To Output outa[25] :=1 'Start motor A forward waitcnt(clkfreq * 30 + cnt) '30 Second Pause outa[25] :=0 'Stop motor A repeat If a robot has a screw then it must be romoved and hacked into.. | | Back to Top | | |
| Forum Information | Currently it is Thursday, July 29, 2010 5:23 PM (GMT -7) There are a total of 462,441 posts in 62,066 threads. In the last 3 days there were 90 new threads and 802 reply posts. View Active Threads
| | Who's Online | This forum has 20143 registered members. Please welcome our newest member, ME01. 57 Guest(s), 15 Registered Member(s) are currently online. Details John Abshier, Erik Friesen, RossH, Kevin Wood, simpsonmichael1, BradC, David Betz, Julian800, Martin Hodge, RDL2004, Harley, Sapieha, wiresalot, Ravenkallen, Tubular |
Forum powered by dotNetBB v2.42EC SP2.02 dotNetBB © 2000-2010 |
|
|