Disha Karnataki
Full Member level 5
- Joined
- Jul 20, 2013
- Messages
- 249
- Helped
- 9
- Reputation
- 18
- Reaction score
- 8
- Trophy points
- 18
- Location
- india
- Activity points
- 2,231
i actually ordered for 9v motor & it indeed runs on 9v & above (not on 3v).Your motor is designed to be powered from only 3V (on its label) so why did you try 9V and 18V?
no this is unlikely to have had happened because:The maximum allowed output current of the L293 is only 1A so your motor with no maximum current spec probably overloaded and blew up your L293 IC.
i actually ordered for 9v motor & it indeed runs on 9v & above (not on 3v).
Then why did you post the photo of a 3V motor?
Your photos of motors do not say how much current they use. The maximum allowed current from the L293 is only 1A.i connected .... 18v supply to L293DNE and then connected 12v motors like this one:....
they ran properly not a problem so the ic is in good condition. But, the motors (in previous post image shown) could not run even after giving proper supply across them.
You do not know how much current the original motors use so maybe they overloaded the L293. Maybe you are lucky that the L293 did not burn out.
first of all you did not read my #1 post properly..Maybe you and your Arduino do not understand that for the motor to run then the inputs and outputs of the L293 must be opposite, one is high and the other is low then the motor will have voltage across it.
For the motor connected to pins 3 and 6 the inputs pin 2 and pin 7 must have one input high and the other input must be low.
yes you are correct these are actual readings i had to mention it in more elaborate way.. i apologize....Your first post has a link that does not work and it is confusing when you said you used an 18V battery and also tried 9V. You said you had 9V across the motor? That is impossible. With an 18V supply the motor should have about 15.4V across it, not 9V. With a 9V supply the motor should have 6.4V across it, not 9V.
i shall post my sub program (made only to run motor)Maybe the program produces PWM which can light an LED but not run a motor.
declaration:
int motorstatehigh=HIGH; //to send 1
int motorstatelow=LOW; //to send 0
const int m1=9; // to pin 2 of driver
const int m2=10; //to pin 7 of driver
const int m3=6; //to pin 15 of driver
const int m4=5; //to pin 10 of driver
///////////////////////////////
initialization:
pinMode(m1, OUTPUT);
pinMode(m2, OUTPUT);
pinMode(m3, OUTPUT);
pinMode(m4, OUTPUT);
////////////////////////////////////////////
code only to run motor:
if(some condition..satisfied) //run motor till condition is true
digitalWrite(m1,motorstatehigh); //making pin 2& 15 of driver ic high
digitalWrite(m3,motorstatehigh);
digitalWrite(m2,motorstatelow); //'' '' pin 7 & 10 of driver ic low
digitalWrite(m4,motorstatelow);
}
It will be simple to remove the microprocessor and replace it with a wire to +5V and another wire to 0V. Then maybe the L293 will make the motor run.
But i already gave you the potential difference created @ pin 3& 6 (for motor 1) & pins 14 & 11 (for motor 2). Without giving voltages @ i/p pin there would have been 0v.You forgot to say the voltages at the inputs of the L293 IC. Maybe the voltages were not opposite then both wires of a motor have the same voltage so of course the motor will not run.
yes i did that too... but no effect.Try 0V at pin 2 and +5V at pin 7 and +5V at pin 16.
yes i did not connect ground of power supply to the ground of supply to my motors i will do that & will let you know.Maybe your logic 0V or 0V of the +5V power supply were not connected to GND.
You also forgot to say the voltages you have at pin 1 and pin 9 so maybe the L293 is turned off. They should be +5V for the motors to run.
yes you see i have mentioned 6v as approx exactly it is 6.4v.Then the motor will have 7.6V - 1.2V= 6.4V.
Maybe your motor runs from 9V but does not run from 6.4V.
noThis is frustrating. Does your 9V motor run when it has 6.4V between its two wires? Please answer yes it runs or no it does not run.
+of 9v to pin 8=0VPlease connect and measure as follows:
1) The + terminal of a 9V battery to pins 8, 16, 1 and 2.
0v to pin 4,5,12 & 13=0.01 to 0.00v2) The 0V of the 9V battery to pins 4, 5, 12, 13 and 7.
V36=V3-V6 = - 7.36V when, motor not connected.3) A 9V/150mA motor to pins 3 and 6.
pin 4 to :Measure and report the voltage to GND (pin 4):
1) Pin 8, pin 3 and pin 6.
2) Did the motor run?
yes i am usingEDIT: Are you using a solderless breadboard? Its contacts or jumper wires might not properly pass the high current of the motor.
no that is not true battery voltage remains =9.43V i.e the supply voltage.I think you are using a cheap old 9V battery that cannot produce any voltage when the motor is connected and the L293 tries to run the motor.
The voltage between pin 3 and pin 6 drops to almost nothing when the motor is connected.
Then maybe the battery voltage also drops to almost nothing when the motor is connected.
i do not agree with this as i told in my prev post i will repeat it:I think you are using a cheap old 9V battery that cannot produce any voltage when the motor is connected and the L293 tries to run the motor.
.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?