
robohobo
hello all, im in the process of building my first ez robot and ive realized how much i truly have to learn at once. anyway when i ordered my rover 5 chassis (4 motor w/ encoders model) i opted to go with the dagu 4ch motor driver since it supported the encoders. i now realize that as a beginner wanting to jump in head first this wasnt the best idea. im fairly certain ive figured out how to correctly connect the driver to ez-b and both to my 6v sla power source, but if anyone has a diagram of how to do this properly i would feel more comfortable. my major problem is scripting a custom control panel to drive this thing. i have no clue what im doing and a push in the right direction would be greatly appreciated.
maybe DJ will add this motor controller in a future update? as i understand it ez-robot works very closely with dagu and carrys the rover 5 in store so it seems likely. ill cross my fingers.
I can't see why, especially as the script in the project I set up sets the same on or off and PWM as required. I can only suggest attempting it since it seems to work for @RobertL184
If you can diagram it as a schematic just to ensure everything is as thought that would be great. www.CircuitLab.com is simple to use and free if you don't have any other software or aren't familier with any other. Or ExpressPCB is a free schematic application.
I'm eager to get this set up and working for you. It'll ultimately decide if I go for this controller or the L298 (since this one is out of stock where I was going to get it hence not having it yet).
I hooked up +5V input power on the dagu controller board to the ez-b +5V external power and run power to the ez-b and Dagu controller motor power from the ez-b battery pack. I added a switch to the plus side of the battery pack. The whole thing comes up at once just fine. When I first set it up I used Standard AA batteries. I have since switched to NiMH batteries. Mine has a slight pull to the right over longer distances on a straight course, but this isn't unusual. I'm hoping when ez-b eventually supports encoders to be able to compensate. My brother has the same setup running as well.
Haven't got any input on this yet, but I have a Dagu R5 (4x4) and a Dagu 4channel motor controller arriving next week. I'll try setting it up as per Rich's suggestion, then we can rule out the setup as the problem. (I.E, hardware error or user error)
That'll be great Bill. I've put a project in one of the posts in this topic too to save you having to set all that up.
Super, will get it downloaded. Expecting the dagu and controller to arrive on Tuesday or Wednesday.
Where did you get it Bill? I was after one but it was out of stock when I looked so hung fire on it.
So big news! My original wireing was done with a jumper wire starter pack, and being short on proper sizes I had pieced quiet a few together with different lengths. Today I bought proper lenght jumpers and decided I'd first try rewiring from @Rich s original layout in case the franken-jumpers were to blame. I ran the test project again and to my amazement it worked! Well mostly, the motors now do change directions and the back to the future script did vary the speed ( Pwm sliders also work) but none of the commands stop the motors. The only way I can stop them is to drag the pwm to a very low number, wait a sec, then drag to 0. I don't know still of it was the jumper mess or me messing up but it's much cleaner now and it works! Now how do I stop it?
My Stop Script reads:
PWM(D14,1) sleep(75) PWM(D14,0) set(d14,off)
D14 is the PWM output on my EZ-B that drives the Motor Speed on the DAGU controller.
I have a FWD Script, LEFT Script, Right Script, BACK Script, and a STOP Script.