Further to my instructable 12V NE555 PWM Controller for Under $3 I have designed and built a simple and cheap DC Motor Direction Controller that can either be used with the PWM Controller, for speed control or by itself with a 12V power supply.
I designed this DC Motor Direction Controller so that I could give direction control to DC motors that I am building into mini tools (drill, lathe, table saw, solder smoke extractor, etc.). While, I don’t need direction control for all of the tools that I’m building, it IS necessary for some. Plus, who doesn’t want to spin their DC motor backwards?
The overarching design principles that I’ve used here are:
- Works with my NE555 PWM Controller;
- Works without my NE555 PWM Controller;
- It’s cheap;
- It uses minimum parts; and
- It works
For the direction controller to work with the NE555 PWM Controller, it will take the PWM modified power from that device and modify the polarity of the signal and push it on to the DC Motor. As I mentioned with the NE555 PWM Controller, I’m only interested in a 12V motor.
To achieve this magic, I’m using an L293D Quadruple Half-H Driver, well … I’m using half of one. If you’re interested, the L293D can manage 36V, however, as discussed in my previous instructable, the NE555 PWM Controller (as designed) will handle 18V max. So there’s your upper limit.
The parts list and costing for this instruct able is:
- 1 x LM7805 Voltage Regulator ($0.40)
- 2 x 100 nF electrolytic capacitor ($0.06)
- 2 x 2 pin header ($0.26)
- 1 x 1k ohm resistor ($0.01)
- 1 x SPDT slide switch ($0.05)
- 1 x L293D Quad Half-H Driver ($0.85)
- 1 x 16 pin DIL ($0.35)
- 1 x 50 x 33mm PCB ($0.14)
The prices quoted are for parts purchased from eBay that I’ve accumulated over some time. These prices change over time … so caveat emptor, dude.
Step 1: The Horse Before the Cart
If you are using this with the NE555 PWM Controller, that device comes first. The reason for this is simply that if the LD293D direction controller were first, you’d be switching polarity and THEN feeding it to the NE555 PWM Controller. And that would mean that the polarity would be wrong and the NE555 PWM Controller wouldn’t work when the polarity was reversed.
When designing this circuit, I made a couple of mistakes … such as, I was feeding 12V from the NE555 PWM controller BEFORE it was square waved and feeding that into the 5V regulator. All that happened was that the NE555 PWM Controller rendered itself totally redundant. No, don’t do that!
Another design fault that you will see in the scan of the PCB is that the GND connections for the L293D don’t go anywhere … I had to solder in a jumper under the board to connect to the common GND of the LM7805 to make it do anything (groan!).
Read More: L293D Motor Direction Control for Under $2.20