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

Talking to the RCB-3J

KHR-1, KHR-2HV, KHR-3HV, ICS servos, RCB controllers and other Kondo products
4 postsPage 1 of 1
4 postsPage 1 of 1

Talking to the RCB-3J

Post by mkegruber » Wed Feb 20, 2008 3:59 pm

Post by mkegruber
Wed Feb 20, 2008 3:59 pm

Hi,

Who here has interfaced to the RCB-3J using 3rd party circuit?

For example using a PIC, STAMP or Audrino board to send instructions to the RCB-3J?

I have a copy of the reference guide, though I would prefer not to reinvent the wheel, so I'm hoping to leap frog from other's experiences?

Regards
Michael
Hi,

Who here has interfaced to the RCB-3J using 3rd party circuit?

For example using a PIC, STAMP or Audrino board to send instructions to the RCB-3J?

I have a copy of the reference guide, though I would prefer not to reinvent the wheel, so I'm hoping to leap frog from other's experiences?

Regards
Michael
mkegruber
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 32
Joined: Wed Jan 31, 2007 1:00 am

Post by ries » Thu Feb 21, 2008 8:20 pm

Post by ries
Thu Feb 21, 2008 8:20 pm

Hi,

Currently I have a program written in Labview to control the motions in the RCB-3J. Hopefully this week i get a CMUCAM3 camera with a ARM7 so I can write it in C.

I want to program that ARM7 to control the RCB-3J (KHR-1HV) to find, walk, track a football autonomous.

What I used for this:
See page 8, 9 and 19 (the commands i use)

Open a serial connection to the RCB-3J
Send 1 byte: 0x0D
Receive 1 byte: 0x0D (you know that the RCB-3J is there)
Send 4 bytes:
CMD = 0xF4 (see page 19)
OPT = 0x05 (used a serial monitor for this code, page 9 explains it)
NUM = Motion number (see page 19)
SUM = (CMD + OPT + NUM) & 0xFF; (used a serial monitor for this)
Receive 1 byte: 0x06
Close the serial connection to the RCB-3J

The checksum isn't always 0xFF, there are commands that don't use bit 7!
And the time to receive 0x0D and send a command should be minimal, there is a time-out in the RCB3J.
Hi,

Currently I have a program written in Labview to control the motions in the RCB-3J. Hopefully this week i get a CMUCAM3 camera with a ARM7 so I can write it in C.

I want to program that ARM7 to control the RCB-3J (KHR-1HV) to find, walk, track a football autonomous.

What I used for this:
See page 8, 9 and 19 (the commands i use)

Open a serial connection to the RCB-3J
Send 1 byte: 0x0D
Receive 1 byte: 0x0D (you know that the RCB-3J is there)
Send 4 bytes:
CMD = 0xF4 (see page 19)
OPT = 0x05 (used a serial monitor for this code, page 9 explains it)
NUM = Motion number (see page 19)
SUM = (CMD + OPT + NUM) & 0xFF; (used a serial monitor for this)
Receive 1 byte: 0x06
Close the serial connection to the RCB-3J

The checksum isn't always 0xFF, there are commands that don't use bit 7!
And the time to receive 0x0D and send a command should be minimal, there is a time-out in the RCB3J.
ries
Savvy Roboteer
Savvy Roboteer
Posts: 62
Joined: Sun Dec 16, 2007 11:33 am
Location: Netherlands

Post by dkmag » Wed Mar 12, 2008 4:13 am

Post by dkmag
Wed Mar 12, 2008 4:13 am

just wondering if the commands for the low serial port is the same as the high serial?
just wondering if the commands for the low serial port is the same as the high serial?
dkmag
Newbie
Newbie
User avatar
Posts: 6
Joined: Thu Jan 10, 2008 9:51 am

Any schematic of the rs232 interface ?

Post by Raymond » Thu Apr 16, 2009 8:00 pm

Post by Raymond
Thu Apr 16, 2009 8:00 pm

Hi Guys,

I need to confirm the design for the pins used on a rsr232 com port. I have confirmed pins 2,3,4,5 are used where a risistor is shorted across 2 & 4 to be the red wire and 5 is black for ground, 3 is white.
Please share your thought on what ohm resistor is to be used and any other advice you can share.

Thanks

mark
Hi Guys,

I need to confirm the design for the pins used on a rsr232 com port. I have confirmed pins 2,3,4,5 are used where a risistor is shorted across 2 & 4 to be the red wire and 5 is black for ground, 3 is white.
Please share your thought on what ohm resistor is to be used and any other advice you can share.

Thanks

mark
Raymond
Savvy Roboteer
Savvy Roboteer
Posts: 80
Joined: Sat Apr 11, 2009 7:17 pm


4 postsPage 1 of 1
4 postsPage 1 of 1