BasicMicroUK - Forums

www.basicmicro.co.uk
It is currently Tue Jan 23, 2018 12:43 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Roboclaw V4.0 USB
PostPosted: Mon Feb 17, 2014 3:41 pm 
Offline
Citizen

Joined: Mon Feb 17, 2014 3:27 pm
Posts: 5
Hi All,

I was wondering if anyone could help. I am having problems with simple serial and USB modes on this device.
It appears that firmware commands are accepted. When a motion command is sent it is accepted. When a second command
is sent it is ignored and it appears that Robo claw locks up. I have tried this through a terminal program and when Robo claw
lockup the port can't be closed.

I have uploaded my sketch which contains testing/debug notes. I would really appreciate
the help.


Attachments:
RoboClaw.zip [1.9 KiB]
Downloaded 198 times
Top
 Profile  
 
 Post subject: Re: Roboclaw V4.0 USB
PostPosted: Wed Mar 05, 2014 10:28 pm 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 7:00 pm
Posts: 1316
Location: Temecula, CA
I did not have access to an arduino but I did run the equivalent code on a different processor. The motor controller ran as I expected.

Note I did find a bug. If you send command 0(simple serial stop all) the motors will not stop. I've fixed this and the next firmware update will include the fix. However your code does not use that command.

I tested the same commands you used and the motors ran as I expected them too. One thing, with simple serial there is no error correction so if you send commands at the wrong baudrate(or receive them at the wrong baudrate) weird things can happen. Confirm you have the correct baudrate set on the roboclaw.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO