Search found 1594 matches

by Basicmicro Support
Mon Sep 21, 2015 11:23 am
Forum: General Discussion
Topic: RoboClaw ST 45A connections
Replies: 2
Views: 5844

Re: RoboClaw ST 45A connections

That is correct. There is only one gnd and 5v connection on the ST boards(because of size limitations).

Also, you are correct, Enc1 is for M2 and Enc2 is for M1 on the ST boards.
by Basicmicro Support
Mon Sep 21, 2015 11:21 am
Forum: General Discussion
Topic: PacketSerial problem with FW.ver.4.1.10
Replies: 14
Views: 18169

Re: PacketSerial problem with FW.ver.4.1.10

Could you please provide a little more information. Are you sending commands to the roboclaw directly using RealTerm? If so what exactly are you sending? What baud rate are you using as well?
by Basicmicro Support
Mon Sep 14, 2015 12:15 pm
Forum: General Discussion
Topic: PacketSerial problem with FW.ver.4.1.10
Replies: 14
Views: 18169

Re: PacketSerial problem with FW.ver.4.1.10

First you should make sure data is coming back to the Arduino at all if you can. If you havea scope check the S2 pin from the roboclaw and make sure it is sending data when you send the Read Version command. If it is then you need to focus your attention on the Arduino code(eg possibly wrong pin use...
by Basicmicro Support
Mon Sep 14, 2015 12:10 pm
Forum: General Discussion
Topic: Serial communication with Arduino erratic behavior.
Replies: 11
Views: 17710

Re: Serial communication with Arduino erratic behavior.

Good to know. Software serial on Arduino uses interrupts to catch the start bit on bytes being received. Other interrupts can cause problems with this(eg delay the PCINT from being handled). Were you by chance using any other commands that may have been using other interrupts? Note: Hardware serial ...
by Basicmicro Support
Wed Sep 09, 2015 3:16 pm
Forum: General Discussion
Topic: Serial communication with Arduino erratic behavior.
Replies: 11
Views: 17710

Re: Serial communication with Arduino erratic behavior.

Ill pull out a mega2560 and test it this week sometime.
by Basicmicro Support
Wed Sep 09, 2015 11:14 am
Forum: General Discussion
Topic: Serial communication with Arduino erratic behavior.
Replies: 11
Views: 17710

Re: Serial communication with Arduino erratic behavior.

You definitely want to use hardware serial if you can. If you cant you will probably need to use a lower baudrate. If you are using our arduino libraries and you specify the hardware serial pins when initializing the class the library should use the hardware serial arduino library to talk to the ser...
by Basicmicro Support
Sat Sep 05, 2015 11:20 am
Forum: Velocity and Position Control
Topic: Roboclaw 2x5A Position Control using quadrature+index
Replies: 6
Views: 11671

Re: Roboclaw 2x5A Position Control using quadrature+index

Through the roboclaw, no. There is no separate command to read the signal pins(eg to see if the index is triggered). After experimenting with an encoder with an index output I found it to be nearly impossible to use it manually in that regard. Most index pins are triggered for 4 edges(eg one line re...
by Basicmicro Support
Thu Sep 03, 2015 8:02 pm
Forum: Velocity and Position Control
Topic: Roboclaw 2x5A Position Control using quadrature+index
Replies: 6
Views: 11671

Re: Roboclaw 2x5A Position Control using quadrature+index

Homing support has been added but not as separate commands. The unit will home the motors on power up when the S4 and/or S5 pins are setup as home signal inputs. S4 will home motor 1 and s5 will home motor 2. This is in firmware 4.1.8 and newer. The S4 and S5 pins have internal pullups. The home swi...
by Basicmicro Support
Mon Aug 31, 2015 10:41 am
Forum: General Discussion
Topic: [Solved] cant read back data from Roboclaw with packet serial
Replies: 4
Views: 8282

Re: [Solved] cant read back data from Roboclaw with packet serial

Thanks for the update.

I've changed the uin32_t types to int32_t types. That will print signed values for encoder positions and speeds in the updated examples.
by Basicmicro Support
Mon Aug 31, 2015 10:36 am
Forum: Velocity and Position Control
Topic: Work without encoder
Replies: 0
Views: 4506

Re: Work without encoder

Any of the duty cycle commands work without the encoders required. Only the speed and position commands require the encoders. When the red led is blinking that indicates an error. Count the blinks(should be 1 or more with an approx 1 second pause after the blink sequence. Also let me know which Stat...