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

CM-5 <-> CMUcam3

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

CM-5 <-> CMUcam3

Post by Guillaume » Wed Jul 08, 2009 4:31 pm

Post by Guillaume
Wed Jul 08, 2009 4:31 pm

Hi,

I'm a french student, so sorry for my english.

I would like to connect the CM-5 to a camera (CMUcam3 : http://www.cmucam.org/) by the serial connexion but I don't know how the CM-5 can receive TTL packets.

I need to reveive them by a C program in the CM-5 ?
Or the Behvior Control Programmer ?

All my Motions are in the Motion Editor.

If you have some advices, or links who might help me, your welcome.

Thanks you so much.

Guillaume
Hi,

I'm a french student, so sorry for my english.

I would like to connect the CM-5 to a camera (CMUcam3 : http://www.cmucam.org/) by the serial connexion but I don't know how the CM-5 can receive TTL packets.

I need to reveive them by a C program in the CM-5 ?
Or the Behvior Control Programmer ?

All my Motions are in the Motion Editor.

If you have some advices, or links who might help me, your welcome.

Thanks you so much.

Guillaume
Guillaume
Newbie
Newbie
Posts: 2
Joined: Wed Jul 08, 2009 4:23 pm

Post by clusher » Thu Jul 09, 2009 4:10 pm

Post by clusher
Thu Jul 09, 2009 4:10 pm

I suppose the camera doesn't use the same communication protocol as the servos, so you'll need to write a C program to handle the communications. Just check the multiple examples in this site... Also, don't forget that all communications with the PC is also done by the serial port, so you probably can't use both.

I'm not sure you can use motion files when writing a program in C... someone else might shed some lights on this?
I suppose the camera doesn't use the same communication protocol as the servos, so you'll need to write a C program to handle the communications. Just check the multiple examples in this site... Also, don't forget that all communications with the PC is also done by the serial port, so you probably can't use both.

I'm not sure you can use motion files when writing a program in C... someone else might shed some lights on this?
clusher
Savvy Roboteer
Savvy Roboteer
Posts: 57
Joined: Thu Jul 17, 2008 12:27 pm

Post by Guillaume » Tue Jul 21, 2009 3:27 pm

Post by Guillaume
Tue Jul 21, 2009 3:27 pm

ok, thanks you to reply.

The easiest way is to send text command by serial connection, to play a motion (PLAY "num page").

I arrive to play a motion from the terminal (PC) to the robot, and to send by a printf the <<PLAY>> on the serial cable. but when I connect them together the robot doesn't move :/

The bitrate is the same (robot & camera), I try to switch Rx and Tx but it still doesn't work :s

If someone have an idea.

Thanks you so much
ok, thanks you to reply.

The easiest way is to send text command by serial connection, to play a motion (PLAY "num page").

I arrive to play a motion from the terminal (PC) to the robot, and to send by a printf the <<PLAY>> on the serial cable. but when I connect them together the robot doesn't move :/

The bitrate is the same (robot & camera), I try to switch Rx and Tx but it still doesn't work :s

If someone have an idea.

Thanks you so much
Guillaume
Newbie
Newbie
Posts: 2
Joined: Wed Jul 08, 2009 4:23 pm


3 postsPage 1 of 1
3 postsPage 1 of 1