Search found 1594 matches
- Wed Oct 14, 2015 4:29 pm
- 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
Your original question didnt say you only go inconsistent direction bits. It said "sometimes I get different status values for example 0x80 and 0x82" which implies you got other different values than 0x80 and 0x82. I was waiting for you to tell me what other values(whether it was garbage o...
- Tue Oct 13, 2015 6:08 pm
- Forum: Velocity and Position Control
- Topic: Commands 38,39,40 wont return Ack flag but work ok
- Replies: 5
- Views: 8208
Re: Commands 38,39,40 wont return Ack flag but work ok
1. This looks like VB. If so is it actually VB.Net? If so you can use our C# library which already handles all the communications for you. If you can use VB.Net I'll try to work up an example using the roboclaw.dll in VB.Net 2. Upgrade to the latest firmware using IonMotion. ACK is no longer optiona...
- Tue Oct 13, 2015 3:35 pm
- Forum: General Discussion
- Topic: Using 3.3V Microcontroller
- Replies: 1
- Views: 4564
Re: Using 3.3V Microcontroller
Roboclaw is 5v tolerant. Internally it is 3.3v so its outputs are 3.3v. Inputs from the outside world are clipped to 3.3v. Signals at 3.3v or less are unaffected. Roboclaw considers any input over 2v to be a high signal so I doubt you will have any problems with the Teensy. Roboclaw has specifically...
- Tue Oct 13, 2015 3:31 pm
- Forum: General Discussion
- Topic: [SOLVED] CRC16 - Visual Basic
- Replies: 8
- Views: 22803
Re: Major Update Available
I moved your question to a seperate topic. I forgot to lock the announcement from replies. Thing 1. The CRC16 is the standard CRC16 using polynomial 0x1021. You can calculate the CRC16 of any string of bytes using this online calculator. http://depa.usst.edu.cn/chenjq/www2/software/crc/CRC_Javascrip...
- Tue Oct 13, 2015 3:18 pm
- 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
If you read my reply you will see I didnt say you DID wire them backwards. I said if you get 80 on one and 82 on the other when both motors were going the same direction then the encoders wires were backwards(relative to each other). Encoder wires can be reversed and the encoders still work so that ...
- Sun Oct 11, 2015 5:38 pm
- Forum: General Discussion
- Topic: always get zero for Status and Valid for encoder
- Replies: 4
- Views: 8183
Re: always get zero for Status and Valid for encoder
We just updated everything(Sunday 10/11/2015), IonMotion, Roboclaw firmware and Arduino libraries so you should update your files. I recommend you grab the new arduino files, update your firmware using IonMotion and check this example again to see if you still have any trouble. We use Arduino 1.0.5 ...
- Fri Oct 09, 2015 11:00 am
- Forum: General Discussion
- Topic: always get zero for Status and Valid for encoder
- Replies: 4
- Views: 8183
Re: always get zero for Status and Valid for encoder
Please provide your code. Also what do you mean by valid(I assume bit 8, 0x80, of the status byte). If so that bit is always set on xmega based Roboclaws. On older(much much much older) Roboclaws we had separate quadrature decoders so we had to know if the decoder was working correctly or not. It is...
- Fri Oct 09, 2015 10:56 am
- Forum: General Discussion
- Topic: Getting roboclaw out of bootstrap mode
- Replies: 3
- Views: 10567
Re: Getting roboclaw out of bootstrap mode
You must update the firmware using IonMotion. This requires a win7 or newer OS as well. Currently firmware updates are not supported through any other software. Open IonMotion. The first screen shows the Firmware update button. Check that the model shows a value. If it shows "Not Connected"...
- Fri Oct 09, 2015 10:53 am
- Forum: General Discussion
- Topic: Serial communication with Arduino erratic behavior.
- Replies: 11
- Views: 17733
Re: Serial communication with Arduino erratic behavior.
If you use the hardware serial pins for the receivepin and transmitpin in the Roboclaw constructor, then our library will use the arduino hardware serial classes(Serial, Serial1, Serial2,Serial3 or Serial4) depending on the pins used(eg Roboclaw(15,14,10000) for Serial3). The pins must be the specif...
- Fri Oct 09, 2015 10:44 am
- Forum: Velocity and Position Control
- Topic: Commands 38,39,40 wont return Ack flag but work ok
- Replies: 5
- Views: 8208
Re: Commands 38,39,40 wont return Ack flag but work ok
All write only commands should ack if you set the high bit of the checksum byte. Can you provide the code you are using to call those commands? It sounds like you are writing your own routines from scratch and not using one of libraries so I'll need you code to try to repoduce this. Note that all th...