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.
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.