Search found 1272 matches

by Basicmicro Support
Tue Oct 27, 2015 10:38 am
Forum: General Discussion
Topic: [SOLVED] S4/S5 enable
Replies: 22
Views: 14301

Re: S4/S5 enable

The home function runs before the main loop. The USB autodetect runs in the main loop so no USB until the home has completed. Ill look at S3. Its mode is set before the home functions execute. S3 should trigger(if set as an E-STOP). But I dont think I ever tested using an E-STOP while the auto homin...
by Basicmicro Support
Tue Oct 27, 2015 10:31 am
Forum: General Discussion
Topic: Reading current with Roboclaw
Replies: 10
Views: 6593

Re: Reading current with Roboclaw

Current readings are 16bit values not 8. So you are only seeing the low 8 bits. The 16bit value is in 10ma increments so to get amps you divide the returned value by 100. The readings in amps are fairly accurate but we include the noisy milliamp data so users can filter the data however they want if...
by Basicmicro Support
Tue Oct 27, 2015 10:28 am
Forum: General Discussion
Topic: Minimum Logic Battery Voltage
Replies: 22
Views: 15386

Re: Minimum Logic Battery Voltage

No. 5.5v is minimum logic power because the 5v bec requires atleast that much to produce the 5v rail. However if you supply regulated 5v to the 5v rail and disconnect the Logic battery jumper that should bypass the 5v BEC on the roboclaw. But that 5v you supply must be regulated.
by Basicmicro Support
Tue Oct 27, 2015 10:25 am
Forum: General Discussion
Topic: Packet Serial Mode: Multiple Motor Controllers
Replies: 14
Views: 10219

Re: Packet Serial Mode: Multiple Motor Controllers

Correct, if you enable the multi-unit mode you wont need the diodes anymore because the TX pins on the Roboclaws will only drive low or float. You will still need the single pullup on the controlling microprocessors RX pin(eg: the arduino).
by Basicmicro Support
Tue Oct 27, 2015 10:23 am
Forum: Velocity and Position Control
Topic: Commands 38,39,40 wont return Ack flag but work ok
Replies: 5
Views: 4366

Re: Commands 38,39,40 wont return Ack flag but work ok

Show me what you are doing in a little more detail. If you are usign the ISpeed(eg the raw speed) commands then you can get a lot of 0 velocities so you have to filter that data yourself(thats the purpose of the raw speed comands so you can filter it however you like). Once you filter it(a simple av...
by Basicmicro Support
Mon Oct 19, 2015 8:52 am
Forum: General Discussion
Topic: new firmware issues - 4.1.13
Replies: 6
Views: 4753

Re: new firmware issues - 4.1.13

Good to hear it is working properly now. Your procedure for updating the firmware is basically how it use to have to be done always. We added the autobooload command but if that fails using your method is the best fallback method. It should always leave you with a clean USB connection and it will al...
by Basicmicro Support
Mon Oct 19, 2015 8:45 am
Forum: General Discussion
Topic: [SOLVED] CRC16 - Visual Basic
Replies: 9
Views: 8666

Re: CRC16 - Visual Basic - SOLVED

Thanks for the VB code. Im planning on writing an example using VB.NET and the roboclaw.dll sometime soon. Just dont know when yet.
by Basicmicro Support
Mon Oct 19, 2015 8:44 am
Forum: General Discussion
Topic: Mixed Mode commands 10, 11 and 13
Replies: 4
Views: 3601

Re: Mixed Mode commands 10, 11 and 13

You can send any mixed drive commands only when you are using the mixed commands. You can use the mixedforward, mixedbackward or mixedforwardbackward commands. Then you must use either turnleft,turnright or rightleft commands. After sending the second command the motors will start moving. Once you h...
by Basicmicro Support
Mon Oct 19, 2015 8:38 am
Forum: Velocity and Position Control
Topic: PacketSerialEncoderPosition.ino
Replies: 1
Views: 2581

Re: PacketSerialEncoderPosition.ino

You need to set the min and max position ranges at the same time you set the PID constants using IonMotion. Then save the settings to the Roboclaws flash(Save Settings in Device menu). If you do not then there range is 0 and 0 which means the motor will not move. The Position commands have soft posi...
by Basicmicro Support
Sat Oct 17, 2015 12:10 pm
Forum: General Discussion
Topic: Calculating Distance
Replies: 0
Views: 4783

Calculating Distance

This a post to describe how to calculate the distance of a movement for the SpeedAccelDistance commands. The simple distance formula is d = V*V/2a. This assumes starting or ending with a velocity of 0. First you need to calculate the distance needed to accelerate to you speed and then to deccelerate...