It is currently Thu Feb 27, 2020 6:36 pm
       


All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: RA1-PRO V3 servo power problem
PostPosted: Tue Feb 04, 2014 3:15 pm 
Offline
New User

Joined: Tue Feb 04, 2014 2:49 pm
Posts: 1
I have a problem with my RA1-PRO V3 robot arm. When I start the calibration routine from the selftest programm the second blue led lights up and some text appears on the terminal. Shortly after the program stops responding and the fourth led starts blinking. I write some code to test if the servo's are powering up correctly:

Code:
unsigned char pattern = 0x01;                        

int main(void)
{
   initRobotBase();          
                        
   writeString_P("Servo power test programm started\n");
   
   Servo_Power_And_Start();   
   writeString_P("Servo's powered on\n");
   
   setLEDs(pattern);
   mSleep(1000);
   
   for(int i=0; i<4; i++)
   {
      if(i==3)
      {
         Power_Off_Servos();
         writeString_P("Servo's powerd off\n");
      }
      
      pattern = pattern << 1;
      setLEDs(pattern);
      mSleep(1000);
   }
   
   while(1);
}


The program stops after the text: "Servo's powered on" appears on the terminal window, then a running light should started and after that the servo's must powered off. But again the fourth led starts flashing. It seems like the controller resets automatically everytime the servo's are powered up ? Is this a power problem or something else, I use a 12Vdc adaptor.

Update

I just found that when the USB to UART adaptor is not connected the problems are gone, the above program works like it should be.


Top
 Profile E-mail  
 
 Post subject: Re: RA1-PRO V3 servo power problem
PostPosted: Thu Feb 06, 2014 8:35 pm 
Offline
Administrator
User avatar

Joined: Fri Mar 25, 2005 6:19 pm
Posts: 1633
Location: NRW
Hello,

you could try a different power supply to rule that out. But if this:

Quote:
I just found that when the USB to UART adaptor is not connected the problems are gone, the above program works like it should be.


is true, then it could be a damaged USB Interface which causes issues - hard to say without a detail check.
Does something get hot when it is plugged in?
(the small linear voltage regulator close to the Microcontroller or the USB Interface itself )

Best Regards,
SlyD


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group