lm293d

Hey guys i am trying to control a motor with l293D.

I have used this before and worked properly. I don't know why but now there is some problem. After all the connections are made there is a positive current on all the output pins. And i cannot change the signal with the input pins.

CONNECTIONS:
pins 1,8,9,16 to VCC
pins 4,5,12,13 to gnd
pins 3,6 to motor

also the i am sure the IC is in good condition as i changed it and tried also.

Hi,

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

Can you please post your code?

Tom... :slight_smile:

PROBOT135:
CONNECTIONS:

I miss reference to a separate power supply for the motor in question here.

I don't have a picture available but i will try to explain it best.
also I didn't understand about the vc and vcc pins.

Connections:

7v power supply connected to pin 1,8,9,16 directly
GND of the power supply connected to 4,5,12,13

Motor terminals connected to 3 and 6

Input pins (2 and 7) connected to pins 9 and 10 of arduino.

This is the circuit

Pin 8 is +4.5-36V motor power (mind that your motor sees about 2V less than this - that's because this is an ancient chip based on BJT technology); pin 16 is +5V logic power.
Pin 1 and 9 are enable inputs, normally 0/+5V.
You connected pin 1, 9 and 16 to +7V, that may damage the chip as those are supposed to get no more than +5V.
Your wiring diagram doesn't show a shared ground between Arduino and the chip.

The LM293 is a dual comparator, are you perhaps using an L293D?
That only supplies 9V to pin 8 and 9, and ground to pin 4 (and maybe 5?).
Pin 2 and Pin 7 on the LM293D are not connected to anything. Same for Pin 3 and Pin 6. The controls from the Arduino are connected to Pin 15 and Pin 10 on the driver chip which will work, but if the 'schematic' you give us doesn't reflect what you have actually wired up then there isn't much point bothering to show it to us.

OH very sorry the chip i am using is l293d. not ln293d

So can anyone send the circuit diagram

BJHenry:
if the 'schematic' you give us doesn't reflect what you have actually wired up then there isn't much point bothering to show it to us.

It's a Fritzing diagram, what do you expect?

OP mentions 7V power, but the diagram shows 9V block battery (which is of course utterly useless for powering motors).

Nonetheless there are enough connection errors in that diagram.