Ecuador
Asked — Edited
Resolved Resolved by DJ Sures!

Help With Tcp Direct Connection And Hexadecimal Values

Hi, I'm new to this forum. I am amazed as how easy is to create a robot using EZ-Robot and how helpful this community is. I have been writing a NodeJS program to communicate directly to a Revolution Six Robot and I have successfully connected to it and have been able to send commands to move all the servos. I don't want to use ARC (great program by the way) because I'm planning to use a Raspberry Pi and I really like NodeJS.

I figured out by using Wireshark, ARC and researching in this forum that the equivalent of moving a servo using servo(d0, 90) is to create a TCP packet with the hex values of 0xAC for D0 and 0x5A for 90. I want to know if someone has already reverse engineered all the hex values needed to fully control a EZ-b4 robot or if there is some documentation where I can see the hex values or the raw TCP packets. I have already looked into the NodeJS library for EZ-Robot, EZ-OpenBot and into UniversalBot without any success.

Another thing that I recently figured out is that if I want to change the speed of a servo, lets say, D0 to 1, I must send 0x27 instead of 0xAC and the speed in a single packet.

Thanks!


ARC Pro

Upgrade to ARC Pro

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

#9  

@Beth, If it isn't turning on, it is probably the fuse, or it is just broken (occasionally one ships bad, such is life with electronics. I used to be part of a group that market tested Cell Phones for Verizon. 45 people, and every time we got a phone one or two of them would fail out of the box) One of the tutorials in the link I gave you is for troubleshooting and checking the fuse.

Where are you located? If you are anywhere in the Norva/DC/Baltimore area I can drive out after work tomorrow and help. Otherwise I might be able to help by phone or skype. My email is in my profile (click on my name).

Alan

#10  

That was me Beth! Im sorry I wasnt able to quickly resolve the issue for you.