Search found 1594 matches

by Basicmicro Support
Tue Mar 30, 2021 10:52 am
Forum: Velocity and Position Control
Topic: How to Home Motor Using Arduino Library and Limit Switch
Replies: 1
Views: 9183

Re: How to Home Motor Using Arduino Library and Limit Switch

To home in an arduino, you set the limit switch to home(user) mode. Then at the beginning of your arduino program you check the limit switch status and it if is set(at home) move the motor forward until the limit switch status is cleared. Then whether the motor was original in the limit or now, you ...
by Basicmicro Support
Fri Mar 19, 2021 12:24 pm
Forum: Velocity and Position Control
Topic: Restore Defaults (80)
Replies: 7
Views: 17241

Re: Restore Defaults (80)

Thank you for all the updates and publishing your code.
by Basicmicro Support
Fri Mar 19, 2021 12:22 pm
Forum: General Discussion
Topic: How to connect a Home switch with an Arduino
Replies: 1
Views: 2467

Re: How to connect a Home switch with an Arduino

Home is by definition position 0. Always. On startup you need to move the motor back into the home switch so it can zero the encoder value. You can do this with the auto homing function(Home(Auto) or you can move the motor after power up using control commands(Home(User).
by Basicmicro Support
Fri Mar 19, 2021 12:20 pm
Forum: General Discussion
Topic: Help with home position
Replies: 2
Views: 3128

Re: Help with home position

Unfortunately we do not offer a mode like you describe.
by Basicmicro Support
Fri Mar 19, 2021 12:17 pm
Forum: General Discussion
Topic: Roboclaw 2x15a ReadSpeed failures
Replies: 0
Views: 2318

Re: Roboclaw 2x15a ReadSpeed failures

I believe I already answered you in an email but this is for everyone. Manually put your Roboclaw into bootloader mode. Power down. Hold the Mode button pressed, Power back up. Let go of the Mode button. The 3 LEDs should start to cycle. Motion Studio should now recognize the Roboclaw and let you up...
by Basicmicro Support
Fri Mar 19, 2021 12:11 pm
Forum: General Discussion
Topic: Motors getting hot while robot immobile
Replies: 3
Views: 3652

Re: Motors getting hot while robot immobile

If you are using position control than that is exactly the cause of the motors being hot. Position control holds the position. You can add larger deadzone so you can get to a position where it wont power the motor but that will only work when there is no external force.
by Basicmicro Support
Fri Mar 19, 2021 12:09 pm
Forum: General Discussion
Topic: Auto power off feature
Replies: 2
Views: 2823

Re: Auto power off feature

When not driving the motor the Roboclaw controller will draw around 30ma. There is no power off option. You must make sure you are not driving the motors to guarantee the low power state. You can do that by sending a duty command with 0 duty to each motor channel.
by Basicmicro Support
Fri Mar 19, 2021 12:04 pm
Forum: General Discussion
Topic: [security issue] No encoder -> maximal speed
Replies: 3
Views: 3131

Re: [security issue] No encoder -> maximal speed

Yes it will. That is the nature of the beast. There is no example in the python code. We highly recommend setting up PIDs in Motion Studio only. 1. You absolutely must use an acceleration value with any speed command if you enable speed error limits. Other wise you will have an instantaneous error e...
by Basicmicro Support
Wed Feb 24, 2021 11:52 am
Forum: General Discussion
Topic: Both roboclaws sudenly stop
Replies: 5
Views: 6412

Re: Both roboclaws sudenly stop

Roboclaw has a 10ms timeout on replies and retries is set to 3 times by default. There is no location in the Roboclaw library that would delay for as long as 1 second. That actually sounds like something someone would add to try debugging a problem.
by Basicmicro Support
Wed Feb 24, 2021 11:50 am
Forum: General Discussion
Topic: Broken current sensor?
Replies: 2
Views: 2672

Re: Broken current sensor?

It most likely is not. Current is measured through a shunt resistor and an A/D pin on the main processor. There is little to nothing that can break. You symptom indicates a false overcurrent at low duty cycles. This can be caused by too low a current blanking percentage. The default is 5.4% which ca...