Let's Make Robots!

Motor Controller Board

Well I've almost had 3 weeks offline and got a ton of thinking done.  The physical design is basically the same, going to use a PicAxe 14M to control four DC motors with two L293Ds. The picaxe will be optically isolated from the arduino, so if the motors, an IC or a wire shorts out and decides it doesn't want to go alone that it doesn't have the arduino as an option as a buddy in IC heaven or hell.

Basically, the arduino will send a message to the opto-isolated picaxe, then the picaxe will decode the message getting the data it needs to set the direction and speed of the four motors. This is a very simplified explanation of what will happen.

 So far I have 7805 portion up and running so there is power to the picaxe and to the 595, the program/input selector will be 50% complete when I finish up the picaxe programmer circuit tonight. On the 595, a resistor needs to be moved from the ground pin to Q7, the ground pin needs  to be wired to ground and then will have the comm pins to attach to the picaxe. I hope to get that portion done tonight, then I'd be about 20% done on the hardware portion. Having the programmer circuit done and the picaxe connected to the 595 would be an awesome accomplishment tonight.

So far just the 7805 portion done, so it has power, woot!!

Mech out 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
I figured I was making it too complex, so put it away for the night and started fresh today. I've been going over the datasheet again and again till it did click. I got some coding done today which looks like it should work. See the update for more.

All that is left physically is the optical isolation circuit and the rest of the L293Ds hooked up to the terminals.  I've started working on the programming aspect of it, which is cool.



Well got the comm pins wired on the 595 and the PicAxe 14M. Just need to get the L293Ds inputs connected to the 595 and then can get some programming and check my work so far. Hopefully, there isn't much to repair.  

Tonight's goal is quite simple, connect the power wires to the 7805 circuit and connect pins 11, 12 and 14 to digital outputs on the picaxe. Sounds simple right? We shall see. If all goes well, I may connect the 595 to the L293Ds. Right now just taking things slow and making sure I do everything right.


So far I've gotten the Programmer portion and the part of the picaxe wired up. Having to work on the 595 a bit, got the resistors soldered in, but it needs power. ground and the 3 comm lines hooked up. It's a slow but sure process. I think I'm going to finish soldering up the PicAxe first so I can do some programming. Once all the connections for the Picaxe and 595 are done, the board is just about complete, except for adding power and connecting to the motors on the L293D's and the installing the opto-isolators.

Btw, I have the replacement chip for my arduino Duem.  This is primarily a place to log my mistakes, victories, ideas and rants, so feel free to comment on it all.

Okay, I've not played around with the Picaxe series before so a bit leary about using it. I should be more concerned with my schematic reading skills though. Got the resistors wired to the wrong pins on the selector. So going to desolder and see what can be salvaged. Then will try again...gotta love da bots!