Search found 1201 matches

by Basicmicro Support
Fri Jul 19, 2019 10:34 am
Forum: General Discussion
Topic: Puzzled, works with encoder disconnected
Replies: 2
Views: 9

Re: Puzzled, works with encoder disconnected

If the PID is doing little or nothing(primarily a very low or 0 I setting) the feedforward argument(QPPS) will control the motor. This effectively runs the motor using voltage control without feedback. This will not give you accurate speed control but it may look like it is(especially under no load)...
by Basicmicro Support
Fri Jul 19, 2019 10:29 am
Forum: General Discussion
Topic: monitor packet serial with MotionStudio?
Replies: 7
Views: 78

Re: monitor packet serial with MotionStudio?

If the problem is in the current please graph the current. The motor speed doesnt necessarily correlate to motor current. You need to see the current data to make any connections. In your first post you mention a 2x7A. But that was for a different question(PWM SetPoint). Are you still using a 2x7A n...
by Basicmicro Support
Wed Jul 17, 2019 10:35 am
Forum: Velocity and Position Control
Topic: Quadratic encoders - voltage issue
Replies: 2
Views: 16

Re: Quadratic encoders - voltage issue

I've never used these Pololu encoders before, but it sounds like you need a stronger pull-up on each encoder signal line. Because of voltage and current protection on the MCP pins, there is an effective 3.4Kohm impedance from each pin to ground(eg 3.4k pulldown on each pin). If you encoders pullup i...
by Basicmicro Support
Wed Jul 17, 2019 10:23 am
Forum: General Discussion
Topic: Strange output from encoder read arduino
Replies: 1
Views: 15

Re: Strange output from encoder read arduino

I can't read your code from a screen shot. Please copy and paste your code and the monitor output. Two likely causes of weird output is: 1. Baudrates arent set correctly. This is most likely. 2. You aren't using the Serial.println command correctly. Less likely since there is very little that can be...
by Basicmicro Support
Wed Jul 17, 2019 10:20 am
Forum: General Discussion
Topic: monitor packet serial with MotionStudio?
Replies: 7
Views: 78

Re: monitor packet serial with MotionStudio?

You will need to add debuging code to the library then, to see what is causing the unexpected delay. Add Serial.println statements where needed to determine where the program is freezing up. The MKR1000 is an arm based board and has never been tested with the Roboclaw arduino library before so it co...
by Basicmicro Support
Mon Jul 15, 2019 11:00 am
Forum: General Discussion
Topic: monitor packet serial with MotionStudio?
Replies: 7
Views: 78

Re: monitor packet serial with MotionStudio?

If your power source cant supply enough power your input voltage will drop which can cause brownouts. Your delay in response is almost exactly as long as it takes to reboot the Roboclaw. If you mean you set the maximum current limit to just enough to run the motor I'd recommend not doing that. If th...
by Basicmicro Support
Mon Jul 15, 2019 10:52 am
Forum: General Discussion
Topic: Trigger home or reset encoder on each pass
Replies: 4
Views: 37

Re: Trigger home or reset encoder on each pass

Contact Support on Friday. I may have a pre-release you can test. No guarantees we can add anything though. We only have so much memory and have added a ton of new features over the years so there isn't much room left.
by Basicmicro Support
Fri Jul 12, 2019 10:21 am
Forum: General Discussion
Topic: Python's Duty Acceleration functions
Replies: 1
Views: 35

Re: Python's Duty Acceleration functions

We haven't changed them because it would break old user code for no major benefit.

You are free to change the library however you see fit. We provide the source code to the python library specifically for that option.
by Basicmicro Support
Fri Jul 12, 2019 10:18 am
Forum: General Discussion
Topic: Trigger home or reset encoder on each pass
Replies: 4
Views: 37

Re: Trigger home or reset encoder on each pass

What you want is an index functionality. Roboclaw does not currently support index signals. An index signal would zero the encoder count every time it triggers and adds or subtracts an offset based on the direction the motor was moving to compensate for the width of the index signal. Homing the enco...
by Basicmicro Support
Fri Jul 12, 2019 10:14 am
Forum: General Discussion
Topic: monitor packet serial with MotionStudio?
Replies: 7
Views: 78

Re: monitor packet serial with MotionStudio?

The SetPoint chart data is from Motion Studio(eg Motion studios current duty, velocity or position for that motor). Motion studio does not query the Roboclaw for that data which is why when you use an external command to control the motor Motion Studio won't graph it. As for your problem, are you us...