How can I stop servo motor from stalling ?

Status
Not open for further replies.

bianchi77

Advanced Member level 4
Joined
Jun 11, 2009
Messages
1,313
Helped
21
Reputation
44
Reaction score
20
Trophy points
1,318
Location
California
Activity points
9,442
Friends,

How can I stop servo motor from stalling ?
Should I change the driver ? I used ULN2803

Code :
Code:
	output1=1;
	output2=1;
	output3=1;
	output4=1;
	
	//delay(2000);
	//count=14;
	while(1)
	{	
		//motor begin
			count=10;
			 //rotate left every 45 degree begin
				     for(i=0;i<50;i++)  // 10 equal to 5 degree
						{
							output=1;
							timer(count);		 
							output=0;
							timer(100);
							//timer(70);
						}
	                	 delay(30000);
					 
					  
					  
				 //rotate left every 45 degree end
				 //rotate right every 45 degree begin
					   for(i=0;i<50;i++)
						{
							output=0;
							timer(count);		 
							output=1;
							timer(100);
							//timer(70);
						}
						  delay(30000);
					
					
					
                   //rotate right every 45 degree end
		 //motor end
 

I'm under the impression that you forgot to mention the basic facts about your "servo motor" system, e.g. motor type, driver circuit, control method, mechanical setup...
 

I'm under the impression that you forgot to mention the basic facts about your "servo motor" system, e.g. motor type, driver circuit, control method, mechanical setup...

It's MG916 servo motor, I create the servo as an arm, about the circuit
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…