7 - Adapting for your motor

 

I encourage you to try out the other two driving methods: Full Step and Half Step. If you a meter then check out current consumption, see if the L293D gets hot (in which case you might need a heat sink), and look at other ‘Calculators’ on this site to estimate how much torque you might need.

 

My set up requires four output pins on the controller for each motor – which is a bit excessive. This can be halved by using ‘Full Step’ drive/ Looking at the table for this mode

 

T

T + 1

T +2

T + 3

1a

High

High

Low

Low

1b

Low

Low

High

High

2a

Low

High

High

Low

2b

High

Low

Low

High

you will see that the ‘a’ pins are always the opposite of the ‘b’ pins. So if the additional current usage of this configuration is acceptable, or is necessary in order to reduce the controller pins, then you can get away with only having controller pins for 1a and 2a. Then use a TTL inverter chip (they cost next to nothing and come in a package with 6 inverters on one chip) to connect 1a to 1b, and 2a to 2b - you will see an example diagram for this in the datasheet for the L293D I listed earlier.