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

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

#17  

It should still work with either sendserial or uartwrite commands... My sabretooth does so the roboclaw will too...

United Kingdom
#18  

Looks like Richard R has this under control:)

There is an old post regarding the robo claw, give the forums a search for some more info on it.

#19  

Also, for the second H-bridge for the shoulders, see thread about using 2 H-bridges. Not exactly the same situation, but usable to get an idea of whatyou need to do. https://synthiam.com/Community/Questions/5736

Basically, for the drive wheels, you can most likely use the Sabertooth movement panel, or a custom Movement Panel with scripted commands at worse.

For the shoulders, you will need to use Script Sliders for manual control and script commands to activate the movements (and for any autonomous movement).

As Richard R pointed out, you can use any of the digital ports to send serial. You only need to use a UART port if the EZ-B needs to receive serial data. No difference between sending on a UART or sending on a digital port. They both send as TTL.

Alan

#20  

Still does not work. Let me clarify... Port D0 - robo claw S1 and baud rate set to 38,400

Bring in a sabretooth Movement Panel set up on port D0 Connect- all is good.

I push the up button one motor goes forward. I push the stop button and the other motor turns on but in the opposite direction. I cannot get motors to stop. Have to disconnect the battery to make it stop.

Tried switching to port D5 "uart port" as per robo claw manual. Same exact thing happens. Any ideas? Thanks Chris

#21  

You're getting there... Possibly your configuration on the Roboclaw is not quite right... I wish I had one to play with, I am so hoping you get this working...

Try this code... open a script and type the below code in (if this doesn't work then your roboclaw settings are wrong, or the wiring is wrong)


SendSerial(D0, 38400, 255) # motor 1 forward
SendSerial(D0, 38400, 127) # motor 2 forward
sleep (3000)
SendSerial(D0, 38400, 0) # both motors stop

#22  

Hey Richard,

So I wrote the script and hit run. It turns one motor on forward, it turns the other motor on backwards and it never stops (Same thing as movement panel/). I have to physically disconnect the battery to make it stop. Tried several times. Not sure what else to try. Robo claw is definitely set up for simple serial, all you have to do is count the flashes of the led. Battery is wired + to + on controller and - to - on te controller. And Im using a servo extension wire with the red wire cut out of it due to the robo claw having a BEC circuit built in and Im powering EZB4 and motor controller with 12vdc. Im thinking its a controller issue and that I need to contact orion electronics. Thanks

#23  

It should work if it is indeed set for simplified serial at 38400 baud.... try changing my code to reflect different baud rates... start at 9600 and go from there... Contact Orion and see what we might be missing...

#24  

Sorry I don't know anything about the Robo Claw but it almost sounds like it may accept different commands then the Sabertooth. Have you compared the two ControlCommand lists?