Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Loss of Serial Comms without Power Supply

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
6 postsPage 1 of 1
6 postsPage 1 of 1

Loss of Serial Comms without Power Supply

Post by whip_tracker_cracker » Sun Apr 26, 2009 1:47 pm

Post by whip_tracker_cracker
Sun Apr 26, 2009 1:47 pm

I have an interesting issue that I thought I'd see if y'all have ever ran into. I've got a serious of cm-5/bioloid kits being used by various students in a lab. All of them have created robot arms in which they run feedback controls through using an external computer. The cm-5 contains a bridge program that takes the serial comms into the cm-5 and translates it to ax-12 language. Anyways, the programs have been working perfect with the wall outlet PSU or on-board charged battery. Recently, I can now only get them to work with the wall outlet PSU. Let me dismay a few things I have checked. Yes the fuses are intact! That was the first thing I checked. The batteries are fully charged and mantain the proper voltage under load. I can operate the robot from my PC and give each motor and angle with the PSU plugged in. If I also have the battery plugged in, I can remove the PSU and the battery has no issus holding the motors still. But my Comms goes away. I've tried this also with the standard robot terminal. I can communicate with the CM-5 only with the PSU and not with just the battery. It seems to be a really strange behavior and it is not just due to one cm-5 but something they all share. I am using a bridge program that is modified off of the program that pedro created as a bridge program. The serial comms are the same, I've just modified extra cases for handing angles, speed, continuous rotation,etc. Any help would be greatly appreciated. I'm planning to run the cm-5 and arm off of mobile robots that control the arm through their serial.
I have an interesting issue that I thought I'd see if y'all have ever ran into. I've got a serious of cm-5/bioloid kits being used by various students in a lab. All of them have created robot arms in which they run feedback controls through using an external computer. The cm-5 contains a bridge program that takes the serial comms into the cm-5 and translates it to ax-12 language. Anyways, the programs have been working perfect with the wall outlet PSU or on-board charged battery. Recently, I can now only get them to work with the wall outlet PSU. Let me dismay a few things I have checked. Yes the fuses are intact! That was the first thing I checked. The batteries are fully charged and mantain the proper voltage under load. I can operate the robot from my PC and give each motor and angle with the PSU plugged in. If I also have the battery plugged in, I can remove the PSU and the battery has no issus holding the motors still. But my Comms goes away. I've tried this also with the standard robot terminal. I can communicate with the CM-5 only with the PSU and not with just the battery. It seems to be a really strange behavior and it is not just due to one cm-5 but something they all share. I am using a bridge program that is modified off of the program that pedro created as a bridge program. The serial comms are the same, I've just modified extra cases for handing angles, speed, continuous rotation,etc. Any help would be greatly appreciated. I'm planning to run the cm-5 and arm off of mobile robots that control the arm through their serial.
whip_tracker_cracker
Newbie
Newbie
Posts: 5
Joined: Thu Jan 08, 2009 7:52 am

Post by i-Bot » Sun Apr 26, 2009 2:22 pm

Post by i-Bot
Sun Apr 26, 2009 2:22 pm

Did you try swapping the cable and any USB serial/ PC interface ? I wonder if you are missing the ground connection which is only made with the PSU.
Did you try swapping the cable and any USB serial/ PC interface ? I wonder if you are missing the ground connection which is only made with the PSU.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by whip_tracker_cracker » Sun Apr 26, 2009 10:35 pm

Post by whip_tracker_cracker
Sun Apr 26, 2009 10:35 pm

i-Bot wrote:Did you try swapping the cable and any USB serial/ PC interface ? I wonder if you are missing the ground connection which is only made with the PSU.


I'm using the serial cable directly into the PC. I've done multiple PC's with Multiple cables. The same effect is prevalent. This makes me wonder if in fact there was an issue with or something up with the serial programming. Again, my serial communication just drops away without the wall outlet PSU. Battery power still works, but I can no longer send the needed commands to change motor angles,etc.
i-Bot wrote:Did you try swapping the cable and any USB serial/ PC interface ? I wonder if you are missing the ground connection which is only made with the PSU.


I'm using the serial cable directly into the PC. I've done multiple PC's with Multiple cables. The same effect is prevalent. This makes me wonder if in fact there was an issue with or something up with the serial programming. Again, my serial communication just drops away without the wall outlet PSU. Battery power still works, but I can no longer send the needed commands to change motor angles,etc.
whip_tracker_cracker
Newbie
Newbie
Posts: 5
Joined: Thu Jan 08, 2009 7:52 am

Post by i-Bot » Mon Apr 27, 2009 11:04 am

Post by i-Bot
Mon Apr 27, 2009 11:04 am

Do the LED still light on the CM5 OK ?

When you disconnect the wall outlet PSU, do you remove plug from CM5 ?

The schematic for the PSU is here. You may want to probe about with a meter. Also check what you program does witht the pins associated with PSU.

http://robosavvy.com/Builders/petej/AX- ... rBoard.pdf
Do the LED still light on the CM5 OK ?

When you disconnect the wall outlet PSU, do you remove plug from CM5 ?

The schematic for the PSU is here. You may want to probe about with a meter. Also check what you program does witht the pins associated with PSU.

http://robosavvy.com/Builders/petej/AX- ... rBoard.pdf
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by StuartL » Thu May 14, 2009 8:51 pm

Post by StuartL
Thu May 14, 2009 8:51 pm

My guess is the power supply for the RS232 driver chip has gone. Perhaps a burned out track?
My guess is the power supply for the RS232 driver chip has gone. Perhaps a burned out track?
StuartL
Savvy Roboteer
Savvy Roboteer
Posts: 350
Joined: Mon Jun 04, 2007 3:46 pm
Location: Thatcham, Berkshire, UK

Post by whip_tracker_cracker » Wed Jun 24, 2009 6:41 am

Post by whip_tracker_cracker
Wed Jun 24, 2009 6:41 am

For all of those who are curious, or may run across this issue, I figured it out. I purchased all 5 basic bioloid kits from Trossen Robotics and would have no problem with them for a while until they suddenly have communication issues. After going over everything suggested, of which I do appreciate your input, I finally decided to swap out the serial cable the runs to the cm-5. The cables look fairly thin so I figured as a last ditch effort I would try that. Sure enough, with a better cable, instant success. It seems that although with power supplies from a wall outlet on both sides they share a common ground so the serial comms works, even if the ground through the comm cable is shot. If I go onto battery supply with either the computer or the cm-5, the bioloid communication stops working. However, I noticed that if the computer and cm-5 both shared a common battery supply then the communications would work. thus it is simply a grounding issue. A better cable seems to have fixed all of my problems. Thanks again for your input.
For all of those who are curious, or may run across this issue, I figured it out. I purchased all 5 basic bioloid kits from Trossen Robotics and would have no problem with them for a while until they suddenly have communication issues. After going over everything suggested, of which I do appreciate your input, I finally decided to swap out the serial cable the runs to the cm-5. The cables look fairly thin so I figured as a last ditch effort I would try that. Sure enough, with a better cable, instant success. It seems that although with power supplies from a wall outlet on both sides they share a common ground so the serial comms works, even if the ground through the comm cable is shot. If I go onto battery supply with either the computer or the cm-5, the bioloid communication stops working. However, I noticed that if the computer and cm-5 both shared a common battery supply then the communications would work. thus it is simply a grounding issue. A better cable seems to have fixed all of my problems. Thanks again for your input.
whip_tracker_cracker
Newbie
Newbie
Posts: 5
Joined: Thu Jan 08, 2009 7:52 am


6 postsPage 1 of 1
6 postsPage 1 of 1