Search found 1300 matches

by Basicmicro Support
Mon Dec 07, 2015 9:14 am
Forum: General Discussion
Topic: Error double blink - How to reset
Replies: 5
Views: 4022

Re: Error double blink - How to reset

The double blink error with Stat1 or Stat2 set now indicates a motor driver failure. 1. This can becaused if the MB/LB jumper is not installed and you are not powering the board with a seperate logic battery on LB+-. 2. The motor driver has been damaged by a voltage spike(over 50v or under approx -3...
by Basicmicro Support
Mon Dec 07, 2015 9:06 am
Forum: Velocity and Position Control
Topic: User manual clarification using commands 65 - 67
Replies: 2
Views: 2787

Re: User manual clarification using commands 65 - 67

Page 57 of the manual. "Position Manual Calibration Procedure", step 1. says the Velocity mode QPPS value must be set as descibed in the Velocity Calibration procedures.
by Basicmicro Support
Mon Dec 07, 2015 9:03 am
Forum: Velocity and Position Control
Topic: [Solved] Commands 65, 66, 67 seem hobbled.
Replies: 20
Views: 13224

Re: [Solved] Commands 65, 66, 67 seem hobbled.

Im not sure what happend with those commadns(28,29 and 61,62) in the manual desdcriptions. My older copy of the manual specifically mentioned the fixed point calculation while the new one doesnt. Obviously we made a mistake whe updating those commands in the manual. I suspect the change was made bec...
by Basicmicro Support
Tue Dec 01, 2015 8:45 am
Forum: Velocity and Position Control
Topic: [Solved] Commands 65, 66, 67 seem hobbled.
Replies: 20
Views: 13224

Re: Commands 65, 66, 67 seem hobbled.

That is correrct. The position PID values have to be * 1024 before sending to the Roboclaw. The Velocity PID values have to be * 65536 before sending. This is assuming you are using the values you determined from IonMotion. IonMotion displays the floating point equivalent of the fixed point numbers ...
by Basicmicro Support
Tue Dec 01, 2015 8:41 am
Forum: Velocity and Position Control
Topic: Absolute position control
Replies: 7
Views: 6462

Re: Absolute position control

The keypad lib probably uses the PCINT interrupt which the roboclaw library also uses which then causes a compiler error when both try to use it at the same time. But I would need to see your code to be sure. An error message would also help. Please provide the code and a link to the version of the ...
by Basicmicro Support
Fri Nov 27, 2015 8:59 am
Forum: Velocity and Position Control
Topic: [Solved] Commands 65, 66, 67 seem hobbled.
Replies: 20
Views: 13224

Re: Commands 65, 66, 67 seem hobbled.

1. I cant remember if you said you are using our arduino lirbary or are coding your own from scratch. Please confirm one or the other. If you are coding your own please show the code you use for commands 61/62 2. If looks like your SetM#PositionPID arguments are in the wrong order(baseed on your bin...
by Basicmicro Support
Fri Nov 27, 2015 8:46 am
Forum: Velocity and Position Control
Topic: How to fit Encoder on Roboclaw?
Replies: 1
Views: 3214

Re: How to fit Encoder on Roboclaw?

You have to use one of the Speed commands if you want the Roboclaw to adjust the speed for you. The PWM/Duty cycle commands do not use the feedback information. You could get complex and read the encoder speeds and then calculate what to change the PWMs to get them to run at constnat speed all the t...
by Basicmicro Support
Fri Nov 27, 2015 8:39 am
Forum: Velocity and Position Control
Topic: Absolute position control
Replies: 7
Views: 6462

Re: Absolute position control

You can do everything but autotune through the TTL serial packet serial commands. Manual tuning isnt too difficult and if you have any questions please call in or post a new thread specific to tuning. Are you using a 2x5A or is your board a really old 2x15/2x30 that didnt have USB? If the latter you...
by Basicmicro Support
Mon Nov 23, 2015 2:38 pm
Forum: General Discussion
Topic: Could you please provide a C++ example
Replies: 1
Views: 1938

Re: Could you please provide a C++ example

Technically the arduino libraries are C++. You need a serial port library for whatever device(Im guess a PC since you didnt say but did mention the C#)) you are using. With some minor changes and the addition of a C++ serialport library it shouldnt take much to get a C++ program talking to the Roboc...
by Basicmicro Support
Mon Nov 23, 2015 2:34 pm
Forum: Velocity and Position Control
Topic: [Solved] Commands 65, 66, 67 seem hobbled.
Replies: 20
Views: 13224

Re: Commands 65 and 66 seem hobbled.

I plugged in your exact data and it did work. Using the currently available version. This would lead me to beleive the problem is something out side of the raw data. Could be how its being sent? Follow along with what I did: 1. I used RealTerm specifically to elliminate the method of sending the dat...