Arduino Motor Control

Hello Arduino Forum, this is my first topic.

I am using an Arduino UNO board with a L293DNE motor control IC and a 6V power supply. The problem I am facing is that when I instruct my arduino with a IR remote to move the motor (Digital pin 9 to high and digital pin 10 to low) then though it powers the motor but because f a heavy load on the motor, it is not able to turn. When such happens, my arduino software hangs and is not able to execute other code. Please help me..

Thanks a lot in advance

I haven't used that chip so can't give you any direct help with it, but you could set up a Watchdog timer

http://tushev.org/articles/electronics/48-arduino-and-watchdog-timer

and have your Arduino reboot itself if it locks up.

Thank You Sir... Thanks a lot..

I just want to inform you that I am building a car controlled on IR signals.. when the 2 digital pins get high and low, the motor is powered but if the motor is not able to turn then the arduino stops responding to the IR signals until the motor turns. I also placed a timer interrupt to set the digital pins to low to reset the motor, but it does not help... So i am not sure as to if the software is hanging or some circuit related problem is there like back emf.. But I have less idea on the circuit side.

Thankyou

Hi,
Its likely that you circuit does not have enough power, watch this, its what is happening to your Arduino -

This will also give you some background, it applies to servos but the approach to power is just as relevant to motors -

Duane B

rcarduino.blogspot.com

Thank you Sir.. I arranged 2 voltage sources. one for arduino and the other for the motor controlling IC and it worked.. Thankyou