Squirrels have fuzzy tails.
0 Members and 1 Guest are viewing this topic.
What may be happening is that you are trying to move the servos too far too quickly - hence the current requirement for the servos goes up. Your 'delay' probably reduces the current requirement and hence stops the reset.
As Hassan says you can use all of the 16 bit timers: ie 1,3,4 and 5.
I suggest you add an rprintf to send something from appInitSoftware to say that the Axon has re-started. Then physically unplug all of your servo and switch on. You will probably find that the Axon only prints the message once - ie it doesn't reset. If that's the case then its not a software problem - its still a problem with your power supply being unable to supply the required current.
Quote from: Webbot on May 03, 2010, 11:30:45 AMWhat may be happening is that you are trying to move the servos too far too quickly - hence the current requirement for the servos goes up. Your 'delay' probably reduces the current requirement and hence stops the reset.I am using it this way :act_setSpeed(&Leg1_servo_2,50)I am not sure here what the 50 is. Does it specify the speed and degrees of rotation? May you please suggest a value if 50 is not suitable.
Quote from: Webbot on May 03, 2010, 11:30:45 AMAs Hassan says you can use all of the 16 bit timers: ie 1,3,4 and 5.So, i can only use timers 1,3,4 and 5, right?
Quote from: Webbot on May 03, 2010, 11:30:45 AMI suggest you add an rprintf to send something from appInitSoftware to say that the Axon has re-started. Then physically unplug all of your servo and switch on. You will probably find that the Axon only prints the message once - ie it doesn't reset. If that's the case then its not a software problem - its still a problem with your power supply being unable to supply the required current.I have an rprintf command in appInitSoftware, it comes after the appInitHardware. When switching on the Axon, it resets before it reaches the rprintf command.
I told hasan999 a million times its very likely a power problem. I suspect the same here. First, measure the voltage while its resetting. If its a voltage issue, you'll see the voltage drop below ~5.3V. Even if it happens for a millisecond, the Axon will reset.Second, measure the current draw. You can also estimate the peak current draw by multiplying the number of analog servos that will be on at any time by 1A. So 18 servos is 18A. If its digital servos, multiple it by 2A for a peak estimate.Also, mAh has nothing to do with the current a battery can supply at a particular point in time. The battery datasheet will list a maximum current draw (probably 15A-20A), and the voltage drop at that current draw (probably half the voltage). Four batteries is a lot . . . I'm guessing 6V NiMH type? For high current apps, NiCads are actually better.
Unfortunately there is no datasheet for the batteries I have, but they are of NiMH type. Admin, you said that the maximum current draw lies b/w 15-20A and the voltage drop would be by half. But since the voltage is not dropping below 6V, does that mean its not drawing that much current ?
It's more than possible that Admin has enabled the blown out fuse which will reset the Axon with any voltage lower than 4.5V at the IC power line or Vpp
Personally the other thing I would do is change the Axon2 to the two battery configuration, plug in something like a simple 9v battery to the logic side and see if it still resets. That is normally how I run all of my larger robots, like hexapods and the like.