How to transfer data between OpenCM and the PC?

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

How to transfer data between OpenCM and the PC?

Post by petercohen » Sat Jun 21, 2014 11:55 pm

Post by petercohen
Sat Jun 21, 2014 11:55 pm

Hello,

I am considering to buy the OpenCM9.04. I want to be able to create a text motion data file from a PC and then somehow transfer it to the OpenCM9.04 to make the motors move accordingly. Also, while the robot is moving, obtain the angle data from the motors. Ideally in real-time or almost real-time but if not, after the experiment somehow sending the time-series of angle data to the PC as a text data file is ok as well. As of today, what options are available? Anybody succeed in doing this? Any codes available to share?

Thanks.
Hello,

I am considering to buy the OpenCM9.04. I want to be able to create a text motion data file from a PC and then somehow transfer it to the OpenCM9.04 to make the motors move accordingly. Also, while the robot is moving, obtain the angle data from the motors. Ideally in real-time or almost real-time but if not, after the experiment somehow sending the time-series of angle data to the PC as a text data file is ok as well. As of today, what options are available? Anybody succeed in doing this? Any codes available to share?

Thanks.
petercohen offline
Savvy Roboteer
Savvy Roboteer
Posts: 58
Joined: Tue Jul 19, 2011 5:19 am

Re: How to transfer data between OpenCM and the PC?

Post by vmatos » Mon Jun 23, 2014 11:57 am

Post by vmatos
Mon Jun 23, 2014 11:57 am

Hi!

You could download the OpenCM IDE and check the communication examples yourself, to see if it fits what you're intending to achieve.
It is incredibly Arduino like. I suggest you to check any communication example of SerialUSB.

You can get the IDE here: http://support.robotis.com/en/software/robotis_opencm.htm

Cheers
Hi!

You could download the OpenCM IDE and check the communication examples yourself, to see if it fits what you're intending to achieve.
It is incredibly Arduino like. I suggest you to check any communication example of SerialUSB.

You can get the IDE here: http://support.robotis.com/en/software/robotis_opencm.htm

Cheers
vmatos offline
Robot Builder
Robot Builder
Posts: 12
Joined: Fri Jun 20, 2014 10:36 am

Re: How to transfer data between OpenCM and the PC?

Post by petercohen » Wed Jun 25, 2014 6:32 am

Post by petercohen
Wed Jun 25, 2014 6:32 am

vmatos wrote:Hi!

You could download the OpenCM IDE and check the communication examples yourself, to see if it fits what you're intending to achieve.
It is incredibly Arduino like. I suggest you to check any communication example of SerialUSB.

You can get the IDE here: http://support.robotis.com/en/software/robotis_opencm.htm

Cheers


Hello,

I prefer to have the robot fully autonomous. I am looking for procedures and codes that I can use to transfer .csv text data files between the PC and the OpenCM card by saving/loading data from usb flash memory card or sdcard
vmatos wrote:Hi!

You could download the OpenCM IDE and check the communication examples yourself, to see if it fits what you're intending to achieve.
It is incredibly Arduino like. I suggest you to check any communication example of SerialUSB.

You can get the IDE here: http://support.robotis.com/en/software/robotis_opencm.htm

Cheers


Hello,

I prefer to have the robot fully autonomous. I am looking for procedures and codes that I can use to transfer .csv text data files between the PC and the OpenCM card by saving/loading data from usb flash memory card or sdcard
petercohen offline
Savvy Roboteer
Savvy Roboteer
Posts: 58
Joined: Tue Jul 19, 2011 5:19 am

Re: How to transfer data between OpenCM and the PC?

Post by vmatos » Mon Jun 30, 2014 9:06 am

Post by vmatos
Mon Jun 30, 2014 9:06 am

petercohen wrote:I prefer to have the robot fully autonomous. I am looking for procedures and codes that I can use to transfer .csv text data files between the PC and the OpenCM card by saving/loading data from usb flash memory card or sdcard


It's my understanding that the OpenCM controller is not able to host any USB device. Therefore USB flash memory is out of the equation. For the SD card, you'd have to design your own SD card shield, and use a library/program a library similar to the SD card library for Arduino.

As I see it, probably the most straightforward solution would be to have Zigbee or Bluetooth communication with the ROBOTIS boards, and use the serial example sketches. As shown here: http://support.robotis.com/en/techsupport_eng.htm#software/robotis_opencm.htm

Cheers
petercohen wrote:I prefer to have the robot fully autonomous. I am looking for procedures and codes that I can use to transfer .csv text data files between the PC and the OpenCM card by saving/loading data from usb flash memory card or sdcard


It's my understanding that the OpenCM controller is not able to host any USB device. Therefore USB flash memory is out of the equation. For the SD card, you'd have to design your own SD card shield, and use a library/program a library similar to the SD card library for Arduino.

As I see it, probably the most straightforward solution would be to have Zigbee or Bluetooth communication with the ROBOTIS boards, and use the serial example sketches. As shown here: http://support.robotis.com/en/techsupport_eng.htm#software/robotis_opencm.htm

Cheers
vmatos offline
Robot Builder
Robot Builder
Posts: 12
Joined: Fri Jun 20, 2014 10:36 am


4 postsPage 1 of 1
4 postsPage 1 of 1
cron