Two of the pins on the l293d are labeled VS and VSS. Apparently they are both power. Here it shows VS being supplied with 12V, while vss is receiving 5V. Here, it shows both receiving 6V from the same source of 4AAs. What are each of these for? Also, in the second link, he shows wiring to the ground on the arduino, why is that? Wouldn't he be able to do the same by wiring to the negative terminals on the batteries?


1 Answer 1


One is logic power (pin 16 (20 for SMD) at top right,should be 5v or whatever your logic level is), the other is motor power (pin 8 (10 for SMD), bottom left, can be from 4-36v and should be whatever your motor needs).

This means you can run your motors at different voltage, and also isolates power spikes from the motor supply from the logic.

Have a look at the bipolar stepper motor example circuit here: http://www.tigoe.net/pcomp/code/circuits/motors/stepper-motors (The circuit says SN754410NE, that device is just a higher power version of the L293).

  • \$\begingroup\$ Is it necessary to differentiate the two power sources if you have a smoothing capacitor like the one in the second link? Also the l293d only has 16 pins, so by 10 and 20, would you be referencing 8 as 10 and 16 as 20? \$\endgroup\$ Apr 4, 2011 at 23:15
  • \$\begingroup\$ Whoops, the L293 has 16 pins in PDIP. The SMD version is 20 pin. \$\endgroup\$ Apr 5, 2011 at 0:34
  • \$\begingroup\$ If you have well regulated power and you're running your motor at the same level as logic, combining the pins is fine. \$\endgroup\$ Apr 5, 2011 at 0:35
  • \$\begingroup\$ And I am assuming the logic is referring to allowing the l293d to operate. So, could I use a 6V battery pack as the power source for pin 8 and then just wire the 5V from an arduino to the logic? Thank you. \$\endgroup\$ Apr 5, 2011 at 0:41
  • \$\begingroup\$ Also, why does he include the ground rail from the arduino in the circuit? \$\endgroup\$ Apr 5, 2011 at 0:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.