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

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

United Kingdom
#25  

Robo Claw Datasheet

Simple Serial commands are from page 20 onwards

Set up instructions on page 10

Everything you need is there:)

#26  

Dave, as per the manual I read on the roboclaw, it should accept serial commands exactly the same way the sabertooth does... My code should work perfectly with the roboclaw...

United Kingdom
#27  

@Richard R is correct. It's most likely to be the setting up of the roboclaw to use simple serial at the correct baud rate which is the issue.

Check it's in simple serial mode (mode 5). Then check it's in 38,400 (mode 4) (you could use any of the modes but you must know what baud rate you are using so you can let ARC know)

With the EZ-B V3, 115,200 is maximum for D0 all the other digital ports can work up to 57,600. Off the top of my head I don't know what it is for the V4.

Instructions on doing that are on page 10 of the datasheet I linked to. It's a fairly simple process.

#28  

Hello and thanks. I've tried al of that and it still does not work. You are correct in that it is an easy process. Again motors start but run in different directions and never stop until removing battery. It is in mode 5 simple serial, and mode 4 - 38,400. Even when writing a simple line while motors are running - SendSerial(D0,38,400,0) the motors do not stop. I will be trying to contact basic micro on Monday. I do have the manual for the controller, printed out and well read. Thanks everyone for there help. Chris

United Kingdom
#29  

remove the comma from the 38,400 in the send serial command


SendSerial(D0, 38400, 0)

That should stop both motors if the board is configured for Simple Serial and 38,400 baud.

The Sabertooth Movement Panel should work too if it's set for Simple Serial and 38,400 baud.

Also, one thing I didn't mention but just read is to make sure the LB-MB jumper is installed.

#30  

Should be SendSerial(D0,38400,0) not Sendserial(D0,38,400,0) to stop the motors... no comma between the 8 and 4 of the 38400....

United Kingdom
#31  

I just knocked up a quick and simple RoboClaw Serial Demo.

Download it, change your connection settings as required and (provided the roboclaw is on D0 and set for 38400 baud) it should give a demo of forward, reverse, left and right then stop if you run the script. The Movement Panel included should also control the roboclaw.

#32  

Richard R- I tried again.... nothing still wont stop.

Rich - I will try in the next few minutes.

ALL I did submit a post at basic micro forums for help with this controller. I firmly believe every setting is correct. I was really hoping my extra comment in the baud rate was the issue but, no go!