Hi Nathan,
Acidtech wrote:
You should not have to send a reset. Status 1 going off in packet mode would inidicate that serial data(good or bad, doesn't matter) is being sent to the RoboClaw. Status 2 whould indicate the motors are active. When you reset the RoboClaw do you reset the BasicAtomPro? What is your setup exactly(which module/devboard) and are you using software serial or hardware serial to talk to the RoboClaw? Are you powering the BasicAtomPro from the RoboClaw or seperately. What Mian voltage are you running?
Status 1 going off then is like a SSC-32. No problem.
I have a 5A Roboclaw (new) connected to a BasicAtomPro BB2 connected via pins 10 & 11 (software). Logic power currently supplied in common from good wall wart. I pressed the reset button on the RoboClaw to reset. Mian voltage? Logic power is 9V from a uP wall wart. I've also had them run separately, with the RoboClaw internally powered. Took me a while to realize the RoboClaw wasn't getting reset.
Acidtech wrote:
If using software serial the initial state of the I/Os could be in a break condition which would cause the RoboClaw to constantly see incoming data.
Acidtech wrote:
I recommend that when you power up you immediately put the serial pins in the correct state(if using software serial). Then wait about 1 second. It takes about that long for the roboclaw to boot. Then you should be able to send commands immediately.
I can add that. Interesting that Kurt didn't encounter the problem, but I think he is probably running the 10A or 25A. I can get a 25A later for another project, and see if there are any differences. I'm assuming the code for all three is very close.
Acidtech wrote:
Worse case you can wire the Reset fromt he RoboClaw to the module to allow software control of the RoboClaw reset. Thats one of the reasons we put the reset header on the board. The other was to allow a remotely wired reset button.
I figured that. I can do that; if I must.
Acidtech wrote:
The Datasheet says this: "Status LED 1 = On continuous, blink on serial receive." I guess we'll have to update that to say it goes low when receiving data. So for example, if you are polling the buffer status in a loop with no delays, Status 1 would always be off.
It's fine however it works, just not what I read, thought I'd mention.
Thanks!
Alan KM6VV