Community Question

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 EZ-Builder (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, EZ-Builder 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!
thetechguru
Commented July 2015
@Beth,

You
should start your own thread rather than posting in a totally unrelated one.

Start with the tutorials on SIX http://www.ez-robot.com/Tutorials/Course/2 and let us know specifically where it is failing. Does the EZ-B speak and chime when powered on, are you able to connect your computer, once your computer is connected, can you connect EZ-Builder to it?

The backwards wired servos could potentially have damaged the servos, but unlikely to have damaged the EZ-B controller. You may however have blown the fuse if the EZ-B won't even power on. See this lesson for instructions on changing the fuse: http://www.ez-robot.com/Tutorials/Lesson/47?courseId=2


Alan
acheca
Commented July 2015
Thank you @DJ-Sures
Beth
Commented July 2015
@alan
I'm
sorry. I'm just not at all techie. I bet you figured that out when I asked about the wires. My job is requiring me to use this. I'm sure it will be great once I get it going. I'm not connecting it to a computer. We have a demo app. I just can't get it to turn on. I want a magic answer because I'm losing sleep and literally in tears over this. Again, Sorry
thetechguru
Commented July 2015
@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
Troy
Commented July 2015
That was me Beth! Im sorry I wasnt able to quickly resolve the issue for you.
Question
Avatarby acheca
Published Thursday, July 23, 2015