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

Zigbee2serial in Java

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

Zigbee2serial in Java

Post by ggismero » Sun Mar 27, 2011 11:39 pm

Post by ggismero
Sun Mar 27, 2011 11:39 pm

Hello,

Does anybody know about an API for Zigbee2serial but in Java? I've found one from ROBOTIS (http://support.robotis.com/en/) but is written in C.

Gonzalo.
Hello,

Does anybody know about an API for Zigbee2serial but in Java? I've found one from ROBOTIS (http://support.robotis.com/en/) but is written in C.

Gonzalo.
ggismero
Robot Builder
Robot Builder
Posts: 8
Joined: Tue Jul 20, 2010 11:16 pm

Post by PedroR » Mon Mar 28, 2011 3:29 pm

Post by PedroR
Mon Mar 28, 2011 3:29 pm

Hi gigismero

Zig2Serial works simply as a Serial connection. (it's like a transparent replacement of a serial cable).
So you just need a JAVA class that opens the COMM port where the Zig2Serial is connected and start sending out bytes.

They will be received on the other Zigbee pair.

If you want to use it to control a Bioloid then there is a specific protocol (sequence of Bytes) that need to be sent to emulate the remote control. That can be found on the Robotis website or just by analysing the C code and check what sequence of Bytes need to be sent to achieve the functionality you want.


As for a direct answer: I am personally not aware of any JAVA sample written for Zigbee/Robotis but maybe someone here on the forum has already done it.

Pedro.
Hi gigismero

Zig2Serial works simply as a Serial connection. (it's like a transparent replacement of a serial cable).
So you just need a JAVA class that opens the COMM port where the Zig2Serial is connected and start sending out bytes.

They will be received on the other Zigbee pair.

If you want to use it to control a Bioloid then there is a specific protocol (sequence of Bytes) that need to be sent to emulate the remote control. That can be found on the Robotis website or just by analysing the C code and check what sequence of Bytes need to be sent to achieve the functionality you want.


As for a direct answer: I am personally not aware of any JAVA sample written for Zigbee/Robotis but maybe someone here on the forum has already done it.

Pedro.
PedroR
Savvy Roboteer
Savvy Roboteer
Posts: 1199
Joined: Mon Jun 16, 2008 11:07 pm


2 postsPage 1 of 1
2 postsPage 1 of 1