Search found 1537 matches

by Basicmicro Support
Thu Feb 18, 2021 11:14 am
Forum: General Discussion
Topic: Both roboclaws sudenly stop
Replies: 5
Views: 3488

Re: Both roboclaws sudenly stop

We don't have a specific linux implementation in C/C++ mainly because there is no standard serial port class(python has pyserial atleast). However I usually recommend to people to use the arduino C++ implementation. The arduino library was written so the only arduino specific dependency was the seri...
by Basicmicro Support
Thu Feb 18, 2021 11:02 am
Forum: General Discussion
Topic: [python2] Roboclaw instance has no attribute '_port'
Replies: 3
Views: 2748

Re: [python2] Roboclaw instance has no attribute '_port'

Thank you for posting this. We have had multiple Jetson users in the past that had issues and never had a resolution. This will help immensely.
by Basicmicro Support
Thu Feb 18, 2021 11:01 am
Forum: General Discussion
Topic: Can I read output voltage to motor?
Replies: 1
Views: 788

Re: Can I read output voltage to motor?

If you are using velocity control you have no control over the PWM. The Velocity PID does. The PWM setting is only valid(IIRC) if you are controlling the duty directly.
by Basicmicro Support
Thu Feb 18, 2021 10:59 am
Forum: General Discussion
Topic: Component confirmation
Replies: 3
Views: 1004

Re: Component confirmation

309ohms is a reasonable calculation. You can go lower of course. Even limiting the pre-charge time to 1/10th of second will limit the surge current enough to prevent a significant ground bounce. That ground bounce is what causes negative spikes on power up which can kill electronics. We are very con...
by Basicmicro Support
Thu Feb 18, 2021 10:56 am
Forum: Velocity and Position Control
Topic: Roboclaw - encoder readings are inconsistent based on direction of movement
Replies: 1
Views: 754

Re: Roboclaw - encoder readings are inconsistent based on direction of movement

Most linear actuators use linear pots as encoders. If that is the case I would say there is something wrong with your wiring possibly or the linear pot is bad. Sanity check the measurements with a oscope. If it is using quadrature encoders then the signals are most likely bad. Some quadrature encode...
by Basicmicro Support
Thu Feb 18, 2021 10:52 am
Forum: Velocity and Position Control
Topic: Using 3 roboclaw, packet serial, USB
Replies: 30
Views: 12178

Re: Using 3 roboclaw, packet serial, USB

The motor current and the battery current are related by the current duty percentage. Motion Studio(if you are still using Ion Studio, update please) is reading the motor current. If the motor is pulling 5amps and the duty us 50% then the battery is sourcing 2.5amps. When the Roboclaw sees current g...
by Basicmicro Support
Thu Feb 18, 2021 10:47 am
Forum: General Discussion
Topic: terrible spikes with PWM mode
Replies: 3
Views: 1820

Re: terrible spikes with PWM mode

They look like that because you have too much inductance in your ground lead. To get a clean look at inductive spikes you need to use the ground loop at the tip of the probe and keep the physical distance between the measurement points close together. The ground lead on most probes are fine for slow...
by Basicmicro Support
Thu Feb 11, 2021 3:23 pm
Forum: General Discussion
Topic: broken the third MCP236 after few turns
Replies: 3
Views: 1228

Re: broken the third MCP236 after few turns

The only way you can be damaging the current sense circuit is if you are producing a large negative voltage. That shouldn't be possible EITHER. Since there are clamping diodes on the motor channel lines. So only a negative spike on your power supply could cause the damage you are describing has happ...
by Basicmicro Support
Thu Feb 11, 2021 3:16 pm
Forum: General Discussion
Topic: Feature Request: Studio app for Linux
Replies: 5
Views: 4073

Re: Feature Request: Studio app for Linux

I understand the desire, but this isn't likely to happen and I dont want to give false hopes.
by Basicmicro Support
Tue Jan 19, 2021 10:21 am
Forum: General Discussion
Topic: Using Current Sensing for Roller Shutter Endstop
Replies: 1
Views: 859

Re: Using Current Sensing for Roller Shutter Endstop

With a microcontroller(like an arduino) you could potetnially setup somethign like that. You would need to run slowly when doing this "homing" from current readings to be safe. As for using a limit switch, you misunderstand it a little. It will move for UP TO 3 seconds(before timing out) to get out ...