Search found 12 matches
- Sun Oct 18, 2015 12:11 pm
- Forum: Velocity and Position Control
- Topic: PacketSerialEncoderPosition.ino
- Replies: 1
- Views: 4828
PacketSerialEncoderPosition.ino
When I run this example Arduino sketch, after modifying the pin numbers and serial speeds for my setup, all the robot does is try to hold the current position of motor 1. The motors never turn. This seems odd because PacketSerialEncoderSpeedAccelDistance.ino seems to work fine.
- Sun Oct 18, 2015 11:45 am
- Forum: General Discussion
- Topic: All Stop command
- Replies: 14
- Views: 16294
Re: All Stop command
yes, I am using to turn the motors. Using works to stop them without it trying to hold the position. Thank you.
Code: Select all
roboclaw.SpeedM1
Code: Select all
roboclaw.DutyM1(address,0)
- Thu Oct 15, 2015 1:51 pm
- Forum: General Discussion
- Topic: All Stop command
- Replies: 14
- Views: 16294
All Stop command
RobotClaw is still using as much as an amp to keep my motors at zero speed when the bot is just sitting still. I need a command to shut the motor control completely off after the bot has stopped so I don’t kill my battery life. I notice the All Stop button in the IonMotion software does this. You sl...
- Thu Oct 15, 2015 1:31 pm
- Forum: General Discussion
- Topic: Ion Motion Software questions
- Replies: 1
- Views: 5714
Re: Ion Motion Software questions
it is relative to how many clicks/turn your encoders have.
- Mon Oct 12, 2015 11:04 am
- Forum: General Discussion
- Topic: always get zero for Status and Valid for encoder
- Replies: 4
- Views: 8197
Re: always get zero for Status and Valid for encoder
Working much better so far. I haven't completely regression tested but so far it is looking very good. Thanks!
- Fri Oct 09, 2015 1:39 pm
- Forum: General Discussion
- Topic: always get zero for Status and Valid for encoder
- Replies: 4
- Views: 8197
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 i...
- Wed Oct 07, 2015 7:20 pm
- Forum: General Discussion
- Topic: always get zero for Status and Valid for encoder
- Replies: 4
- Views: 8197
always get zero for Status and Valid for encoder
I always get zero for Status and Valid when I call for an encoder value on channel one using two-way serial with arduino. Channel two works fine with the same encoder hooked to it. I can see channel one increment and decrement the value for encoder one channel but Status and Valid are always zero wh...
- Tue Oct 06, 2015 1:48 pm
- Forum: General Discussion
- Topic: Serial communication with Arduino erratic behavior.
- Replies: 11
- Views: 17741
Re: Serial communication with Arduino erratic behavior.
Since the hardware UART library works so much better than the software serial library, i think you should support the hardware library - in other words you should have a link to it and you should clean up the one that I linked to.
- Wed Sep 09, 2015 12:12 pm
- Forum: General Discussion
- Topic: Serial communication with Arduino erratic behavior.
- Replies: 11
- Views: 17741
Re: Serial communication with Arduino erratic behavior.
If you are using our arduino libraries and you specify the hardware serial pins when initializing the class the library should use the hardware serial arduino library to talk to the serial port automatically. I used the hardware serial pins and it didn't work for me. Had to use that hardware librar...
- Tue Sep 08, 2015 2:23 pm
- Forum: General Discussion
- Topic: Serial communication with Arduino erratic behavior.
- Replies: 11
- Views: 17741
Re: Serial communication with Arduino erratic behavior.
I couldn't get the software serial to work well either. So I switched to a library that uses hardware serial and it works:
http://forums.basicmicro.co.uk/topic997 ... 048518b33f
http://forums.basicmicro.co.uk/topic997 ... 048518b33f