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

Matlab interfacing with Bioloid using USB2DYNAMIXEL

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

Matlab interfacing with Bioloid using USB2DYNAMIXEL

Post by nandy.debasish » Wed Aug 26, 2009 11:57 am

Post by nandy.debasish
Wed Aug 26, 2009 11:57 am

Hi !!!

I'm doing matlab interfacing with bioloid through COM PORT3 using USB2DYNAMIXEL. But the problem is that Model is downloaded, input is shown on the SCOPE. but their is no response of AX-12 servo. If I use COM PORT1 with out USB2DYNAMIXEL, their is no problem. Please give me some suggestion. where should I change in CMEX S-function.....
Hi !!!

I'm doing matlab interfacing with bioloid through COM PORT3 using USB2DYNAMIXEL. But the problem is that Model is downloaded, input is shown on the SCOPE. but their is no response of AX-12 servo. If I use COM PORT1 with out USB2DYNAMIXEL, their is no problem. Please give me some suggestion. where should I change in CMEX S-function.....
nandy.debasish
Newbie
Newbie
Posts: 6
Joined: Wed Aug 26, 2009 7:17 am

Post by Khashi.E » Wed Aug 26, 2009 6:58 pm

Post by Khashi.E
Wed Aug 26, 2009 6:58 pm

Hi nandy,
You will try to fix simple problems first.then if it dousn't work,try with technical solutions.
check your PC COM3 port.perhaps it is damaged.try to connecting USB2DXL to another usb port.
change or reinstall your ax-12 frimware version if red LED of the ax-12 is always on.
check your USB2DXL is on TTL mode.

if this solutions douse not work,let me know.

regards
Khashi.E
Hi nandy,
You will try to fix simple problems first.then if it dousn't work,try with technical solutions.
check your PC COM3 port.perhaps it is damaged.try to connecting USB2DXL to another usb port.
change or reinstall your ax-12 frimware version if red LED of the ax-12 is always on.
check your USB2DXL is on TTL mode.

if this solutions douse not work,let me know.

regards
Khashi.E
Khashi.E
Savvy Roboteer
Savvy Roboteer
Posts: 44
Joined: Tue Aug 25, 2009 8:44 am

Bioloid interfacing with matlabusnig USB2DXL

Post by nandy.debasish » Thu Aug 27, 2009 7:19 am

Post by nandy.debasish
Thu Aug 27, 2009 7:19 am

DEAR Khashi.E

Let you know the problem in details. I'm using a PC which have no serial port. This is why I'm using USB2DXL RS232 mode and connect it to CM5 with a serial cable. when I try to interface Matlab with Biloid using 'COMMUNICATION PROTOCOL BY RS232' then problem occurs. The link is given: http://humanoids.dem.ist.utl.pt/pc_rs232/overview.html

The above problem must occur who is using Laptop for doing Matab interfacing with Bioloid. Thank you for replying.

With regards
DEBASISH
DEAR Khashi.E

Let you know the problem in details. I'm using a PC which have no serial port. This is why I'm using USB2DXL RS232 mode and connect it to CM5 with a serial cable. when I try to interface Matlab with Biloid using 'COMMUNICATION PROTOCOL BY RS232' then problem occurs. The link is given: http://humanoids.dem.ist.utl.pt/pc_rs232/overview.html

The above problem must occur who is using Laptop for doing Matab interfacing with Bioloid. Thank you for replying.

With regards
DEBASISH
nandy.debasish
Newbie
Newbie
Posts: 6
Joined: Wed Aug 26, 2009 7:17 am

Post by StuartL » Tue Sep 08, 2009 11:13 am

Post by StuartL
Tue Sep 08, 2009 11:13 am

nandy.debasish:

I have deleted all of your duplicate threads/post on this issue. Please be aware that it's considered very bad etiquette to post the same question multiple times and you're unlikely to get any answers to your questions at all if you spam the forums with fifteen posts on the same topic.

Ask the question once and very clearly describe everything that you've tried to do, including the results of searching forums and google for others with similar problems. If you do so the very friendly people on the Internet will see if there's anything they can do to help you.
nandy.debasish:

I have deleted all of your duplicate threads/post on this issue. Please be aware that it's considered very bad etiquette to post the same question multiple times and you're unlikely to get any answers to your questions at all if you spam the forums with fifteen posts on the same topic.

Ask the question once and very clearly describe everything that you've tried to do, including the results of searching forums and google for others with similar problems. If you do so the very friendly people on the Internet will see if there's anything they can do to help you.
StuartL
Savvy Roboteer
Savvy Roboteer
Posts: 350
Joined: Mon Jun 04, 2007 3:46 pm
Location: Thatcham, Berkshire, UK

Post by limor » Tue Sep 08, 2009 11:10 pm

Post by limor
Tue Sep 08, 2009 11:10 pm

Hi Nandy
I just noticed something in your post.
What we at the mentioned project was use the Simulink Real-Time-PC-Target
This is a mode of Matlab/simulink that takes priority over most other things running in windows to the extent that standard windows COM interfaces are unreliable or unavailable.
Therefore I had to write driver level code to talk directly with the serial port chip (16550 compatible).

Therefore the FTDI COM emulation will probably not work for that code.

I suggest you find a PC that has a physical serial port on the motherboard.
Hi Nandy
I just noticed something in your post.
What we at the mentioned project was use the Simulink Real-Time-PC-Target
This is a mode of Matlab/simulink that takes priority over most other things running in windows to the extent that standard windows COM interfaces are unreliable or unavailable.
Therefore I had to write driver level code to talk directly with the serial port chip (16550 compatible).

Therefore the FTDI COM emulation will probably not work for that code.

I suggest you find a PC that has a physical serial port on the motherboard.
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK


5 postsPage 1 of 1
5 postsPage 1 of 1