Beginners: please read this post and this post before posting to the forum.
0 Members and 2 Guests are viewing this topic.
Are you using the software or hardware servo controller?
Do pins B5, B6, and B7 still work for other tasks?
What other tasks were you asking the Axon II to do in your code?
What other hardware do you have hooked up to the Axon II?
QuoteWhat other tasks were you asking the Axon II to do in your code?At the time the weirdness occurred, it was not doing anything. It was sitting idle with all servos centered while I was doing something else. When in use, you can tell it to move the arm or neck and neck up or down a little at a time or all the way at once. You can also send commands to the MP3 Trigger.
QuoteDo pins B5, B6, and B7 still work for other tasks?As far as I can tell, no. The only other thing I have to plug in is a spare servo. When I do that, the strange noise is replicated.
So the Axon II was programmed and commanding the servos to stay centered, right?
So no interrupts were set or anything that could possibly have caused a pin attached to the servo to hold a high voltage, right?
For example, applying a constant 5V to the servo signal line could cause the servo to 'freak out' as you described.
So if you use those pins again, you get the screeching servos and frozen code problem again?
Or do the servos in those pins just don't work any more?
Using those problem pins, does the problem only occur when the servos are attached, or does it still have the problem without servos attached?
And when you use the new pins, you keep the rest of the code exactly the same?
Program those pins as basic digital I/O, and just have them pulse off/on. With a multi-meter, see if those pins still work.
Which Hitec servos are you using?
QuoteUsing those problem pins, does the problem only occur when the servos are attached, or does it still have the problem without servos attached?The buzzing noise is coming from inside the servo. I put my ear up to the servo and I hear the noise. When I unplug the servo, the noise stops.
QuoteProgram those pins as basic digital I/O, and just have them pulse off/on. With a multi-meter, see if those pins still work.Yikes! How do I do that? Remember, I'm a newbie. I know a few things, but don't assume too much.
What I meant was, does the code still freeze when the servos aren't plugged in?
Also, measure the pin voltages without the servos plugged in.
The pins are returning 8.8v and the regulated section returns 6.6v.
Now the strange part is, how the heck is 8.8V coming out of your pins when regulated is only 6.6V?!
Looking at your image, its hard to be sure, but there appears to be a coiled red and black wire connecting the bottom power bus (unregulated) directly to the top power bus (regulated). If so, then this would definitely be the cause of your problem!
you say the Axon can handle 8V, there is no reason why that should not work...right?
The Axon unregulated bus can handle up to 16V, but the ATmega640 and regulated line can't. If more than 5V is applied to the regulated line, you can potentially permanently damage your Axon.
Again, please do the ohm test first
You should find another battery to test your multimeter and make sure it isn't broken.
Also, your servos are rated for no higher than 6V. I've used similar servos to 7V without a problem many times . . . but once you reach 8V or more, who knows what will happen - maybe even fry a signal pin or something. . .
I plugged the battery by itself into the Axon. The unregulated pins return 6.5v. The regulated pins return 4.9v.