Do I need to connect 5V on arduino to the Vss pin (pin 16) on L293D

I am very new to Arduino. I followed a tutorial for L293D + DC motor on youtube where the instructor connected the power supply module (because he said Arduino can't power the DC motor) to the Vs pin (pin 8 ) on the L293D and three digital pin on the Arduino board to the enable, input1 and input2 pins on the L293D. All the grounds are shared. However, if I try the configuration on tinkerCAD, it complains that voltage at enable1 (5v) is higher than voltage at Vcc(0v). The example on tinkerCAD has an extra connection from the 5V pin on the arduino board to Vss pin on L293D. Was the youtube instructor wrong? Would it fry the IC?

Thx.

Here is the diagram from tinkerCAD (I copied somebody’s example, but removed one of the two motors).

How to post an image

As far as I can tell from the datasheet your diagram looks OK.

Just to make you aware. The L293 is ancient and inefficient technology. It will waste 2 to 4 volts of the motor power supply as heat. That is a big liability for battery powered projects. Modern motor drivers have MOSFET outputs that are much more efficient. Pololu has a good line of inexpensive motor drivers*. And Pololu has good tutorial pages for each driver.

  • The same drivers are also available elsewhere.

PerryBebbington:
As far as I can tell from the datasheet your diagram looks OK.

Thanks for the tip to post image. :slight_smile:

The Youtube tutorial lacks the red wire going from 5V and pin 16. If I removed that wire, tinkerCAD showed an error. However, it seems to work for the youtuber for some reason. Here is the link to the video Arduino Tutorial 37: Understanding How to Control DC Motors in Projects - YouTube I have been following him a lot, but now I am worried.

groundFungus:
Just to make you aware. The L293 is ancient and inefficient technology. It will waste 2 to 4 volts of the motor power supply as heat. That is a big liability for battery powered projects. Modern motor drivers have MOSFET outputs that are much more efficient. Pololu has a good line of inexpensive motor drivers*. And Pololu has good tutorial pages for each driver.

  • The same drivers are also available elsewhere.

Thanks for info. I just started with Arduino and the L293D came with the starter kit. I am nowhere close to make any real projects. :slight_smile: