Asked — Edited
Resolved Resolved by Rich!

Robo Claw 2X60, Ezb 4, Speech Recognition?

I have a robo claw 2x 60 motor controller. I have ezb4 connected via DO and D1. I am connected to the EZB4 with my computer as I can send sound files to it and it plays out the EZB4. I have assigned ports DO to left motor and D1 to right motor. I cannot make the motors do anything. I have previously used this controller with a RC receiver and it worked. Is the EZB 4 not able to replicate those commands? Do I have to speak with it serially? A script? When I read the script control instruction it says something about needing a Movement Panel associated with it? Thanks ahead of time.


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

#1  

Do you have the data sheet on the roboclaw? If not Google it... it will show you how to talk to the roboclaw via the ezb... Chances are it has a serial mode similar to the sabretooth that will be set by dips or jumpers...

#2  

Yes I have the manual. Do I have to talk to it serially. I sort of got a modified servo panel to work with the robo claw in "RC" standard mode, that is without mixing. The motors are very jerky and do not stay running however. Robo claw manual says that it expects rc servo pulses on s1 and s2 to drive the motors when the mode is set to "rc" mode. The center points are calibrated at startup. 1000us is the default for full reverse and 2000us is for full forward. I guess I need to know is that what the ezb4 puts out via its d0 and d1 ports. I would love to run it serially but not sure at the moment how to accomplish. I also cant seem to figure out the speech recognition. How do I assign "robot move forward" to D0 and D1 ports to send 2000us for forward and 1000us for reverse. Thanks again

#3  

Being very similar to the sabertooth.... there has to be a way to set it up serial for communication... if you can, it is possible to use the sabertooth Movement Panel to control it... I don't have the manual in front of me, so my help is limited... Just read the manual and try and set it for serial at 38400 baud... Serial is your best bet...I used to use the sabertooth the same way as you used the roboclaw, but had to change to using it in serial mode as I couldn't get it to work any other way with the ezb...

#4  

OK so I changed config on robo claw but the manual says it needs to be controlled via UART to s1 on the robo claw. Do i need a special plug to do this? It seems the uart plugs require a special kind of connector? Thanks so much for replying.

#5  

I found part of my answer, it looks like I can use D5 for uart 1. And I need it to transmit only because the robo claw can receive only. Starting to make some progress I hope. Thanks again. Chris

#6  

Richard R one more question. This robo claw can be operated in "simple" serial mode or "packet" serial mode. The manual claims that using packet serial opens up a plethora of advanced features. So in my above post I mistakenly said it receives only. (only in simple serial mode) So anyways would it be better for me to use packet serial or simple serial mode to operate this controller. Thanks Chris

#7  

Use simple serial... you could always switch later... You can probably use D0 as well... using the sendserial command... or any other port... Uart 1 is D5 send, ...D6 receive...

#8  

I will try this tomorrow. Once I get this working with the saber tooth Movement Panel how do I associate it with Speech commands. For example when I say "robot move forward" how does it associate the speech to an actual controller command? I looked at the example but all I see is "forward ()". What if anything do I put in the parentheses? Thanks again!