Phoenix code my MG90 hexapod

Well my 12A adjustable voltage regulator was not functioning. So I connected the pololu 9A 6v regulator back on and started the bot up.

What it does is I hit start the legs come down but when they try to propel the body upwards it Browns out.

If I pick it up and start it on its pedestal where the legs are free it works fine. It’s only when it had to support it self does it glitch.

I looked up the servos specs and see that they have a running current of .5 to .9 amps. With a stall current of 2.5A

I don’t know anything about stall current but running current would be .9 X 18 = 16.2A.

I think I might be able to use a single 9A 6v pololu voltage regulator and 7.4v battery for each servo bank and switch from powering every thing on one battery and power the boards and the PS2 Reciever using a 9v as instructed in the turtorial.

I think I’ll try running the boards with a 9v battery and use my 9A 6v for the servos and see what happens before buying another regulator.

Ok well I admit it I am just too hard headed. Ok so did some re-wiring and made the boards powered by the 9v battery then powered the servos using 9A regulator. I thought it was pumping 6v but after checking my previous purchases I see that the one I bought was a 5v regulator.

Which might explain why the servos are kind of slow. It should be jumpy but it’s not as jumpy as I see on you tube. I also have it set to high speed when I use it.

Any way except for the quickness of the servos every thing finally seems to be working. I think I might have bad servo too.

I actually broke out the level tonight for the femurs then saw where I was supposed to off set the tibia servos 15* which makes it look real good when it’s walking.

Think I might go ahead and buy another adjustable so I can give it the 6v it needs and the extra amperage won’t hurt if I get a working 12A regulator.

Ok I was looking at the battery packs on the Lynxmotion site. Am I to understand a Ni-Mh battery pack would solve my power issues? I’m not seeing any kind of regulators but I don’t see how that would work over a lipo but I’m willing to try if you say that will work in place of my lipo and regulator

The hexapods we offer tend to use the 6V, 2800mAh NiMh battery for the servos, and a separate 9V battery for the logic voltage.
robotshop.com/en/6v-2800mah- … =RB-Sta-08

What does 105mm represent in the code section #define cHexInitXZ 105?