Search found 1594 matches
- Fri Oct 09, 2015 10:36 am
- Forum: Velocity and Position Control
- Topic: inconsistent encoder status registers reading in mixed mode
- Replies: 7
- Views: 10337
Re: inconsistent encoder status registers reading in mixed mode
Bit 1 indicates underflow(eg going from 0 to 0xFFFFFFFF Bit 2 of the status indicates the motor is going forward or reverse. bit 3 indicates overflow(eg going from 0xFFFFFFFF to 0) bit 8 use to be used for a failed quadrature decoder but is now always set to 1 for backwards compatibility. If one mot...
- Mon Oct 05, 2015 9:59 am
- Forum: General Discussion
- Topic: Erratic USB mode connection
- Replies: 0
- Views: 4926
Re: Erratic USB mode connection
Are you using your own code from scratch or are you using our Arduino library or Python library? In all cases you should enable acks so you can detect when a command is not properly received. When the checksum is not valid the Roboclaw will ignore the command. Without the acks you dont know it ignor...
- Mon Oct 05, 2015 9:50 am
- Forum: General Discussion
- Topic: USB connection questions
- Replies: 1
- Views: 4913
Re: USB connection questions
When USB is automatically detected it sets an internal flag to use USB packet serial mode. However it does not change the blink count(eg if mode 7 was set you will get 7 blinks). Also, as of the latest firmware which will be released this week, USB is automatically detected at all times(no longer re...
- Mon Oct 05, 2015 9:36 am
- Forum: General Discussion
- Topic: switch off regeneration
- Replies: 1
- Views: 5009
Re: switch off regeneration
Regeneration cant be switched off. It is inherent to driving motors. The regeneration has to go some where. Either an external voltage clamp/power shunt(which pill burn off the extra power as heat) needs to be added or you can set the min and max voltages on the Roboclaw to just above and just below...
- Mon Oct 05, 2015 9:24 am
- Forum: General Discussion
- Topic: PacketSerial problem with FW.ver.4.1.10
- Replies: 14
- Views: 18193
Re: PacketSerial problem with FW.ver.4.1.10
Just posting an update. Roboclaw has error handling systems in packetserial. One of them is a timeout if a full packet isnt received quickly enough(eg no more than 10ms delays between bytes received for a single packet). This is so if a bad packet is received or bad bytes get in to the buffer(eg a f...
- Mon Oct 05, 2015 9:13 am
- Forum: Velocity and Position Control
- Topic: Trouble with position mode
- Replies: 2
- Views: 5422
Re: Trouble with position mode
Yes. I noticed that as well. I've changed the sliders to use those commands in immediate mode instead of buffered. That will be in the new release.
- Mon Oct 05, 2015 9:12 am
- Forum: Velocity and Position Control
- Topic: Command to read both encoders at once?
- Replies: 16
- Views: 22996
Re: Command to read both encoders at once?
Its hasn't yet but Ill see if we can fit it in. The manual is being updated and we are finishing updates to all teh libraries and examples. Im current working on a java library and possibly a LabView driver as well. Im expecting the new release with manuals and updated libraries/examples to be done ...
- Mon Sep 21, 2015 12:35 pm
- Forum: General Discussion
- Topic: PacketSerial problem with FW.ver.4.1.10
- Replies: 14
- Views: 18193
Re: PacketSerial problem with FW.ver.4.1.10
Here is a test arduino program I used. Roboclaw was only connected to the arduino via S1 and S2 and there was no USB connection to the Roboclaw. Encoder values read out correctly. I also ran it at 38400 but 19200 seems to work best with software serial on an arduino. //Includes required to use Roboc...
- Mon Sep 21, 2015 11:31 am
- Forum: General Discussion
- Topic: [SOLVED] S4/S5 enable
- Replies: 20
- Views: 25617
Re: S4/S5 enable
Once homing is enabled it is done automatically on power up. The home signals must be falling edge signals. If the unit powers up with the signals low it assumes the unit has the home sensor triggered. It will then move the motor forward until the signal releases(goes high). Then it will move backwa...
- Mon Sep 21, 2015 11:27 am
- Forum: General Discussion
- Topic: Packet Serial Mode: Multiple Motor Controllers
- Replies: 14
- Views: 18416
Re: Packet Serial Mode: Multiple Motor Controllers
To use multiple Roboclaws on the same serial port of a PC/Micro controller etc... you must wire a diode in series with each S2 pin on a roboclaw. This is so you end up with opendrain outputs instead of push pull. Then connect the other sides of the diodes to a common bus wire with a single pullup at...