l293D ic wiring with arduino

Hello everyone,
I am using an l293D to control an 24v DC motor
The datasheet says max supply in pin 8 is 36v
My question is when i put the positive 24v wire in pin 8
Where to put the ground wire in the GND of the l293d or
I should put it in the GND of arduino?
Notice: i am using a stabilized voltage supply
Thank you in advance

Hi,
you should connect the ground wire from the battery(24v) you are using to power the motor(s) to GND of L293D. Here are the connections just for reference:

  1. Pins: 1,9,16 to 5v
  2. Pins: 3,6 to motor 'a'
  3. Pins: 14,11 to motor 'b'
  4. Pins: 4,5,13,12 to GND
  5. Pins: 2,7 are used to control motor 'a' and should be connected to Arduino
  6. Pins: 15,10 are used to control motor 'b' and should be connected to Arduino
  7. Pin 8 should be connected to the positive lead of the battery that will be used to power the motor(s). The negative terminal of the battery(the battery used to power the motors) should be connected to GND of L293D.

Connect the GND of both the batteries(the one that supplies 5v and the one that supplies the voltage to the motors) together and connect them to the L293D(pins:4,5,13,12). In other words, you must have a common ground(connect all ground together).

You can also control the speed of the motors by giving PWM to their respective enable pins but just connect them to 5v to get maximum output from motors.

Sorry if i typed too much. Have fun and good luck with your project! :):slight_smile:

Hi,

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.... Tom... :slight_smile:

TomGeorge:
Can you please post a copy of your circuit

OP's actually asking for a circuit.

zirus109:
My question is when i put the positive 24v wire in pin 8
Where to put the ground wire in the GND of the l293d or
I should put it in the GND of arduino?

Motor works
Thank you suersaiyangod and don't be sorry :slight_smile:
Thank you TomGeorge , you are always here for help
Thank you all