I'm powering the motor with a power supply (+5V) to pin 8 of the L293D. And the IC itself with the +5V of the arduino (to pin 16).The code in the arduino make the motor rotate continuously. But, if I unplug the power supply for the motor, it still rotates! Why? I suppose that if there is no voltage in pin 8 (Vs) it uses the voltage in the pin 16 (Vss). In that case this is something not to do, I suppose...
So if I want to switch off the motors I should disconnect the 5V in the pin 16 (the logic part). Or better bring low the enable signals.What is correct?
Bring the enable signals low.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16